10.04 package manager needs repair

Asked by Dick

When "repair" selected - get PACKAGE operation failed

TRying to fix broken packages resulted in :
E: /var/cache/apt/archives/linux-image-2.6.38-12-generic_2.6.38-12.51_i386.deb: corrupted filesystem tarfile - corrupted package archive

from package manager.

I cannot do any package management until this is fixed.

Thanks........

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

To solve that problem you have just to delete the broken package, it will then be re-downloaded for the next update.

open a terminal (ctrl-alt-t) and issue the following command:

sudo rm /var/cache/apt/archives/linux-image-2.6.38-12-generic_2.6.38-12.51_i386.deb

Please enter your password when asked so, but note that you will not get any feedback for the password (no echo, not even '*' placeholders).

Then try to do an update again and tell what's happening.

Revision history for this message
Dick (oldcoot999) said :
#2

Worked GREAT!!!!

Thanks for your help.

Package manager ran some updates so it is working again.