Não consigo atualizar, atualizar e remover meu aplicativo do kubuntu

4

Eu tenho um problema ao atualizar o software. Não consigo atualizar, atualizar nem remover meu software.

A notificação do gerenciador de atualização assina 46 pacotes de segurança e 83 outros pacotes e quando eu clico nele para instalá-los, outra janela aparece e está escrita:

  

Nem todos os pacotes podem ser marcados para atualização. As atualizações disponíveis   pode exigir que novos pacotes sejam instalados ou removidos. Você quer   marcar atualizações que possam exigir a instalação ou remoção de   pacotes adicionais?

E eu tenho duas possibilidades:

  

Marcar atualizações ou não

Independentemente da minha resposta, recebo duas janelas de erro:

O primeiro é:

 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/c/coreutils/coreutils_8.13-3ubuntu3.1_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80]
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst1.4_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apparmor/apparmor_2.7.102-0ubuntu3.4_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/a/apparmor/apparmor_2.7.102-0ubuntu3.4_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2_2.7.8.dfsg-5.1ubuntu4.2_i386.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2_2.7.8.dfsg-5.1ubuntu4.2_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.28-0ubuntu0.12.04.2_all.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.28-0ubuntu0.12.04.2_i386.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff4_3.9.5-2ubuntu1.3_i386.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff4_3.9.5-2ubuntu1.3_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server_5.5.28-0ubuntu0.12.04.2_all.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client_5.5.28-0ubuntu0.12.04.2_all.deb 404 Not Found 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-transport-https_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-core-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server-core-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/bind9-host_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/dnsutils_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libisc83_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libdns81_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libisccc80_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apport/python-problem-report_2.0.1-0ubuntu15_all.deb 404 Not Found [IP: 193.206.140.37 80]
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apport/python-apport_2.0.1-0ubuntu15_all.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libisccfg82_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/liblwres80_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apport/apport_2.0.1-0ubuntu15_all.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apport/apport-kde_2.0.1-0ubuntu15_all.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/p/postgresql-9.1/libpq5_9.1.6-0ubuntu12.04.1_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libbind9-80_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-globalmenu_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-locale-en_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/multiverse/f/flashplugin-nonfree/flashplugin-installer_11.2.202.251ubuntu0.12.04.1_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2-utils_2.7.8.dfsg-5.1ubuntu4.2_amd64.deb 404 Not Found
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-generic_3.2.0.33.36_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-image-generic_3.2.0.33.36_amd64.deb 404 Not Found 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-headers-generic_3.2.0.33.36_amd64.deb 404 Not Found [IP: 193.206.140.37 80]
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-headers-generic_3.2.0.33.36_amd64.deb 404 Not Found 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/t/thunderbird/thunderbird-globalmenu_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/aptdaemon/aptdaemon_0.43+bzr805-0ubuntu6_all.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/aptdaemon/python-aptdaemon_0.43+bzr805-0ubuntu6_all.deb 404 Not Found [IP: 193.206.140.37 80] 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/t/thunderbird/thunderbird-globalmenu_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 
 Failed to download http://security.ubuntu.com/ubuntu/pool/main/t/thunderbird/thunderbird_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 

Quando clico em Ok, aparece outro:

  

Os seguintes erros ocorreram ao aplicar as alterações: Pacote:   Detalhes do ubuntu-keyring Erro: subprocesso instalado após a instalação   script retornou status de saída de erro 127

