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.

For more than a week, I have had a problem installing updates for my Ubuntu Server. From what I can see, it seems to think that there is a storage issue, but there is more than 100 gigs left on the hard drive. I will put one of the error messages I have received down below.

I apologize if I didn't do things quite right, this if my first time posting here. I am also quite new to Ubuntu, so I am still learning.

installArchives() failed: (Reading database ... 
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 574059 files and directories currently installed.)
Preparing to replace liblcms2-2 2.2+git20110628-2ubuntu3.1 (using .../liblcms2-2_2.4-0ubuntu3.1~precise1~ppa1_i386.deb) ...
Unpacking replacement liblcms2-2 ...
Setting up initramfs-tools (0.99ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Setting up liblcms2-2 (2.4-0ubuntu3.1~precise1~ppa1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-45-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.5.0-45-generic with 1.
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
No apport report written because MaxReports is reached already
ldconfig deferred processing now taking place
Errors were encountered while processing:
 initramfs-tools
Error in function: 
Setting up initramfs-tools (0.99ubuntu13.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-45-generic

gzip: stdout: No space left on device
cpio: write error: Broken pipe
E: mkinitramfs failure cpio 1 gzip 1
update-initramfs: failed for /boot/initrd.img-3.5.0-45-generic with 1.
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
share|improve this question
    
Two possibilities: (a) mkinitramfs is writing to a separate partition (/boot, /tmp) that doesn't have much space left. (b) the filesystem is out of inodes. Run df -i to check. –  Mark Plotnick Jan 25 at 20:28
    
Thank you for your suggestions, I think that (a) is quite likely, considering that I get the following message upon logging into a terminal. –  user239819 Jan 26 at 22:10
    
The results of (b) are as follows: 'code' Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/MinecraftServer-root 7184384 598736 6585648 9% / udev 216302 503 215799 1% /dev tmpfs 220426 432 219994 1% /run none 220426 6 220420 1% /run/lock none 220426 7 220419 1% /run/shm /dev/sda1 124496 271 124225 1% /boot 'code' –  user239819 Jan 26 at 22:16
    
Sorry, I am not familiar with how these forums work, so I keep accidentally pressing enter. The following may suggest that (a) is a problem: 'code' System information as of Sun Jan 26 14:07:47 PST 2014 System load: 1.29 Processes: 152 Usage of /: 6.3% of 107.86GB Users logged in: 1 Memory usage: 42% IP address for eth0: 192.168.1.68 Swap usage: 26% => /boot is using 96.0% of 227MB => There is 1 zombie process. 'code' What would you suggest for fixing this issue? @Mark Plotnick –  user239819 Jan 26 at 22:20
    
Ok, your /boot is almost out of space. This is a frequently encountered problem, and there are some good answers here about how to safely delete the old kernels and initfs's to make room. –  Mark Plotnick Jan 27 at 7:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.