17

After plain installation of Ubuntu 16.04 LTS gnome-software doesn't work. It has opened once with GUI, but installation of Unity Tweak Tool didn't finish.

When starting again, GUI doesn't come up. When opening from terminal, a warning appears, but the application GUI doesn't open.

$ gnome-software
(gnome-software:7052): Gs-WARNING: failed to open plugin /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so: /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so: cannot open shared object file: No such file or directory

Does anybody have same experience, and eventually, a solution?


According to the recommendation:

$ dpkg-query -S /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so
gnome-software: /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so

Proposed reinstall of gnome-software did not help.


As workaround, use Synaptic Package manager and command line.

  • What's the output of dpkg-query -S /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so? It should show one or more packages to which this file belongs; hopefully it's gnome-softwarecenter or something like that. Can you please reinstall that package with sudo apt-get install -f --reinstall <PACKAGE_NAME> and tell me if that helps? Include any error messages in your question that you encounter in the process. – David Foerster Apr 24 '16 at 11:19
  • i have the same problem as you do; and it manifests itelf also the way described in this question: askubuntu.com/questions/761487/… – hiro protagonist Apr 24 '16 at 12:18
  • The output as described is: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> xxxxx:~$ dpkg-query -S /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> gnome-software: /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so – kovivox Apr 24 '16 at 13:29
  • There is a workaround by using Synaptic Package Manager and command line. Nevertheless, the software center is not working. – kovivox Apr 25 '16 at 4:25
  • Software Center is still not working: getting this from terminal now!: (gnome-software:2915): Gs-WARNING **: failed to open plugin /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so: /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so: cannot open shared object file: No such file or directory. – Ken Mollerup May 27 '16 at 6:29
14

Seen this fix going around, it worked for me:

sudo apt-get autoremove gnome-software
sudo apt-get install gnome-software

It appears if you just reinstall gnome-software it just works!

  • right - good solution ! – cl-r Nov 16 '16 at 17:44
14

Perform these steps to Fix gnome-software/ubuntu-software

Rename or remove the ~/.local/share/gnome-software. In the steps below it's removed and will be recreated when you start gnome-software. It currently has a list of what has been installed. The first line will ensure the locked up instances are removed from memory. Might not be necessary.

$ killall gnome-software
$ rm -r ~/.local/share/gnome-software

Now run ubuntu-software or gnome-software from the Unity Launch Button.

  • This >> :thumbs-up: – Robin Hood Mar 2 '17 at 8:04
  • 1
    After many installs and attempts, only your solution works, thanks!!! :) – rafrsr Oct 3 '17 at 19:02
1

I had to go into file manager as root

$ sudo nautilus

Then move all the files from usr/lib/gs-plugins-9 to a temp folder and delete ...reviews.so

I then opened gnome-software and it loaded empty.

Moved all the .so files back and opened successfully to install new software again finally!

  • gksu nautilus is better command since it is not recommend that you handle GUI applications with sudo – Egrimo May 11 '17 at 19:31
0

I too got this error. I did

$ ps -aux | grep gnome-software 

and found that there was already a process running. (I believe this may be because I had tried to invoke it from the launcher and it had failed, but that much is a hunch.)

I killed the process. I then ran gnome-software again in the terminal and got:

(gnome-software:6912): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered

(This may be the real reason it had failed but left a process running.)

I then did:

$ sudo apt update
$ apt-get install -f --reinstall gnome-software

The icon on the launcher now works and brings up the new software centre.

  • I'm sorry but your reinstall do not work anymore ! Getting this again: (gnome-software:2915): Gs-WARNING **: failed to open plugin /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so: /usr/lib/gs-plugins-9/libgs_plugin_xdg_app_reviews.so: cannot open shared object file: No such file or directory – Ken Mollerup May 27 '16 at 6:25
  • @Professor-Quatschny says: After having tried every trick, including removing and re-installing gnome software and software center I still cannot open gnome center, getting the same warning about the /usr/lib plugin. I have the english version of ubuntu 16.04, installed over ubuntu 15.10.My husband did the same with the german version - his gnome software is working perfectly despite the fact that he gets in the terminal when entering gnome-software the identical warning about /usr/lib plugin. – MadMike May 31 '16 at 10:59
0

the installation of lubuntu software center (over synaptic or with terminal and sudo apt install lubuntu-software-center worked for me - at least I have now one working software center.

  • Welcome to AskUbuntu! Glad this worked for you. In this case, the OP is aware there are workarounds, but they are specifically looking for a fix for gnome-software. – user508889 Jun 14 '16 at 12:55

protected by Community Jul 7 '17 at 8:25

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.