Não é possível atualizar o kernel (ou qualquer coisa), o dpkg retorna o erro 1

0

executando uma nova instalação, acabou de ser atualizada e eu acertei esses erros.

A execução do apt-get upgrade diz que o kernel possui dependências não atendidas, sugere apt-get -f install, rodando que retorna o erro dpkg 1. Tentei pesquisar tudo, não consigo encontrar a solução.

A execução do dpkg --configure -a retorna os mesmos erros de dependência do kernel.

Usando o Ubuntu Gnome 16.04.03 LTS.

user@user:~$ sudo apt-get upgrade
[sudo] password for user: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-image-extra-4.13.0-32-generic : Depends: linux-image-4.13.0-32-generic but it is not installed
 linux-image-generic-hwe-16.04 : Depends: linux-image-4.13.0-32-generic but it is not installed
E: Unmet dependencies. Try using -f.
user@user:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-image-4.13.0-32-generic
Suggested packages:
  fdutils linux-tools
The following NEW packages will be installed:
  linux-image-4.13.0-32-generic
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
3 not fully installed or removed.
Need to get 0 B/20.8 MB of archives.
After this operation, 72.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] ys
(Reading database ... 191549 files and directories currently installed.)
Preparing to unpack .../linux-image-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb ...
Done.
Unpacking linux-image-4.13.0-32-generic (4.13.0-32.35~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb (--unpack):
 unable to sync file '/boot/vmlinuz-4.13.0-32-generic.dpkg-new': Input/output error
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.13.0-32-generic /boot/vmlinuz-4.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.13.0-32-generic /boot/vmlinuz-4.13.0-32-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@user:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-image-generic-hwe-16.04:
 linux-image-generic-hwe-16.04 depends on linux-image-4.13.0-32-generic; however:
  Package linux-image-4.13.0-32-generic is not installed.
 linux-image-generic-hwe-16.04 depends on linux-image-extra-4.13.0-32-generic; however:
  Package linux-image-extra-4.13.0-32-generic is not configured yet.

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

dpkg: error processing package linux-generic-hwe-16.04 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-generic-hwe-16.04
 linux-generic-hwe-16.04
user@user:~$ 

    
por Steven 08.02.2018 / 19:57

0 respostas