Resolvido Erro na atualização do sistema.

Iniciado por gustavoolimpio, 20 de Fevereiro de 2013, 11:37

tópico anterior - próximo tópico

gustavoolimpio

Estou com o seguinte erro que aparece quando vou atualizar meu sistema:

Não foi possível inicializar as informações do pacote

Um problema impossível de se resolver ocorreu enquanto inicializava as informações do pacote.

Por favor relate este erro do pacote 'update-manager' e inclua a seguinte mensagem de erro:
E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_i18n_Translation-pt, E:As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos


Tentei fazer a atualização via terminal e

                                     
Lendo listas de pacotes... Erro!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_i18n_Translation-pt
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.
gustavo@gustavo-Infoway-w7430:~$ rm /var/lib/apt/lists*
rm: não foi possível remover "/var/lib/apt/lists": É um diretório
gustavo@gustavo-Infoway-w7430:~$ rm /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_i18n_Translation-pt
rm: remover arquivo comum "/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_i18n_Translation-pt" protegido contra escrita?
gustavo@gustavo-Infoway-w7430:~$ sudo apt-get update
Ign cdrom://ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal InRelease
Ign cdrom://ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/main Translation-pt_BR
Ign cdrom://ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/main Translation-pt
Ign cdrom://ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/main Translation-en
Ign cdrom://ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/restricted Translation-pt_BR
Ign cdrom://ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/restricted Translation-pt
Ign cdrom://ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2) quantal/restricted Translation-en
Ign http://security.ubuntu.com quantal-security InRelease                      
Ign http://extras.ubuntu.com quantal InRelease                                
Atingido http://security.ubuntu.com quantal-security Release.gpg              
Atingido http://extras.ubuntu.com quantal Release.gpg                          
Atingido http://security.ubuntu.com quantal-security Release                  
Atingido http://security.ubuntu.com quantal-security/main Sources              
Atingido http://extras.ubuntu.com quantal Release                              
Atingido http://security.ubuntu.com quantal-security/restricted Sources        
Atingido http://extras.ubuntu.com quantal/main Sources                        
Atingido http://security.ubuntu.com quantal-security/universe Sources          
Atingido http://extras.ubuntu.com quantal/main i386 Packages                  
Atingido http://security.ubuntu.com quantal-security/multiverse Sources        
Atingido http://security.ubuntu.com quantal-security/main i386 Packages        
Atingido http://security.ubuntu.com quantal-security/restricted i386 Packages  
Atingido http://security.ubuntu.com quantal-security/universe i386 Packages    
Atingido http://security.ubuntu.com quantal-security/multiverse i386 Packages  
Atingido http://security.ubuntu.com quantal-security/main Translation-en      
Atingido http://security.ubuntu.com quantal-security/multiverse Translation-en
Atingido http://security.ubuntu.com quantal-security/restricted Translation-en
Atingido http://security.ubuntu.com quantal-security/universe Translation-en  
Ign http://extras.ubuntu.com quantal/main Translation-pt_BR                    
Ign http://extras.ubuntu.com quantal/main Translation-pt                      
Ign http://extras.ubuntu.com quantal/main Translation-en                      
Ign http://archive.canonical.com quantal InRelease                            
Atingido http://archive.canonical.com quantal Release.gpg                      
Atingido http://archive.canonical.com quantal Release                
Atingido http://archive.canonical.com quantal/partner Sources                  
Atingido http://archive.canonical.com quantal/partner i386 Packages  
Ign http://security.ubuntu.com quantal-security/main Translation-pt_BR        
Ign http://security.ubuntu.com quantal-security/main Translation-pt            
Ign http://archive.canonical.com quantal/partner Translation-pt_BR  
Ign http://security.ubuntu.com quantal-security/multiverse Translation-pt_BR
Ign http://security.ubuntu.com quantal-security/multiverse Translation-pt
Ign http://archive.canonical.com quantal/partner Translation-pt      
Ign http://security.ubuntu.com quantal-security/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal InRelease                  
Ign http://br.archive.ubuntu.com quantal-updates InRelease                    
Ign http://br.archive.ubuntu.com quantal-backports InRelease                  
Ign http://security.ubuntu.com quantal-security/restricted Translation-pt
Atingido http://br.archive.ubuntu.com quantal Release.gpg    
Atingido http://br.archive.ubuntu.com quantal-updates Release.gpg
Atingido http://br.archive.ubuntu.com quantal-backports Release.gpg
Atingido http://br.archive.ubuntu.com quantal Release        
Atingido http://br.archive.ubuntu.com quantal-updates Release                  
Atingido http://br.archive.ubuntu.com quantal-backports Release                
Ign http://security.ubuntu.com quantal-security/universe Translation-pt_BR    
Ign http://archive.canonical.com quantal/partner Translation-en                
Atingido http://br.archive.ubuntu.com quantal/main Sources                    
Atingido http://br.archive.ubuntu.com quantal/restricted Sources
Atingido http://br.archive.ubuntu.com quantal/universe Sources
Atingido http://br.archive.ubuntu.com quantal/multiverse Sources
Atingido http://br.archive.ubuntu.com quantal/main i386 Packages
Ign http://security.ubuntu.com quantal-security/universe Translation-pt
Atingido http://br.archive.ubuntu.com quantal/restricted i386 Packages
Atingido http://br.archive.ubuntu.com quantal/universe i386 Packages
Atingido http://br.archive.ubuntu.com quantal/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com quantal/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com quantal/main Translation-pt
Atingido http://br.archive.ubuntu.com quantal/main Translation-en
Atingido http://br.archive.ubuntu.com quantal/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com quantal/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com quantal/multiverse Translation-en
Atingido http://br.archive.ubuntu.com quantal/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com quantal/restricted Translation-pt
Atingido http://br.archive.ubuntu.com quantal/restricted Translation-en
Atingido http://br.archive.ubuntu.com quantal/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com quantal/universe Translation-pt
Atingido http://br.archive.ubuntu.com quantal/universe Translation-en
Atingido http://br.archive.ubuntu.com quantal-updates/main Sources
Atingido http://br.archive.ubuntu.com quantal-updates/restricted Sources
Atingido http://br.archive.ubuntu.com quantal-updates/universe Sources
Atingido http://br.archive.ubuntu.com quantal-updates/multiverse Sources
Atingido http://br.archive.ubuntu.com quantal-updates/main i386 Packages
Atingido http://br.archive.ubuntu.com quantal-updates/restricted i386 Packages
Atingido http://br.archive.ubuntu.com quantal-updates/universe i386 Packages
Atingido http://br.archive.ubuntu.com quantal-updates/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com quantal-updates/main Translation-en
Atingido http://br.archive.ubuntu.com quantal-updates/multiverse Translation-en
Atingido http://br.archive.ubuntu.com quantal-updates/restricted Translation-en
Atingido http://br.archive.ubuntu.com quantal-updates/universe Translation-en
Atingido http://br.archive.ubuntu.com quantal-backports/main Sources
Atingido http://br.archive.ubuntu.com quantal-backports/restricted Sources
Atingido http://br.archive.ubuntu.com quantal-backports/universe Sources
Atingido http://br.archive.ubuntu.com quantal-backports/multiverse Sources
Atingido http://br.archive.ubuntu.com quantal-backports/main i386 Packages
Atingido http://br.archive.ubuntu.com quantal-backports/restricted i386 Packages
Atingido http://br.archive.ubuntu.com quantal-backports/universe i386 Packages
Atingido http://br.archive.ubuntu.com quantal-backports/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com quantal-backports/main Translation-en
Atingido http://br.archive.ubuntu.com quantal-backports/multiverse Translation-en
Atingido http://br.archive.ubuntu.com quantal-backports/restricted Translation-en
Atingido http://br.archive.ubuntu.com quantal-backports/universe Translation-en
Ign http://br.archive.ubuntu.com quantal-updates/main Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal-updates/main Translation-pt
Ign http://br.archive.ubuntu.com quantal-updates/multiverse Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal-updates/multiverse Translation-pt
Ign http://br.archive.ubuntu.com quantal-updates/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal-updates/restricted Translation-pt
Ign http://br.archive.ubuntu.com quantal-updates/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal-updates/universe Translation-pt
Ign http://br.archive.ubuntu.com quantal-backports/main Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal-backports/main Translation-pt
Ign http://br.archive.ubuntu.com quantal-backports/multiverse Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal-backports/multiverse Translation-pt
Ign http://br.archive.ubuntu.com quantal-backports/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal-backports/restricted Translation-pt
Ign http://br.archive.ubuntu.com quantal-backports/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com quantal-backports/universe Translation-pt
Lendo listas de pacotes... Erro!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_i18n_Translation-pt
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.o

