还没弄懂这是怎么回事,先记录一下。
apt下载软件的时候发现不灵了:
# apt-get install gdb
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
按它说的办:
# dpkg --configure -a
Setting up initramfs-tools (0.92) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.24-1-686
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-1-686
dpkg: subprocess post-installation script returned error exit status 1
boot分区的空间不够了,我只好删除了initrd.img-2.6.24-1-686,然后apt-get可以正常下载软件,然后把删除的initrd重新作出来:
# mkinitramfs -o initrd.img-2.6.24-1-686
阅读(7042) | 评论(0) | 转发(0) |