PDA

View Full Version : [ubuntu] Aptitude update problem



anfreita09
September 1st, 2010, 08:56 PM
Hello,

I'm currently experiencing a problem when trying to upgrade my system through aptitude (apt-get *). I can install programs, but whenever it tries do anything with the kernel I get this error:

E: linux-image-2.6.32-24-generic: subprocess installed post-installation script returned error exit status 2

This started about a month ago when I was trying to install some upgrade (with apt) which stalled and I unknowingly shut down the comp while it was running.

I appreciate any help anyone has to offer.

Thanks,
Andrew

arrange
September 1st, 2010, 09:23 PM
Just to make sure - it means you're not running on that kernel (2.6.32-24)
uname -ris that right?

andrewthomas
September 1st, 2010, 10:45 PM
I would try and reinstall initramfs-tools and initramfs-tools-bin

anfreita09
September 3rd, 2010, 08:59 PM
I am running the kernel (2.6.32-24-generic).
How would I go about reinstalling initramfs-tools