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.

Every time I attempt to use the Ubuntu Software Center, I get an error message that says "Items cannot be installed or removed until the package catalog is repaired". When I try to repair, it then says "The installation or removal of a package failed".

Under details, it says:

installArchives() failed: dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.2.0.38.46); however:
  Version of linux-image-generic on system is 3.2.0.58.69.
 linux-generic depends on linux-headers-generic (= 3.2.0.38.46); however:
  Version of linux-headers-generic on system is 3.2.0.58.69.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 linux-generic
Error in function: 
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.2.0.38.46); however:
  Version of linux-image-generic on system is 3.2.0.58.69.
 linux-generic depends on linux-headers-generic (= 3.2.0.38.46); however:
  Version of linux-headers-generic on system is 3.2.0.58.69.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured

Thanks for any help that can be provided.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You will need a terminal to solve the situation, the Software Center isn't able to handle this kind of problems. To do this use:

sudo dpkg -r linux-generic linux-image-generic
sudo apt-get install linux-generic

That should solve the problem.

share|improve this answer
    
Thanks for your help –  user1816875 Jan 10 at 0:07

First do the following:

sudo apt-get update

sudo apt-get -f upgrade

Then:

sudo apt-get autoremove

PS: As you are not an enterprise I would recommend you to update to the latest version 13.10. Hope it helped

share|improve this answer
    
If dpkg fails, apt-get can't do any better. –  Braiam Jan 12 at 12:50

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.