Cannot Run Update Manager or Package Manager

Asked by Phil Scrivano

Whenever I try to run update manager I get an error message.

E: initramfs -tools: subprocess installed post-installation script returned error exit status 1

How do I fix this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Phil Scrivano
Solved:
Last query:
Last reply:

This question was originally filed as bug #484265.

Revision history for this message
Pedro Villavicencio (pedro) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
Thomas Krüger (thkrueger) said :
#2

Your hard disk is full. Try to delete some files you don't need anymore, run "sudo apt-get clean" or the computer janitor.
If the error persists post the output of the command "df"!

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Open a Terminal from the menu Applications → Accessories → Terminal and type:

lsb_release -r

Then please copy and paste output here...

Thank you

Revision history for this message
Phil Scrivano (philscrivano) said :
#4

Release: 9.10

I checked the drive spaces:

File Resources 4.0 GB Free
System Resources 75 MB

I still get this error after running the previous commands:

gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.31-14-generic
dpkg: subprocess installed post-installation script returned error exit status 1

Not sure what you mean by "If the error persists post the output of the command "df"!"

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

To get more space try...

# Download and install bleachbit recente per ubuntu 9.10

Open a Terminal from the menu Applications → Accessories → Terminal and type or better copy a row a time then press enter:

wget http://garr.dl.sourceforge.net/project/bleachbit/bleachbit/0.7.1/bleachbit_0.7.1-1_all_ubuntu910.deb

sudo dpkg -i bleachbit_0.7.1-1_all_ubuntu910.deb

rm bleachbit_0.7.1-1_all_ubuntu910.deb

sudo bleachbit -d system.localizations system.trash system.rotated_logs flash.cache flash.cookies

then run

bleachbit -d system.trash flash.cache flash.cookies

Then please copy and paste here the result of this terminal command:

dpkg -l | egrep ^ii | grep -i linux-image

Thank you

Revision history for this message
Phil Scrivano (philscrivano) said :
#6

sudo dpkg -i bleachbit_0.7.1-1_all_ubuntu910.deb

Returns this error:

dpkg: dependency problems prevent configuration of bleachbit:
 bleachbit depends on menu; however:
  Package menu is not installed.
dpkg: error processing bleachbit (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Errors were encountered while processing:
 bleachbit

dpkg -l | egrep ^ii | grep -i linux-image

ii linux-image-2.6.31-14-generic 2.6.31-14.48 Linux kernel image for version 2.6.31 on x86
ii linux-image-generic 2.6.31.14.27 Generic Linux kernel image

Update Manager is now working.

Thanks