Erro de entrada e saída - Listas de pacotes ou arquivos de status não podem...

Iniciado por holandan, 06 de Agosto de 2012, 09:09

tópico anterior - próximo tópico

holandan

Olá.

Sou bastante iniciante no Linux e me encantei pelo sistema operacional.
Instalei em meu Desktop o Ubuntu 12.04 e, de alguns dias pra cá, aparece uma mensagem pra mim (traduzida):

"Erro: abrindo o cache (E: Erro de leitura - lido (5:erro de entrada/saída), E: As listas de pacotes ou arquivos de status não podem ser analisadas ou abertas."

Tentei fazer todos os procedimentos possíveis, apenas um não consegui: tentei abrir a central de programas do Ubuntu para desmarcar a opção CD Rom mas dá erro, não consegue abrir.

Vocês poderiam me dar uma luz pra isso?  :)

Abraços,

Benedicto Neto

holandan

Só algumas informações adicionais:

Quando tento abrir a Central de Software, os seguintes erros são apresentados:

Não foi possível determinas o pacote ou nome do pacote fonte.

E estes são os "caminhos" que dão erro:

/usr/share/software-center/software-center
/usr/share/software-center/update-software-center-agent

Tota

Ola

Entre em terminal e digite sudo apt-get updatePoste aqui o resultado para o forum analisar.

[]'s

holandan

Segue resultado:

sudo apt-get update
Ign http://extras.ubuntu.com precise InRelease                                 
Ign http://br.archive.ubuntu.com precise InRelease                             
Ign http://br.archive.ubuntu.com precise-updates InRelease   
Ign http://br.archive.ubuntu.com precise-backports InRelease
Ign http://security.ubuntu.com precise-security InRelease   
Atingido http://extras.ubuntu.com precise Release.gpg       
Obter:1 http://br.archive.ubuntu.com precise Release.gpg [198 B]
Obter:2 http://br.archive.ubuntu.com precise-updates Release.gpg [198 B]
Obter:3 http://security.ubuntu.com precise-security Release.gpg [198 B]
Obter:4 http://br.archive.ubuntu.com precise-backports Release.gpg [198 B]     
Obter:5 http://br.archive.ubuntu.com precise Release [49,6 kB]                 
Atingido http://extras.ubuntu.com precise Release                             
Obter:6 http://security.ubuntu.com precise-security Release [49,6 kB]         
Atingido http://extras.ubuntu.com precise/main Sources                         
Obter:7 http://br.archive.ubuntu.com precise-updates Release [49,6 kB]
Atingido http://extras.ubuntu.com precise/main i386 Packages                   
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Obter:8 http://br.archive.ubuntu.com precise-backports Release [49,6 kB]
Obter:9 http://br.archive.ubuntu.com precise/main Sources [934 kB]             
Obter:10 http://security.ubuntu.com precise-security/main Sources [34,0 kB]   
Obter:11 http://security.ubuntu.com precise-security/restricted Sources [1.950 B]
Obter:12 http://security.ubuntu.com precise-security/universe Sources [10,2 kB]
Obter:13 http://security.ubuntu.com precise-security/multiverse Sources [713 B]
Obter:14 http://security.ubuntu.com precise-security/main i386 Packages [125 kB]
Obter:15 http://security.ubuntu.com precise-security/restricted i386 Packages [3.968 B]
Obter:16 http://security.ubuntu.com precise-security/universe i386 Packages [33,2 kB]
Obter:17 http://security.ubuntu.com precise-security/multiverse i386 Packages [1.394 B]
Atingido http://security.ubuntu.com precise-security/main TranslationIndex     
Atingido http://security.ubuntu.com precise-security/multiverse TranslationIndex
Atingido http://security.ubuntu.com precise-security/restricted TranslationIndex
Atingido http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://extras.ubuntu.com precise/main Translation-pt_BR                   
Ign http://extras.ubuntu.com precise/main Translation-pt                       
Atingido http://security.ubuntu.com precise-security/main Translation-en       
Atingido http://security.ubuntu.com precise-security/multiverse Translation-en
Atingido http://security.ubuntu.com precise-security/restricted Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en                       
Atingido http://security.ubuntu.com precise-security/universe Translation-en   
Obter:18 http://br.archive.ubuntu.com precise/restricted Sources [5.470 B]                                                                     
Obter:19 http://br.archive.ubuntu.com precise/universe Sources [5.019 kB]                                                                     
Obter:20 http://br.archive.ubuntu.com precise/multiverse Sources [155 kB]       
Obter:21 http://br.archive.ubuntu.com precise/main i386 Packages [1.274 kB]   
Obter:22 http://br.archive.ubuntu.com precise/restricted i386 Packages [8.431 B]
Obter:23 http://br.archive.ubuntu.com precise/universe i386 Packages [4.796 kB]
Obter:24 http://br.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Atingido http://br.archive.ubuntu.com precise/main TranslationIndex           
Atingido http://br.archive.ubuntu.com precise/multiverse TranslationIndex     
Atingido http://br.archive.ubuntu.com precise/restricted TranslationIndex     
Atingido http://br.archive.ubuntu.com precise/universe TranslationIndex       
Obter:25 http://br.archive.ubuntu.com precise-updates/main Sources [144 kB]   
Obter:26 http://br.archive.ubuntu.com precise-updates/restricted Sources [2.431 B]
Obter:27 http://br.archive.ubuntu.com precise-updates/universe Sources [45,8 kB]
Obter:28 http://br.archive.ubuntu.com precise-updates/multiverse Sources [1.058 B]
Obter:29 http://br.archive.ubuntu.com precise-updates/main i386 Packages [349 kB]
Obter:30 http://br.archive.ubuntu.com precise-updates/restricted i386 Packages [4.430 B]
Obter:31 http://br.archive.ubuntu.com precise-updates/universe i386 Packages [117 kB]
Obter:32 http://br.archive.ubuntu.com precise-updates/multiverse i386 Packages [2.540 B]
Atingido http://br.archive.ubuntu.com precise-updates/main TranslationIndex   
Atingido http://br.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/universe TranslationIndex
Obter:33 http://br.archive.ubuntu.com precise-backports/main Sources [2.422 B]
Obter:34 http://br.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Obter:35 http://br.archive.ubuntu.com precise-backports/universe Sources [12,4 kB]
Obter:36 http://br.archive.ubuntu.com precise-backports/multiverse Sources [1.383 B]
Obter:37 http://br.archive.ubuntu.com precise-backports/main i386 Packages [1.941 B]
Obter:38 http://br.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Obter:39 http://br.archive.ubuntu.com precise-backports/universe i386 Packages [11,2 kB]
Obter:40 http://br.archive.ubuntu.com precise-backports/multiverse i386 Packages [999 B]
Atingido http://br.archive.ubuntu.com precise-backports/main TranslationIndex 
Atingido http://br.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise/main Translation-pt_BR           
Atingido http://br.archive.ubuntu.com precise/main Translation-pt             
Atingido http://br.archive.ubuntu.com precise/main Translation-en             
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt_BR     
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt       
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-en       
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt_BR     
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt       
Atingido http://br.archive.ubuntu.com precise/restricted Translation-en       
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt_BR       
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt         
Atingido http://br.archive.ubuntu.com precise/universe Translation-en         
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-pt_BR   
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-pt     
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-en     
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-pt 
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-en 
Atingido http://br.archive.ubuntu.com precise-backports/main Translation-en   
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/universe Translation-en
Baixados 13,4 MB em 1min 9s (192 kB/s)                                         
Lendo listas de pacotes... Erro!
E: Erro de leitura - read (5: Erro de entrada/saída)
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.


