Atualização de Problemas - linux-image-extra-4.4.0-72-generic

2

Alguma idéia de como corrigir isso?

Eu tentei usar autoclean, rebooting e manuallt excluindo linux-image-extra-4.4.0-72-generic de / boot e nada ajuda.

sudo aptitude upgrade -f

The following partially installed packages will be configured:
  initramfs-tools linux-image-extra-4.4.0-72-generic linux-image-extra-4.4.0-78-generic linux-signed-generic 
  linux-signed-image-generic 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-extra-4.4.0-72-generic (4.4.0-72.93) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-72-generic /boot/vmlinuz-4.4.0-72-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-72-generic /boot/vmlinuz-4.4.0-72-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-72-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-72-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.4.0-72-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up linux-image-extra-4.4.0-78-generic (4.4.0-78.99) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-78-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-78-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.4.0-78-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-signed-image-generic:
 linux-signed-image-generic depends on linux-image-extra-4.4.0-78-generic; however:
  Package linux-image-extra-4.4.0-78-generic is not configured yet.

dpkg: error processing package linux-signed-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of linux-signed-generic:
 linux-signed-generic depends on linux-signed-image-generic (= 4.4.0.78.84); however:
  Package linux-signed-image-generic is not configured yet.

dpkg: error processing package linux-signed-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-78-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-78-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 linux-image-extra-4.4.0-72-generic
 linux-image-extra-4.4.0-78-generic
 linux-signed-image-generic
 linux-signed-generic
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
Setting up linux-image-extra-4.4.0-72-generic (4.4.0-72.93) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-72-generic /boot/vmlinuz-4.4.0-72-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-72-generic /boot/vmlinuz-4.4.0-72-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-72-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

gzip: stdout: No space left on device
cpio: write error: Broken pipe
find: ‘standard output’: Broken pipe
find: write error
E: mkinitramfs failure find 1 cpio 1 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-72-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.4.0-72-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-extra-4.4.0-78-generic (4.4.0-78.99) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-78-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

gzip: stdout: No space left on device
cpio: write error: Broken pipe
find: ‘standard output’: Broken pipe
find: write error
E: mkinitramfs failure find 1 cpio 1 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-78-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.4.0-78-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-signed-image-generic:
 linux-signed-image-generic depends on linux-image-extra-4.4.0-78-generic; however:
  Package linux-image-extra-4.4.0-78-generic is not configured yet.

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

dpkg: error processing package linux-signed-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-78-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

gzip: stdout: No space left on device
cpio: write error: Broken pipe
find: ‘standard output’: Broken pipe
find: write error
E: mkinitramfs failure find 1 cpio 1 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-78-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-4.4.0-72-generic
 linux-image-extra-4.4.0-78-generic
 linux-signed-image-generic
 linux-signed-generic
 initramfs-tools
    
por Robert Polson 06.06.2017 / 04:19

1 resposta

1

A menos que sua partição / boot seja incrivelmente pequena, ela deve ser capaz de lidar com mais de duas versões do kernel. Eu vejo um erro "não há espaço disponível no dispositivo", mas não tenho certeza se isso está relacionado a uma atualização do kernel ou outra coisa. Se / boot estiver cheio, procure por algum arquivo realmente grande que obviamente não pertença a ele e mova-o para um local temporário, como em seu diretório / home.

Se por "manualmente excluído" 4.4.0.72 ou partes dele você quer dizer que você fez um "rm" em arquivos individuais, você pode ter problemas. Assumindo que você não fez isso. veja qual versão do kernel você está executando atualmente. Se não for mais recente que 4.4.0.72, reinicialize. Não está claro (pelo menos para mim) se a sua atualização para o 4.4.0.78 foi bem sucedida.

uname -a

Livrar-se da versão mais antiga do kernel

sudo apt-get purge linux-image-4.4.0.72-generic

sudo apt autoremove - purgar

O acima funcionará na maioria dos casos. Como você excluiu manualmente uma parte do kernel 4.4.0.72, você receberá reclamações toda vez que tentar fazer uma atualização. Você precisa se tornar feliz novamente. Experimente estes comandos:

sudo dpkg -P linux-image-4.4.0-72-genérico

Isso informa ao sistema para excluir o pacote. Isso provavelmente resultará em uma reclamação sobre dependências quebradas. Nesse caso, você deve adicionar o (s) pacote (s) que ele reivindica como sendo dependentes do kernel antigo que você tentou remover. No seu caso, isso seria dependências como

sudo dpkg -P linux-imagem-extra-4.0.0-72-genérico

E assim por diante.

Novamente, certifique-se de fazer um uname -a e verifique qual versão do kernel você está executando atualmente antes de deletar qualquer coisa!

    
por jones0610 06.06.2017 / 04:46