19

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.

Hee Jin
  • 886
kovivox
  • 310

5 Answers5

16

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!

Eric Carvalho
  • 55,453
Jayden
  • 161
15

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.

L. D. James
  • 25,444
1

I had to go into file manager as root

sudo -H 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!

Zanna
  • 72,312
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.

Emyr
  • 1
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.