Abraços,

Tota

Ola

Como a mensagem não está informando muito,

Entre em terminal e digite sudo update-manager

Lá, clique em => configurações

Na primeira aba troque de => servidor do Brasil e escolha =>servidor principal

Feche o update manager e repita o comando sudo apt-get update

Reporte aqui.

[]'s

holandan

Citação de: Tota online 06 de Agosto de 2012, 12:01
Ola

Como a mensagem não está informando muito,

Entre em terminal e digite sudo update-manager

Fiz o solicitado, mas retornou a seguinte mensagem:

Um problema impossível de se resolver ocorreu enquanto incializava as informações do pacote.
Por favor, relate este erro do pacote 'update-manager' e inclua a seguinte mensagem de rro:
'E:Erro de leitura - read (5: Erro de entrada/saída), E:As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.'


Eu já havia tentado outro momento pelo update manager e era esta a mensagem que me dava.

Abraços,

Tota

Ok,

Então tente isto ( cole direto no terminal )

sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update

Aparentemente a pasta /lists não está sendo lida, vamos remover o conteúdo e ver se resolve.

Nada aqui é destrutivo, pode fazer sem problemas.

[]'s

holandan

Citação de: Tota online 06 de Agosto de 2012, 12:13
Ok,

Então tente isto ( cole direto no terminal )

sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update

Fiz o solicitado. Segue report:

sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update
[sudo] password for benedicto:
rm: não foi possível remover "/var/lib/apt/lists/partial": É um diretório
rm: não foi possível remover "/var/lib/apt/lists/partial/*": Arquivo ou diretório não encontrado
Lendo listas de pacotes... Erro!
E: Erro de leitura - read (5: Erro de entrada/saída)
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.
Ign http://br.archive.ubuntu.com precise InRelease                             
Ign http://br.archive.ubuntu.com precise-updates InRelease                     
Ign http://br.archive.ubuntu.com precise-backports InRelease                   
Obter:1 http://br.archive.ubuntu.com precise Release.gpg [198 B]               
Ign http://security.ubuntu.com precise-security InRelease                     
Obter:2 http://br.archive.ubuntu.com precise-updates Release.gpg [198 B]       
Ign http://extras.ubuntu.com precise InRelease                                 
Obter:3 http://br.archive.ubuntu.com precise-backports Release.gpg [198 B]     
Obter:4 http://security.ubuntu.com precise-security Release.gpg [198 B]       
Obter:5 http://extras.ubuntu.com precise Release.gpg [72 B]                   
Obter:6 http://br.archive.ubuntu.com precise Release [49,6 kB]                 
Obter:7 http://security.ubuntu.com precise-security Release [49,6 kB]         
Obter:8 http://extras.ubuntu.com precise Release [11,9 kB]                     
Obter:9 http://br.archive.ubuntu.com precise-updates Release [49,6 kB]         
Obter:10 http://br.archive.ubuntu.com precise-backports Release [49,6 kB]     
Obter:11 http://extras.ubuntu.com precise/main Sources [2.053 B]               
Obter:12 http://security.ubuntu.com precise-security/main Sources [34,0 kB]   
Obter:13 http://br.archive.ubuntu.com precise/main Sources [934 kB]           
Obter:14 http://extras.ubuntu.com precise/main i386 Packages [2.258 B]         
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Obter:15 http://security.ubuntu.com precise-security/restricted Sources [1.950 B]
Obter:16 http://security.ubuntu.com precise-security/universe Sources [10,2 kB]
Obter:17 http://security.ubuntu.com precise-security/multiverse Sources [713 B]
Obter:18 http://security.ubuntu.com precise-security/main i386 Packages [125 kB]
Obter:19 http://security.ubuntu.com precise-security/restricted i386 Packages [3.968 B]
Obter:20 http://security.ubuntu.com precise-security/universe i386 Packages [33,2 kB]
Obter:21 http://security.ubuntu.com precise-security/multiverse i386 Packages [1.394 B]
Obter:22 http://security.ubuntu.com precise-security/main TranslationIndex [73 B]
Obter:23 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Obter:24 http://security.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Obter:25 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Obter:26 http://security.ubuntu.com precise-security/main Translation-en [61,6 kB]
Obter:27 http://security.ubuntu.com precise-security/multiverse Translation-en [587 B]
Obter:28 http://security.ubuntu.com precise-security/restricted Translation-en [978 B]
Obter:29 http://security.ubuntu.com precise-security/universe Translation-en [21,5 kB]
Obter:30 http://br.archive.ubuntu.com precise/restricted Sources [5.470 B]     
Obter:31 http://br.archive.ubuntu.com precise/universe Sources [5.019 kB]     
Ign http://extras.ubuntu.com precise/main Translation-pt_BR                   
Ign http://extras.ubuntu.com precise/main Translation-pt                       
Ign http://extras.ubuntu.com precise/main Translation-en                       
Obter:32 http://br.archive.ubuntu.com precise/multiverse Sources [155 kB]     
Obter:33 http://br.archive.ubuntu.com precise/main i386 Packages [1.274 kB]   
Obter:34 http://br.archive.ubuntu.com precise/restricted i386 Packages [8.431 B]
Obter:35 http://br.archive.ubuntu.com precise/universe i386 Packages [4.796 kB]
Obter:36 http://br.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Obter:37 http://br.archive.ubuntu.com precise/main TranslationIndex [3.706 B] 
Obter:38 http://br.archive.ubuntu.com precise/multiverse TranslationIndex [2.676 B]
Obter:39 http://br.archive.ubuntu.com precise/restricted TranslationIndex [2.596 B]
Obter:40 http://br.archive.ubuntu.com precise/universe TranslationIndex [2.922 B]
Obter:41 http://br.archive.ubuntu.com precise-updates/main Sources [144 kB]   
Obter:42 http://br.archive.ubuntu.com precise-updates/restricted Sources [2.431 B]
Obter:43 http://br.archive.ubuntu.com precise-updates/universe Sources [45,8 kB]
Obter:44 http://br.archive.ubuntu.com precise-updates/multiverse Sources [1.058 B]
Obter:45 http://br.archive.ubuntu.com precise-updates/main i386 Packages [349 kB]
Obter:46 http://br.archive.ubuntu.com precise-updates/restricted i386 Packages [4.430 B]
Obter:47 http://br.archive.ubuntu.com precise-updates/universe i386 Packages [117 kB]
Obter:48 http://br.archive.ubuntu.com precise-updates/multiverse i386 Packages [2.540 B]
Obter:49 http://br.archive.ubuntu.com precise-updates/main TranslationIndex [3.564 B]
Obter:50 http://br.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2.605 B]
Obter:51 http://br.archive.ubuntu.com precise-updates/restricted TranslationIndex [2.461 B]
Obter:52 http://br.archive.ubuntu.com precise-updates/universe TranslationIndex [2.850 B]
Obter:53 http://br.archive.ubuntu.com precise-backports/main Sources [2.422 B]
Obter:54 http://br.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Obter:55 http://br.archive.ubuntu.com precise-backports/universe Sources [12,4 kB]
Obter:56 http://br.archive.ubuntu.com precise-backports/multiverse Sources [1.383 B]
Obter:57 http://br.archive.ubuntu.com precise-backports/main i386 Packages [1.941 B]
Obter:58 http://br.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Obter:59 http://br.archive.ubuntu.com precise-backports/universe i386 Packages [11,2 kB]
Obter:60 http://br.archive.ubuntu.com precise-backports/multiverse i386 Packages [999 B]
Obter:61 http://br.archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Obter:62 http://br.archive.ubuntu.com precise-backports/multiverse TranslationIndex [71 B]
Obter:63 http://br.archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Obter:64 http://br.archive.ubuntu.com precise-backports/universe TranslationIndex [72 B]
Obter:65 http://br.archive.ubuntu.com precise/main Translation-pt_BR [305 kB] 
Obter:66 http://br.archive.ubuntu.com precise/main Translation-pt [287 kB]     
Obter:67 http://br.archive.ubuntu.com precise/main Translation-en [726 kB]     
Obter:68 http://br.archive.ubuntu.com precise/multiverse Translation-pt_BR [26,4 kB]
Obter:69 http://br.archive.ubuntu.com precise/multiverse Translation-pt [15,7 kB]
Obter:70 http://br.archive.ubuntu.com precise/multiverse Translation-en [93,4 kB]
Obter:71 http://br.archive.ubuntu.com precise/restricted Translation-pt_BR [2.722 B]
Obter:72 http://br.archive.ubuntu.com precise/restricted Translation-pt [2.717 B]
Obter:73 http://br.archive.ubuntu.com precise/restricted Translation-en [2.395 B]
Obter:74 http://br.archive.ubuntu.com precise/universe Translation-pt_BR [752 kB]
Obter:75 http://br.archive.ubuntu.com precise/universe Translation-pt [802 kB]
Obter:76 http://br.archive.ubuntu.com precise/universe Translation-en [3.341 kB]
Obter:77 http://br.archive.ubuntu.com precise-updates/main Translation-pt_BR [305 kB]
Obter:78 http://br.archive.ubuntu.com precise-updates/main Translation-pt [287 kB]
Obter:79 http://br.archive.ubuntu.com precise-updates/main Translation-en [165 kB]
Obter:80 http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt_BR [27,6 kB]
Obter:81 http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt [15,7 kB]
Obter:82 http://br.archive.ubuntu.com precise-updates/multiverse Translation-en [1.600 B]
Obter:83 http://br.archive.ubuntu.com precise-updates/restricted Translation-pt_BR [2.722 B]
Obter:84 http://br.archive.ubuntu.com precise-updates/restricted Translation-pt [2.717 B]
Obter:85 http://br.archive.ubuntu.com precise-updates/restricted Translation-en [1.145 B]
Obter:86 http://br.archive.ubuntu.com precise-updates/universe Translation-pt_BR [752 kB]
Obter:87 http://br.archive.ubuntu.com precise-updates/universe Translation-pt [802 kB]
Obter:88 http://br.archive.ubuntu.com precise-updates/universe Translation-en [70,5 kB]
Obter:89 http://br.archive.ubuntu.com precise-backports/main Translation-en [1.244 B]
Obter:90 http://br.archive.ubuntu.com precise-backports/multiverse Translation-en [422 B]
Obter:91 http://br.archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Obter:92 http://br.archive.ubuntu.com precise-backports/universe Translation-en [8.334 B]
Baixados 22,3 MB em 1min 48s (206 kB/s)                                       
Lendo listas de pacotes... Erro!
E: Erro de leitura - read (5: Erro de entrada/saída)
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.


