Erros de upgrade distinto no disco cheio, re-run não mostra nada para fazer

1

Eu corri o apt-get update, o apt-get upgrade, depois o apt-get dist-ipgrade, o dist-upgrade termina com alguns erros:

Setting up linux-image-extra-3.13.0-139-generic (3.13.0-139.188) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-139-generic                                                 /boot/vmlinuz-3.13.0-139-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-139-generic /                                                boot/vmlinuz-3.13.0-139-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-139-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-139-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-139-generic (--configure                                                ):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-extra-3.13.0-139-generic; however:
  Package linux-image-extra-3.13.0-139-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-3.13.0-139 (3.13.0-139.188) ...
Setting up linux-headers-3.13.0-139-generic (3.13.0-139.188) ...
Setting up linux-headers-generic (3.13.0.139.148) ...
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.13.0.139.148); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-extra-3.13.0-139-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu limpei / boot e imaginei que uma nova execução do apt-get dist-upgrade seria executada e concluída. Desta vez, parece que o dist-upgrade acha que não há nada a fazer:

sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Agora estou me perguntando em que estado o sistema está. Parece que há um kernel parcialmente instalado e o dist-update não pode dizer que não está completo.

    
por thammer 10.01.2018 / 15:43

0 respostas