When I want to install anything in Ubuntu Software Center I get this message :

software center error

| improve this question | | | | |
  • What happens when you try clicking the Repair button? – Christopher Kyle Horton Oct 7 '11 at 16:59
  • When I click on repair and enter the password, the process starts and stops. Software Center is up again but the problem remains the same. – Aleksandar Anđelković Oct 7 '11 at 18:46
  • sudo update >>> /etc/sudoers.d/sudoers: too many levels of includes near line 25 <<< sudo: parse error in /etc/sudoers.d/sudoers near line 25 sudo: no valid sudoers sources found, quitting – Aleksandar Anđelković Oct 7 '11 at 18:47
  • sorry, forgot apt-get, try this sudo apt-get update – jet Oct 7 '11 at 18:58
  • Sorry. What is the name for copy service messages? – Aleksandar Anđelković Oct 7 '11 at 19:26


sudo apt-get update

to update your package list. Then

sudo apt-get autoclean

to clean up any partial packages. Then

sudo apt-get clean

to clean up the apt cache.

sudo apt-get autoremove

will clean up any unneeded dependencies. If while doing this you can identify the broken package this code will very forcefully remove it.

sudo dpkg --remove -force --force-remove-reinstreq package name

Change package name to the real name of course.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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