Recently my Ubuntu Software Center could not be opened(it opens showing nothing and exit automatically). I therefore ran the command sudo apt-get remove software-center
to remove the Ubuntu Software Center. then I use sudo apt-get install software-center
to reinstall it.
Now I have two Ubuntu software Centers; one is called "Ubuntu Software"(default broken one), another is called "Ubuntu Software Center"(the current working one).
The problem I have is that whenever I want to download something not in the Software Center, if I open the .deb file, the broken one opens it, and closes very quickly. Basically I can't download anything outside the Ubuntu Software Center for that reason.
My current Ubuntu version is Ubuntu 16.04LTS
.
Best Answer
In 16.04,
Ubuntu Software Center
(ubuntu-software-center
) was replaced bySoftware Install
(gnome-software
, or simply "Software" in Dash).Most likely you had some left overs after upgrading from
14.04
to16.04
. Subsequently, you reinstalled the oldUbuntu Software Center
, while the newergnome-software
was also installed.What to do
Since we do not know for sure what exactly happened and why, do the following:
Run the command
Look into both
~/.local/share/applications
and/usr/share/applications
if you find any left-over.desktop
files, namedubuntu-software-center.desktop
, remove them if so.Run
After that, log out and back in to make sure, and
gnome-software
("Software" in Dash) should be the only one.