Falha ao instalar a atualização de segurança do Ubuntu "O sistema de pacotes está quebrado

0

Ao executar uma atualização de segurança para o Ubuntu 16.04 LTS, recebi a mensagem de erro acima. Executando o apt-get install -f retorna o seguinte:

josh@josh-HP-Pavilion-dv4-Notebook-PC:~$ sudo apt-get install -f
[sudo] password for josh: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  endless-sky-data gir1.2-rb-3.0 gir1.2-secret-1
  libdmapsharing-3.0-2 librhythmbox-core9
  libsdl2-2.0-0 libsndio6.1 linux-headers-4.4.0-21
  linux-headers-4.4.0-21-generic
  linux-headers-4.4.0-36
  linux-headers-4.4.0-36-generic
  linux-headers-4.4.0-38
  linux-headers-4.4.0-38-generic
  linux-image-4.4.0-21-generic
  linux-image-4.4.0-36-generic
  linux-image-4.4.0-38-generic
  linux-image-extra-4.4.0-21-generic
  linux-image-extra-4.4.0-36-generic
  linux-image-extra-4.4.0-38-generic python3-mako
   rhythmbox-data ubuntu-core-launcher
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-headers-4.4.0-72-generic linux-headers-generic
The following NEW packages will be installed:
  linux-headers-4.4.0-72-generic
The following packages will be upgraded:
  linux-headers-generic
1 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
4 not fully installed or removed.
Need to get 786 kB of archives.
After this operation, 7,366 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64     linux-headers-4.4.0-72-generic amd64 4.4.0-72.93
  Temporary failure resolving 'us.archive.ubuntu.com'
Ign:2 http://security.ubuntu.com/ubuntu xenial-security/main amd64     linux-headers-generic amd64 4.4.0.72.78
Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64     linux-headers-4.4.0-72-generic amd64 4.4.0-72.93
   Temporary failure resolving 'us.archive.ubuntu.com'
Err:2 http://security.ubuntu.com/ubuntu xenial-security/main amd64     linux-headers-generic amd64 4.4.0.72.78
   Temporary failure resolving 'us.archive.ubuntu.com'
E: Failed to fetch      http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-4.4.0-     72-generic_4.4.0-72.93_amd64.deb  Temporary failure resolving      'us.archive.ubuntu.com'

 E: Failed to fetch      http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-headers-     generic_4.4.0.72.78_amd64.deb  Temporary failure resolving 'us.archive.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with     --fix-missing?
    
por Joshua Sager 01.08.2017 / 20:18

1 resposta

0

Tente entrar:

sudo apt update

no terminal para atualizar a lista de pacotes. Você também pode tentar:

sudo apt --fix-broken install

para consertar pacotes quebrados; Agora tente atualizar o seu sistema e ele deve funcionar.

    
por Krish 01.08.2017 / 20:44