linux-image-3.13.0-44-generic 和 linux-image-extra-3.13.0-44-generic 的问题

linux-image-3.13.0-44-generic 和 linux-image-extra-3.13.0-44-generic 的问题

我一直在使用Ubuntu 服务器已经有几个月了。
运行后我得到了以下输出sudo apt-get -f upgrade

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED
  linux-image-extra-3.13.0-44-generic
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
2 not fully installed or removed.
After this operation, 152 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 447185 files and directories currently installed.)
Removing linux-image-extra-3.13.0-44-generic (3.13.0-44.73) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-44-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-44-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.13.0-44-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-3.13.0-44-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

我尝试了所有我能找到的看似相关的 Google 搜索结果,包括sudo apt-get removesudo apt-get autoremove,但都无济于事。

答案1

在 @g_p 和 @muru 的帮助下,这个问题得到了解决,他们指出了磁盘空间不足的问题。特别是 @muru 的关联帮助很大。不过要小心,不要像我一样,最后删除了对电脑运行真正重要的文件(比如网络)。:)

相关内容