PDA

View Full Version : [ubuntu] Failed Update - Cannot Get into Package Manager



scott29
January 10th, 2009, 05:20 PM
I tried to install the latest security updates and something has failed. Now, I cannot even get into the Synaptic Package Manager. I get this error:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

When I run the command it also aborts:

dpkg: ../../src/packages.c:221: process_queue: Assertion 'dependtry <=4' failed.
Aborted

I am quite a newbie so I have no idea how to fix this. Any thoughts?

scott29
January 10th, 2009, 05:22 PM
FYI, most of the security updates installed. The only one left is for samba. Version 2:3.2.3-1ubuntu3.4

I am not sure if that helps but I thought I would add that.

cdtech
January 10th, 2009, 05:26 PM
Try running this command and let me know:

sudo dpkg --configure -a && sudo apt-get -f install

scott29
January 10th, 2009, 05:29 PM
Got the same error message.

cdtech
January 10th, 2009, 05:33 PM
Try cleaning the cache:

sudo apt-get autoclean && sudo apt-get autoremove

scott29
January 10th, 2009, 05:41 PM
Clearing the cache seemed to have worked. I can get into Package Manager and the system is saying it is up to date.

Thank You!!!

cdtech
January 10th, 2009, 05:47 PM
Your welcome. Good luck...........

scott29
January 10th, 2009, 09:04 PM
Well unfortunately the problem seems to be deeper. I tried to install a new package and it errored out. I am again getting a similar message. I tried to flush the cache or whatever, and not sure that worked. I am attaching a log file.

Anybody have any ideas?

Thanks!
Scott29