Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

software center error

share|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

1 Answer 1

Try

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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