0

I've been having a few issues with Ubuntu Software Center and need to do a complete reinstall of it. I tried "sudo apt-get purge software-center" but that said it would remove the Ubuntu desktp. So how can I completely remove it (config files and everything) then reinstall it?

Thanks!

Mixx
  • 673

2 Answers2

0

ubuntu-desktop is a meta-package. Removing it will not actually make your desktop inoperable.

Your method is correct, though I use explicit flags when I remove:

sudo apt-get remove --purge software-center

This will remove config files as well as the package. To install it again:

sudo apt-get install software-center

You could also add ubuntu-desktop to that command after the software-center package, if you want to be sure you are still tracking it.

0

To remove a package without the dependencies use dpkg

sudo dpkg -P <package> --force-depends

Then you can re-install it with apt-get

Panther
  • 104,528