Abraços,

PS: muito obrigado pela sua disposição em me ajudar!  :)

Tota

Desculpe fazer voce perder seu tempo - errei no comando.

Vamos fazer um a um:

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

Depois sudo apt-get clean

Depois sudo apt-get -f install

Depois sudo apt-get update

Vá postando os erros caso aparecam.

[]'s

holandan

Citação de: Tota online 06 de Agosto de 2012, 12:32
Desculpe fazer voce perder seu tempo - errei no comando.

Fique tranquilo! Só a sua vontade em me ajudar vale a pena!  :)

Citação de: Tota online 06 de Agosto de 2012, 12:32
Vamos fazer um a um:

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

Depois sudo apt-get clean

Depois sudo apt-get -f install

Depois sudo apt-get update

Vá postando os erros caso aparecam.

[]'s

Seguem resultados:

sudo rm -r /var/lib/apt/lists/*
sudo apt-get clean
sudo apt-get -f install
Lendo listas de pacotes... Erro!
E: Erro de leitura - read (5: Erro de entrada/saída)
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.
sudo apt-get update
Ign http://br.archive.ubuntu.com precise InRelease                             
Ign http://br.archive.ubuntu.com precise-updates InRelease                     
Ign http://br.archive.ubuntu.com precise-backports InRelease                   
Obter:1 http://br.archive.ubuntu.com precise Release.gpg [198 B]               
Ign http://security.ubuntu.com precise-security InRelease                     
Obter:2 http://br.archive.ubuntu.com precise-updates Release.gpg [198 B]       
Ign http://extras.ubuntu.com precise InRelease                                 
Obter:3 http://security.ubuntu.com precise-security Release.gpg [198 B]       
Obter:4 http://br.archive.ubuntu.com precise-backports Release.gpg [198 B]     
Obter:5 http://extras.ubuntu.com precise Release.gpg [72 B]                   
Obter:6 http://br.archive.ubuntu.com precise Release [49,6 kB]                 
Obter:7 http://security.ubuntu.com precise-security Release [49,6 kB]         
Obter:8 http://extras.ubuntu.com precise Release [11,9 kB]                     
Obter:9 http://br.archive.ubuntu.com precise-updates Release [49,6 kB]         
Obter:10 http://extras.ubuntu.com precise/main Sources [2.053 B]               
Obter:11 http://br.archive.ubuntu.com precise-backports Release [49,6 kB]     
Obter:12 http://extras.ubuntu.com precise/main i386 Packages [2.258 B]         
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Obter:13 http://br.archive.ubuntu.com precise/main Sources [934 kB]           
Obter:14 http://security.ubuntu.com precise-security/main Sources [34,0 kB]   
Obter:15 http://security.ubuntu.com precise-security/restricted Sources [1.950 B]
Obter:16 http://security.ubuntu.com precise-security/universe Sources [10,2 kB]
Obter:17 http://security.ubuntu.com precise-security/multiverse Sources [713 B]
Obter:18 http://security.ubuntu.com precise-security/main i386 Packages [125 kB]
Obter:19 http://security.ubuntu.com precise-security/restricted i386 Packages [3.968 B]
Obter:20 http://security.ubuntu.com precise-security/universe i386 Packages [33,2 kB]
Obter:21 http://security.ubuntu.com precise-security/multiverse i386 Packages [1.394 B]
Obter:22 http://security.ubuntu.com precise-security/main TranslationIndex [73 B]
Obter:23 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Obter:24 http://security.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Obter:25 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Obter:26 http://security.ubuntu.com precise-security/main Translation-en [61,6 kB]
Obter:27 http://security.ubuntu.com precise-security/multiverse Translation-en [587 B]
Obter:28 http://security.ubuntu.com precise-security/restricted Translation-en [978 B]
Obter:29 http://security.ubuntu.com precise-security/universe Translation-en [21,5 kB]
Ign http://extras.ubuntu.com precise/main Translation-pt_BR                   
Ign http://extras.ubuntu.com precise/main Translation-pt                       
Ign http://extras.ubuntu.com precise/main Translation-en                       
Obter:30 http://br.archive.ubuntu.com precise/restricted Sources [5.470 B]     
Obter:31 http://br.archive.ubuntu.com precise/universe Sources [5.019 kB]     
Obter:32 http://br.archive.ubuntu.com precise/multiverse Sources [155 kB]     
Obter:33 http://br.archive.ubuntu.com precise/main i386 Packages [1.274 kB]   
Obter:34 http://br.archive.ubuntu.com precise/restricted i386 Packages [8.431 B]
Obter:35 http://br.archive.ubuntu.com precise/universe i386 Packages [4.796 kB]
Obter:36 http://br.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Obter:37 http://br.archive.ubuntu.com precise/main TranslationIndex [3.706 B] 
Obter:38 http://br.archive.ubuntu.com precise/multiverse TranslationIndex [2.676 B]
Obter:39 http://br.archive.ubuntu.com precise/restricted TranslationIndex [2.596 B]
Obter:40 http://br.archive.ubuntu.com precise/universe TranslationIndex [2.922 B]
Obter:41 http://br.archive.ubuntu.com precise-updates/main Sources [144 kB]   
Obter:42 http://br.archive.ubuntu.com precise-updates/restricted Sources [2.431 B]
Obter:43 http://br.archive.ubuntu.com precise-updates/universe Sources [45,8 kB]
Obter:44 http://br.archive.ubuntu.com precise-updates/multiverse Sources [1.058 B]
Obter:45 http://br.archive.ubuntu.com precise-updates/main i386 Packages [349 kB]
Obter:46 http://br.archive.ubuntu.com precise-updates/restricted i386 Packages [4.430 B]
Obter:47 http://br.archive.ubuntu.com precise-updates/universe i386 Packages [117 kB]
Obter:48 http://br.archive.ubuntu.com precise-updates/multiverse i386 Packages [2.540 B]
Obter:49 http://br.archive.ubuntu.com precise-updates/main TranslationIndex [3.564 B]
Obter:50 http://br.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2.605 B]
Obter:51 http://br.archive.ubuntu.com precise-updates/restricted TranslationIndex [2.461 B]
Obter:52 http://br.archive.ubuntu.com precise-updates/universe TranslationIndex [2.850 B]
Obter:53 http://br.archive.ubuntu.com precise-backports/main Sources [2.422 B]
Obter:54 http://br.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Obter:55 http://br.archive.ubuntu.com precise-backports/universe Sources [12,4 kB]
Obter:56 http://br.archive.ubuntu.com precise-backports/multiverse Sources [1.383 B]
Obter:57 http://br.archive.ubuntu.com precise-backports/main i386 Packages [1.941 B]
Obter:58 http://br.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Obter:59 http://br.archive.ubuntu.com precise-backports/universe i386 Packages [11,2 kB]
Obter:60 http://br.archive.ubuntu.com precise-backports/multiverse i386 Packages [999 B]
Obter:61 http://br.archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Obter:62 http://br.archive.ubuntu.com precise-backports/multiverse TranslationIndex [71 B]
Obter:63 http://br.archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Obter:64 http://br.archive.ubuntu.com precise-backports/universe TranslationIndex [72 B]
Obter:65 http://br.archive.ubuntu.com precise/main Translation-pt_BR [305 kB] 
Obter:66 http://br.archive.ubuntu.com precise/main Translation-pt [287 kB]     
Obter:67 http://br.archive.ubuntu.com precise/main Translation-en [726 kB]     
Obter:68 http://br.archive.ubuntu.com precise/multiverse Translation-pt_BR [26,4 kB]
Obter:69 http://br.archive.ubuntu.com precise/multiverse Translation-pt [15,7 kB]
Obter:70 http://br.archive.ubuntu.com precise/multiverse Translation-en [93,4 kB]
Obter:71 http://br.archive.ubuntu.com precise/restricted Translation-pt_BR [2.722 B]
Obter:72 http://br.archive.ubuntu.com precise/restricted Translation-pt [2.717 B]
Obter:73 http://br.archive.ubuntu.com precise/restricted Translation-en [2.395 B]
Obter:74 http://br.archive.ubuntu.com precise/universe Translation-pt_BR [752 kB]
Obter:75 http://br.archive.ubuntu.com precise/universe Translation-pt [802 kB]
Obter:76 http://br.archive.ubuntu.com precise/universe Translation-en [3.341 kB]
Obter:77 http://br.archive.ubuntu.com precise-updates/main Translation-pt_BR [305 kB]
Obter:78 http://br.archive.ubuntu.com precise-updates/main Translation-pt [287 kB]
Obter:79 http://br.archive.ubuntu.com precise-updates/main Translation-en [165 kB]                                                             
Obter:80 http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt_BR [27,6 kB]                                                   
Obter:81 http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt [15,7 kB]                                                     
Obter:82 http://br.archive.ubuntu.com precise-updates/multiverse Translation-en [1.600 B]                                                     
Obter:83 http://br.archive.ubuntu.com precise-updates/restricted Translation-pt_BR [2.722 B]                                                   
Obter:84 http://br.archive.ubuntu.com precise-updates/restricted Translation-pt [2.717 B]                                                     
Obter:85 http://br.archive.ubuntu.com precise-updates/restricted Translation-en [1.145 B]                                                     
Obter:86 http://br.archive.ubuntu.com precise-updates/universe Translation-pt_BR [752 kB]                                                     
Obter:87 http://br.archive.ubuntu.com precise-updates/universe Translation-pt [802 kB]
Obter:88 http://br.archive.ubuntu.com precise-updates/universe Translation-en [70,5 kB]
Obter:89 http://br.archive.ubuntu.com precise-backports/main Translation-en [1.244 B]
Obter:90 http://br.archive.ubuntu.com precise-backports/multiverse Translation-en [422 B]
Obter:91 http://br.archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Obter:92 http://br.archive.ubuntu.com precise-backports/universe Translation-en [8.334 B]
Baixados 22,3 MB em 1min 56s (192 kB/s)                                       
Lendo listas de pacotes... Erro!
E: Erro de leitura - read (5: Erro de entrada/saída)
E: As listas de pacotes ou os arquivos de estado não puderam ser analisados ou abertos.


Abraços,

Tota

Caraca! Chato isto.

Este erro é descrito aqui => https://answers.launchpad.net/ubuntu/+source/update-manager/+question/66668

E aqui => https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

Vamos lá, mais uns comandos para tentar resolver:

sudo rm /var/lib/dpkg/status

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status

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

sudo mkdir /var/lib/apt/lists/partial

sudo dpkg --configure -a

sudo ap-get update

[]'s

holandan

Realmente, tá dando trabalho!

Vamos lá:

sudo rm /var/lib/dpkg/status
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
cp: lendo "/var/lib/dpkg/status-old": Erro de entrada/saída
cp: falha ao estender "/var/lib/dpkg/status": Erro de entrada/saída
sudo rm -rf /var/lib/apt/lists/*
sudo mkdir /var/lib/apt/lists/partial
sudo dpkg --configure -a
dpkg: erro: analisando arquivo '/var/lib/dpkg/status' próximo à linha 32200 pacote 'libpng12-0':
EOF após o campo nome 'Architectu'
sudo ap-get update
sudo: ap-get: comando não encontrado
sudo apt-get update
Ign http://br.archive.ubuntu.com precise InRelease                             
Ign http://br.archive.ubuntu.com precise-updates InRelease                     
Ign http://br.archive.ubuntu.com precise-backports InRelease                   
Obter:1 http://br.archive.ubuntu.com precise Release.gpg [198 B]               
Obter:2 http://br.archive.ubuntu.com precise-updates Release.gpg [198 B]       
Ign http://security.ubuntu.com precise-security InRelease                     
Obter:3 http://br.archive.ubuntu.com precise-backports Release.gpg [198 B]
Obter:4 http://br.archive.ubuntu.com precise Release [49,6 kB]                 
Ign http://extras.ubuntu.com precise InRelease                                 
Obter:5 http://security.ubuntu.com precise-security Release.gpg [198 B]       
Obter:6 http://extras.ubuntu.com precise Release.gpg [72 B]                   
Obter:7 http://security.ubuntu.com precise-security Release [49,6 kB]         
Obter:8 http://extras.ubuntu.com precise Release [11,9 kB]                     
Obter:9 http://br.archive.ubuntu.com precise-updates Release [49,6 kB]         
Obter:10 http://br.archive.ubuntu.com precise-backports Release [49,6 kB]     
Obter:11 http://br.archive.ubuntu.com precise/main Sources [934 kB]           
Obter:12 http://extras.ubuntu.com precise/main Sources [2.053 B]               
Obter:13 http://extras.ubuntu.com precise/main i386 Packages [2.258 B]         
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Obter:14 http://security.ubuntu.com precise-security/main Sources [34,0 kB]   
Obter:15 http://security.ubuntu.com precise-security/restricted Sources [1.950 B]
Obter:16 http://security.ubuntu.com precise-security/universe Sources [10,2 kB]
Obter:17 http://security.ubuntu.com precise-security/multiverse Sources [713 B]
Obter:18 http://security.ubuntu.com precise-security/main i386 Packages [125 kB]
Obter:19 http://br.archive.ubuntu.com precise/restricted Sources [5.470 B]     
Obter:20 http://br.archive.ubuntu.com precise/universe Sources [5.019 kB]     
Obter:21 http://security.ubuntu.com precise-security/restricted i386 Packages [3.968 B]
Obter:22 http://security.ubuntu.com precise-security/universe i386 Packages [33,2 kB]
Obter:23 http://security.ubuntu.com precise-security/multiverse i386 Packages [1.394 B]
Obter:24 http://security.ubuntu.com precise-security/main TranslationIndex [73 B]
Obter:25 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Obter:26 http://security.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Obter:27 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Obter:28 http://security.ubuntu.com precise-security/main Translation-en [61,6 kB]
Ign http://extras.ubuntu.com precise/main Translation-pt_BR                   
Ign http://extras.ubuntu.com precise/main Translation-pt                       
Obter:29 http://security.ubuntu.com precise-security/multiverse Translation-en [587 B]
Obter:30 http://security.ubuntu.com precise-security/restricted Translation-en [978 B]
Ign http://extras.ubuntu.com precise/main Translation-en                       
Obter:31 http://security.ubuntu.com precise-security/universe Translation-en [21,5 kB]
Obter:32 http://br.archive.ubuntu.com precise/multiverse Sources [155 kB]     
Obter:33 http://br.archive.ubuntu.com precise/main i386 Packages [1.274 kB]   
Obter:34 http://br.archive.ubuntu.com precise/restricted i386 Packages [8.431 B]
Obter:35 http://br.archive.ubuntu.com precise/universe i386 Packages [4.796 kB]
Obter:36 http://br.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Obter:37 http://br.archive.ubuntu.com precise/main TranslationIndex [3.706 B] 
Obter:38 http://br.archive.ubuntu.com precise/multiverse TranslationIndex [2.676 B]
Obter:39 http://br.archive.ubuntu.com precise/restricted TranslationIndex [2.596 B]
Obter:40 http://br.archive.ubuntu.com precise/universe TranslationIndex [2.922 B]
Obter:41 http://br.archive.ubuntu.com precise-updates/main Sources [144 kB]   
Obter:42 http://br.archive.ubuntu.com precise-updates/restricted Sources [2.431 B]
Obter:43 http://br.archive.ubuntu.com precise-updates/universe Sources [45,8 kB]
Obter:44 http://br.archive.ubuntu.com precise-updates/multiverse Sources [1.058 B]
Obter:45 http://br.archive.ubuntu.com precise-updates/main i386 Packages [349 kB]
Obter:46 http://br.archive.ubuntu.com precise-updates/restricted i386 Packages [4.430 B]
Obter:47 http://br.archive.ubuntu.com precise-updates/universe i386 Packages [117 kB]
Obter:48 http://br.archive.ubuntu.com precise-updates/multiverse i386 Packages [2.540 B]
Obter:49 http://br.archive.ubuntu.com precise-updates/main TranslationIndex [3.564 B]
Obter:50 http://br.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2.605 B]
Obter:51 http://br.archive.ubuntu.com precise-updates/restricted TranslationIndex [2.461 B]
Obter:52 http://br.archive.ubuntu.com precise-updates/universe TranslationIndex [2.850 B]
Obter:53 http://br.archive.ubuntu.com precise-backports/main Sources [2.422 B]
Obter:54 http://br.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Obter:55 http://br.archive.ubuntu.com precise-backports/universe Sources [12,4 kB]
Obter:56 http://br.archive.ubuntu.com precise-backports/multiverse Sources [1.383 B]
Obter:57 http://br.archive.ubuntu.com precise-backports/main i386 Packages [1.941 B]
Obter:58 http://br.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Obter:59 http://br.archive.ubuntu.com precise-backports/universe i386 Packages [11,2 kB]
Obter:60 http://br.archive.ubuntu.com precise-backports/multiverse i386 Packages [999 B]
Obter:61 http://br.archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Obter:62 http://br.archive.ubuntu.com precise-backports/multiverse TranslationIndex [71 B]
Obter:63 http://br.archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Obter:64 http://br.archive.ubuntu.com precise-backports/universe TranslationIndex [72 B]
Obter:65 http://br.archive.ubuntu.com precise/main Translation-pt_BR [305 kB] 
Obter:66 http://br.archive.ubuntu.com precise/main Translation-pt [287 kB]     
Obter:67 http://br.archive.ubuntu.com precise/main Translation-en [726 kB]     
Obter:68 http://br.archive.ubuntu.com precise/multiverse Translation-pt_BR [26,4 kB]
Obter:69 http://br.archive.ubuntu.com precise/multiverse Translation-pt [15,7 kB]
Obter:70 http://br.archive.ubuntu.com precise/multiverse Translation-en [93,4 kB]
Obter:71 http://br.archive.ubuntu.com precise/restricted Translation-pt_BR [2.722 B]
Obter:72 http://br.archive.ubuntu.com precise/restricted Translation-pt [2.717 B]
Obter:73 http://br.archive.ubuntu.com precise/restricted Translation-en [2.395 B]
Obter:74 http://br.archive.ubuntu.com precise/universe Translation-pt_BR [752 kB]
Obter:75 http://br.archive.ubuntu.com precise/universe Translation-pt [802 kB]
Obter:76 http://br.archive.ubuntu.com precise/universe Translation-en [3.341 kB]
Obter:77 http://br.archive.ubuntu.com precise-updates/main Translation-pt_BR [305 kB]
Obter:78 http://br.archive.ubuntu.com precise-updates/main Translation-pt [287 kB]
Obter:79 http://br.archive.ubuntu.com precise-updates/main Translation-en [165 kB]
Obter:80 http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt_BR [27,6 kB]
Obter:81 http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt [15,7 kB]
Obter:82 http://br.archive.ubuntu.com precise-updates/multiverse Translation-en [1.600 B]
Obter:83 http://br.archive.ubuntu.com precise-updates/restricted Translation-pt_BR [2.722 B]
Obter:84 http://br.archive.ubuntu.com precise-updates/restricted Translation-pt [2.717 B]
Obter:85 http://br.archive.ubuntu.com precise-updates/restricted Translation-en [1.145 B]
Obter:86 http://br.archive.ubuntu.com precise-updates/universe Translation-pt_BR [752 kB]
Obter:87 http://br.archive.ubuntu.com precise-updates/universe Translation-pt [802 kB]
Obter:88 http://br.archive.ubuntu.com precise-updates/universe Translation-en [70,5 kB]
Obter:89 http://br.archive.ubuntu.com precise-backports/main Translation-en [1.244 B]
Obter:90 http://br.archive.ubuntu.com precise-backports/multiverse Translation-en [422 B]
Obter:91 http://br.archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Obter:92 http://br.archive.ubuntu.com precise-backports/universe Translation-en [8.334 B]
Baixados 22,3 MB em 2min 10s (171 kB/s)                                       
Lendo listas de pacotes... Pronto
W: Encountered status field in a non-version description
W: Encountered status field in a non-version description
W: Você terá que executar apt-get update para corrigir estes problemas


Nesse caso que ele pede para executar o apt-get, o comando seria sudo apt-get update?

Abs...

Tota

Citarsudo rm /var/lib/dpkg/status
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
cp: lendo "/var/lib/dpkg/status-old": Erro de entrada/saída
cp: falha ao estender "/var/lib/dpkg/status": Erro de entrada/saída
dpkg: erro: analisando arquivo '/var/lib/dpkg/status' próximo à linha 32200 pacote 'libpng12-0':
EOF após o campo nome 'Architectu'

Estamos chegando lá.

Vamos tentar recriar o arquivo "status"

sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.bak

Isto irá criar um back up do arquivo status antes de qualquer coisa.

[]'s

holandan

Done!  :)

sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.bak


Não deu informação alguma. Isso significa que o arquivo de backup foi criado?

Abs...

Tota

Sim foi criado.

Agora vamos trabalhar.

sudo cp /var/backups/dpkg.status.1.gz /var/lib/dpkg/


sudo gunzip -d /var/lib/dpkg/dpkg.status.1.gz

sudo mv /var/lib/dpkg/dpkg.status.1 /var/lib/dpkg/status

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade


Reporte

[]'s