Gnome “settings” not working on Fedora 34 - fedora

Since I upgraded to Fedora 34, I noticed I’m not been able to open Gnome settings.
Right-clicking on wallpaper and selecting “Settings”, “Display Settings” or “Change background” have no effect either. The mouse pointer changes to a loading alike icon and returns to arrow icon after a while.
I searched web looking for this error, but i wasn’t able to find a solution. Thinking it may be some kind of conflict, I ran:
sudo su
dnf clean all
dnf -y distro-sync
dnf remove --duplicates
dnf update
This removed duplicated packages and updated them, but had no effect on the problem.

I managed to resolve it this way: I tryed to run gnome-control-center and got the following error message.
gnome-control-center: error while loading shared libraries: /lib64/libwebpdemux.so.2: file too short
Since this error usually indicates a broken .so file, I reinstalled the thing it belongs to, in this case that's libwebp.
sudo dnf reinstall libwebp
That resolved the problem.

Related

Installation of Transcriber (http://trans.sourceforge.net/en/install.php)

I am going around with no success in installing Transcriber in Ubuntu. Way very difficult :s
I follow all the steps the link above, but no way of passing this part of installing first the tcltk - ./configure --enable-gcc --enable-shared --prefix=/usr/local
make
It doesn't work and gives a bunch of errors. SO I decided to search and do as here, to install tcltk - Install TCL/TK without root
So I tried the code but it didn't work again, starting here sudo ./configure --prefix=/opt/tcltk
It was saying I had no permissions in opt so I found a way to create a tcltk folder, fine, but when I put the sudo it comes:
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
Seeconfig.log' for more details.
`
I am tired of this guys, if you could please help me to install this I would be very thankful. I understand not that much of ubuntu. Thank you!
You can't compile without a compiler (and linker). They're usually not very happy about being installed in user directories.
sudo apt install build-essential
Alternatively, if you're just wanting to run Tcl code without installing, you can use KitCreator to get your own single-file executable. (Yes, that site will build one for you While-U-Wait. The guy who wrote it isn't big on fancy CSS, even more so than me, but he does make good technology deployments.) There are other options too, but they're either older or less easy to use without being able to install compilers and so on.

apt-get install broken and need to undo install

Accidentally installed something, which broke during the install, which is good since I got the wrong package.
Unfortunately it's broken apt-get like others have experienced. I've seen plenty of ways to continue the broken install, but in my case I want to not continue the install and just remove the offending install.
Any suggestions?
Seems you can achieve this with the command
$ apt-get remove --fix-broken <<PACKAGENAME>>
Where <<PACKAGENAME>> was the package that caused the breakage. The key here was to remove, while all the solutions to continue with the install had install.
The above picked up that I was half-way through an install, and so removing it (with this flag) removed it like a charm. If you don't have the flag, it won't identify it as being installed, which is what stumped me previously.

lzma_stream_encoder_mt_memusage missing from dpkg-deb

Recently, after an interrupted dist-upgrade, I've been experiencing some issues with dpkg-deb.
Most frequently, I get one specific issue:
dpkg-deb: relocation error: dpkg-deb: symbol lzma_stream_encoder_mt_memusage, version XZ_5.2 not defined in file liblzma.so.5 with link time reference
The message is very clear, but it's not clear to me how this should be fixed.
I've tried reinstalling liblzma5 from the default 17.10 PPAs, with no dice.
I've also tried to apt install --reinstall dpkg, also to no effect.
I've tried installing liblzma5 from source and updating my $LDPATH to reflect the new build's path, but I'm not sure which flags to use to export the missing symbol; a plain ./configure && make && make install doesn't seem to.
How can I fix this issue?
I was able to fix this by copying the file /lib/x86_64-linux-gnu/liblzma.so.5.2.2
from a machine already upgraded to bionic.

Resolving Homebrew warnings without causing adverse effects

I am having issues installing mysql with Homebrew and have ran brew doctor to try and get to the bottom of it.
The advice given is always to resolve the warnings/errors presented by Homebrew, however I do not want to cause adverse side-effects on my system by doing so.
As I understand it, the node errors are likely caused by installing Node manually and not with Homebrew. I'm not sure what the git unlinked keg is about.
What is the safest way to resolve these errors?
CRMPiccos-MacBook:~ crmpicco$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/node/node_internals.h
/usr/local/include/node/smalloc.h
/usr/local/include/node/v8stdint.h
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
git
As I understand it, the node errors are likely caused by installing Node manually and not with Homebrew.
I don’t know where these files come from but if you’re afraid of removing them you could just move them somewhere then move them back if they’re needed.
I'm not sure what the git unlinked keg is about.
git is installed but not symlinked into standard locations like /usr/local/bin and friends. Programs that depend on that specific git installation thus can’t find it. You should either run brew link git or brew rm git if you don’t have any formula that depend on it.

yum install wireshark-gnome fails with failed to set locale, defaulting to C

Please note - this is a new problem and doesn't have an answer within stackoverflow. I have checked it thoroughly. Also in google. so please do not negate this question.
I tried doing a yum install wireshark-gnome on Fedora 13. (Please do not advise on using latest fedora etc., It is not in my control )
It fails with "failed to set locale, defaulting to C"
I understand that the locale settings are wrong. Tried to reinstall glibc-common by doing "yum re-install glibc-common". Even that fails with the same error "failed to set locale, defaulting to C".
For some users, it has worked but for me even a yum re-install of glibc-common gives me the same error. please let me know if you have any ideas.
I have tried localedef command in fedora and still no use.
ok. i think i found the issue. First the /etc/resolv.conf did not have the right gateway IP. so was not able to connect to the internet.
Secondly, i had the contents in /etc/yum.repos.d moved. so yum install works now. Although the locale problem still present.