我正在尝试升级内核:
(synaptic:22238): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
Väljer tidigare ej valt paket linux-image-3.13.0-30-lowlatency.
(Läser databasen ... 331247 filer och kataloger installerade.)
Preparing to unpack .../linux-image-3.13.0-30-lowlatency_3.13.0-30.54_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-30-lowlatency (3.13.0-30.54) ...
Ställer in linux-image-3.13.0-30-lowlatency (3.13.0-30.54) ...
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-30-lowlatency /boot/vmlinuz-3.13.0-30-lowlatency
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-30-lowlatency /boot/vmlinuz-3.13.0-30-lowlatency
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-30-lowlatency/boot/vmlinuz-3.13.0-30-lowlatency
update-initramfs: Generating /boot/initrd.img-3.13.0-30-lowlatency
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-30-lowlatency 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-30-lowlatency.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-30-lowlatency (--configure):
underprocessen installerade post-installation-skript gav felkod 2
Fel uppstod vid hantering:
linux-image-3.13.0-30-lowlatency
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ett paket misslyckades att installeras. Försöker återhämta:
Ställer in linux-image-3.13.0-30-lowlatency (3.13.0-30.54) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-30-lowlatency
vmlinuz(/boot/vmlinuz-3.13.0-30-lowlatency) points to /boot/vmlinuz-3.13.0-30-lowlatency
(/boot/vmlinuz-3.13.0-30-lowlatency) -- doing nothing at /var/lib/dpkg/info/linux-image-3.13.0-30-lowlatency.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-30-lowlatency /boot/vmlinuz-3.13.0-30-lowlatency
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-30-lowlatency /boot/vmlinuz-3.13.0-30-lowlatency
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-30-lowlatency /boot/vmlinuz-3.13.0-30-lowlatency
update-initramfs: Generating /boot/initrd.img-3.13.0-30-lowlatency
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-30-lowlatency 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-30-lowlatency.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-30-lowlatency (--configure):
underprocessen installerade post-installation-skript gav felkod 2
Fel uppstod vid hantering:
linux-image-3.13.0-30-lowlatency
df 的输出:
/dev/sda6 62862260 10919472 48742840 19% /
none 4 0 4 0% /sys/fs/cgroup
udev 4050264 4 4050260 1% /dev
tmpfs 812972 1544 811428 1% /run
none 5120 0 5120 0% /run/lock
none 4064860 0 4064860 0% /run/shm
none 102400 16 102384 1% /run/user
/dev/sda5 115891 80626 29070 74% /boot
/dev/sda7 824152568 142718332 639562980 19% /home
3.13.0-24 和 3.13.0-27 之间的内核大小是否增加了很多?我在尝试安装自动升级时遇到了麻烦。我安装了两个内核:
- Linux-image-3.13.0.24-通用
- Linux-映像-3.13-0-24-低延迟
答案1
设备上没有剩余空间。看来 /boot 分区没有更多空间来安装内核。尝试删除任何旧的 linux 映像。1. 定义您正在使用的内核。在控制台中输入 uname -r
,以免错误地删除此内核。并使用 synaptic 删除 kernel 和 .. 部分中的旧内核