Okay so i recently had some problems with ubuntu software centre where if i opened it from the dashboard it would open up, but only display a white screen. Nothing happened, so if i then clicked the 'x', it would ask me if i would like to force close the non responding software centre.

To find a solution i opened the software centre via a terminal and it seemed to work fine

But i needed it working normally and after lots of attempts i couldn't figure it out so decided to just un-install and reinstall it.

Uninstall is fine but now it's about reinstalling When i type into terminal

sudo apt-get install software-center

I get this back;

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'software-center' has no installation candidate

any ideas? Thanks :)

Ubuntu 12.04

Best Answer

You need to type

sudo apt install gnome-software

to install software center.