更新操作期间Linux内核配置出现问题

更新操作期间Linux内核配置出现问题

在更新操作过程中我收到以下错误:

(Reading database ... 713992 files and directories currently installed.)
Removing linux-image-extra-4.10.0-35-generic (4.10.0-35.39~16.04.1) ...
depmod: FATAL: could not load /boot/System.map-4.10.0-35-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-35-generic /boot/vmlinuz-4.10.0-35-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-35-generic
Warning: No support for locale: en_IN
depmod: WARNING: could not open /var/tmp/mkinitramfs_XGKldO/lib/modules/4.10.0-35-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/mkinitramfs_XGKldO/lib/modules/4.10.0-35-generic/modules.builtin: No such file or directory

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

我尝试清除导致问题的内核,但没有成功。我该如何解决这个问题?

答案1

主要问题是gzip: stdout: No space left on device。如果文件系统已满,并且无法提取包的某些部分,则可能会出现奇怪的错误。

清理您的系统以释放空间。

相关内容