Tentei fazer o apt - upgrade:

gustavo@gustavo-Infoway-w7430:~$ sudo apt-get upgrade
[sudo] password for gustavo:
Lendo listas de pacotes... Erro!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_main_i18n_Translation-pt
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.

Não sei como resolver este problema. Não gostaria de reinstalar. Será que alguém poder ajudar?

Tota

Ola

Citargustavo@gustavo-Infoway-w7430:~$ rm /var/lib/apt/lists*

Faltou um argumento em seu comando:

sudo rm -R /var/lib/apt/lists/*

O argumento -R de recursive irá remover os sub diretórios e arquivos abaixo de /list

Para remover um diretório o comando é rmdir e não rm

Tente e veja se resolve

[]'s

gustavoolimpio

Apareceu o seguinte.

gustavo@gustavo-Infoway-w7430:~$ sudo rm -R /var/lib/apt/lists/*
rm: não foi possível remover "/var/lib/apt/lists/*": Arquivo ou diretório não encontrado
gustavo@gustavo-Infoway-w7430:~$


Tota

cd /var/lib/apt/lists

ls -la



Veja o que tem lá dentro

gustavoolimpio

gustavo@gustavo-Infoway-w7430:~$ cd /var/lib/apt/lists
gustavo@gustavo-Infoway-w7430:/var/lib/apt/lists$
gustavo@gustavo-Infoway-w7430:/var/lib/apt/lists$ ls -la
total 40
drwxr-xr-x 2 root root 32768 Fev 20 13:16 .
drwxr-xr-x 6 root root  4096 Fev 20 10:04 ..
gustavo@gustavo-Infoway-w7430:/var/lib/apt/lists$

Tota

Ola

a pasta /lists já está vazia.

Tente o apt-get update

[]'s

gustavoolimpio

Muito obrigado.

O erro foi resolvido já consigo atualizar