O segundo é:

Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/c/coreutils/coreutils_8.13-3ubuntu3.1_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst1.4_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apparmor/apparmor_2.7.102-0ubuntu3.4_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/a/apparmor/apparmor_2.7.102-0ubuntu3.4_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2_2.7.8.dfsg-5.1ubuntu4.2_i386.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2_2.7.8.dfsg-5.1ubuntu4.2_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.28-0ubuntu0.12.04.2_all.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.28-0ubuntu0.12.04.2_i386.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff4_3.9.5-2ubuntu1.3_i386.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/t/tiff/libtiff4_3.9.5-2ubuntu1.3_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server_5.5.28-0ubuntu0.12.04.2_all.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client_5.5.28-0ubuntu0.12.04.2_all.deb 404 Not Found 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-transport-https_0.8.16~exp12ubuntu10.5_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-core-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-server-core-5.5_5.5.28-0ubuntu0.12.04.2_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/bind9-host_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/dnsutils_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libisc83_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libdns81_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libisccc80_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apport/python-problem-report_2.0.1-0ubuntu15_all.deb 404 Not Found [IP: 193.206.140.37 80] Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apport/python-apport_2.0.1-0ubuntu15_all.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libisccfg82_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/liblwres80_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apport/apport_2.0.1-0ubuntu15_all.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/apport/apport-kde_2.0.1-0ubuntu15_all.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/p/postgresql-9.1/libpq5_9.1.6-0ubuntu12.04.1_amd64.deb 404 Not Found [IP: 193.206.140.37 80]
Failed to download http://security.ubuntu.com/ubuntu/pool/main/b/bind9/libbind9-80_9.8.1.dfsg.P1-4ubuntu0.4_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-globalmenu_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-locale-en_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/multiverse/f/flashplugin-nonfree/flashplugin-installer_11.2.202.251ubuntu0.12.04.1_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2-utils_2.7.8.dfsg-5.1ubuntu4.2_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-generic_3.2.0.33.36_amd64.deb 404 Not Found 
Failed to download http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-image-generic_3.2.0.33.36_amd64.deb 404 Not Found 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-headers-generic_3.2.0.33.36_amd64.deb 404 Not Found [IP: 193.206.140.37 80]
Failed to download http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-headers-generic_3.2.0.33.36_amd64.deb 404 Not Found 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/t/thunderbird/thunderbird-globalmenu_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/aptdaemon/aptdaemon_0.43+bzr805-0ubuntu6_all.deb 404 Not Found [IP: 193.206.140.37 80] 
Failed to download http://it.archive.ubuntu.com/ubuntu/pool/main/a/aptdaemon/python-aptdaemon_0.43+bzr805-0ubuntu6_all.deb 404 Not Found [IP: 193.206.140.37 80]
Failed to download http://security.ubuntu.com/ubuntu/pool/main/t/thunderbird/thunderbird-globalmenu_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found
Failed to download http://security.ubuntu.com/ubuntu/pool/main/t/thunderbird/thunderbird_16.0.2+build1-0ubuntu0.12.04.1_amd64.deb 404 Not Found 

Eu tentei executar:

  

sudo apt-get update

e depois

  

sudo apt-get upgrade   ou   sudo apt-get dist-upgrade

mas

Quando executo sudo apt-get update , esse é o resultado: link

Quando faço "sudo apt-get dist-upgrade": link

Como posso resolver o problema?

Editar:

Lendo os erros que eu pensei que o problema pode ser ubuntu-keyring. Eu procurei no ask.ubuntu e encontrei este link: Problemas ao atualizar o sistema com o apt-get

e eu tentei:

:~$ sudo rm -r /var/lib/apt/lists/*
:~$ sudo apt-get update

Aqui está o resultado: link

e:

:~$ sudo apt-get upgrade

Aqui está o resultado: link

Edit2:

Eu olhei para o erro e imaginei que talvez a falha seja a libreadline. Perguntei algo sobre isso aqui: link

E no final eu removi o arquivo, atualizei os sistemas com sucesso, mas quando reiniciei o sistema, o arquivo removido ainda estava lá. Então o problema permanece.

Muito obrigado por me ajudar

    
por DarkCoffee 26.12.2012 / 08:11

1 resposta

7

Parece que o gerenciador de pacotes está tentando recuperar pacotes que não existem mais no servidor. Isso acontece quando as informações no seu sistema Ubuntu sobre quais pacotes estão disponíveis em quais versões estão desatualizadas.

Se você estiver atualizando com o Centro de Software ou o Gerenciador de Atualizações, isso não deve acontecer, pois eles devem recuperar automaticamente informações atualizadas sobre quais pacotes e versões estão disponíveis.

No entanto, se você estiver usando a linha de comando e estiver executando sudo apt-get upgrade , isso é totalmente esperado. Ao atualizar seu sistema ou instalar um novo software a partir da linha de comando, você deve executar sudo apt-get update first . Então, para atualizar, execute:

sudo apt-get update
sudo apt-get upgrade

(Para ter certeza de que você fez o upgrade, você pode então executar sudo apt-get dist-upgrade para capturar quaisquer atualizações que exijam que outros pacotes sejam instalados ou removidos. A menos que você tenha experiência em saber o que pacotes podem e não podem ser removidos com segurança, eu recomendo rodar esse após sudo apt-get upgrade .)

Para uma explicação mais detalhada de por que é importante executar sudo apt-get update e o que cada um dos comandos faz, dê uma olhada:

por Eliah Kagan 26.12.2012 / 10:58