更新时出现“gzip:stdout:设备上没有剩余空间”错误消息

更新时出现“gzip:stdout:设备上没有剩余空间”错误消息

我上次更新时显示以下警告:

Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

从此时起,最后一次更新显示错误:

Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libwnck-3-common (3.4.7-0ubuntu3.1) ...
Setting up libwnck-3-0:amd64 (3.4.7-0ubuntu3.1) ...
Setting up linux-image-3.13.0-52-generic (3.13.0-52.85) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-52-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-52-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-52-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-52-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up ppp (2.4.5-5.1ubuntu2.2) ...
Setting up dnsmasq-base (2.68-1ubuntu0.1) ...
Setting up gir1.2-wnck-3.0 (3.4.7-0ubuntu3.1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-52-generic:
 linux-image-extra-3.13.0-52-generic depends on linux-image-3.13.0-52-generic; however:
  Package linux-image-3.13.0-52-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-52-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.13.0-52-generic; however:
  Package linux-image-3.13.0-52-generic is not configured yet.
 linux-image-generic depends on linux-image-extra-3.13.0-52-generic; however:
  Package linux-image-extra-3.13.0-52-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-3.13.0-52 (3.13.0-52.85) ...
Setting up linux-headers-3.13.0-52-generic (3.13.0-52.85) ...
Setting up linux-headers-generic (3.13.0.52.59) ...
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.13.0.52.59); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
 dependency problems - leaving unconfigured
Setting up linux-libc-dev:amd64 (3.13.0-52.85) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Errors were encountered while processing:
 linux-image-3.13.0-52-generic
 linux-image-extra-3.13.0-52-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

结果df -h

Filesystem                  Size  Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 291G   16G 261G   6%  / 
none                        4,0K     0 4,0K   0%  /sys/fs/cgroup 
udev                        1,4G  4,0K 1,4G   1%  /dev 
tmpfs                       288M  1,2M 287M   1%  /run 
none                        5,0M     0 5,0M   0%  /run/lock 
none                        1,5G  272K 1,5G   1%  /run/shm 
none                        100M   48K 100M   1%  /run/user 
/dev/sda1                   236M  208M  16M  94%  /boot 
/home/mama/.Private         291G   16G 261G   6%  /home/mama

请问有什么帮助吗?

答案1

您的文件系统可能没有 inode。使用“df -i”进行检查。如果根 (/) 文件系统上的 IUse% 为 100%,则情况就是这样。这可能是因为旧内核不会自动卸载。请参阅 如何自动删除旧内核版本? 或者 删除 Grub 中的旧内核条目

相关内容