Não é possível atualizar - o dispositivo raiz não existe

0

Durante o uso do apt-get para atualizar meu kernel de 3.10 para 4.2 em 14.04, a atualização parou após receber uma mensagem de erro. A mesma mensagem de erro é exibida ao executar:

$ sudo apt-get upgrade

Este é o erro:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
busybox-static
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.103ubuntu4.6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.6) ...
update-initramfs: Generating /boot/initrd.img-4.2.0-42-generic
Warning: root device  does not exist

Press Ctrl-C to abort build, or Enter to continue

Unsupported platform.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Edit: Eu ainda uso o meu sistema e ele inicializa normalmente. O problema parece estar com uma falha na atualização para o 4.2, e agora eu não posso executar o apt-get upgrade sem me dizer que o dispositivo raiz não existe

Editar: tentando remover pacotes:

$ sudo apt-get --purge autoremove
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

$ sudo dpkg --configure -a
Setting up initramfs-tools (0.103ubuntu4.6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.6) ...
update-initramfs: Generating /boot/initrd.img-4.2.0-41-generic
Warning: root device  does not exist

Em exibição:

 $ sudo update-initramfs -c -k 4.2.0-41-generic
update-initramfs: Generating /boot/initrd.img-4.2.0-41-generic
Warning: root device  does not exist
    
por boomboomdead 18.01.2017 / 15:26

0 respostas