ubuntu上安装软件时,出现错误gzip: stdout: No space left on device
参考文章:http://askubuntu.com/questions/38083/initramfs-problem-when-out-of-disk-space
问题描述:
I just upgraded from 10.10 to 11.04. During the upgrade process, it said there was a problem setting up initramfs-tools and I needed to do sudo dpkg --configure -a So once I got 11.04 started for the first time, I did that. This is the output.
After searching around, it seemed like this was a problem of insufficient space in my /boot partition. It is only 100 MB and this has never been a problem before, but despite deleting all but the latest kernel I still get the same message. |
解决方案:
100MB is sufficient for 2 kernels and a init ramdisk. You can view your current installed kernels by executing:
Example output:
After confirming that the latest kernel works, you can remove the previous ones. In this case, there is only one redundant kernel:
If this process does not complete because of previous installation triggers, try adding |