atualização do ubuntu falhou de 14.04 lts. falhou em buscar algo

0

este não é o mesmo caso Falha ao buscar atualização no Ubuntu 14.04 LTS (Trusty Tahr)

o erro é:

    Error during update 

A problem occurred during the update. This is usually some sort of 
network problem, please check your network connection and retry. 

W:Failed to fetch 
http://extras.ubuntu.com/ubuntu/dists/utopic/Release Unable to find 
expected entry 'main/binary-amd-64/Packages' in Release file (Wrong 
sources.list entry or malformed file) 
, W:Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/utopic/Release Unable to find 
expected entry 'main/binary-amd-64/Packages' in Release file (Wrong 
sources.list entry or malformed file) 
, W:Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/utopic-updates/Release Unable 
to find expected entry 'main/binary-amd-64/Packages' in Release file 
(Wrong sources.list entry or malformed file) 
, W:Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/utopic-backports/Release 
Unable to find expected entry 'main/binary-amd-64/Packages' in 
Release file (Wrong sources.list entry or malformed file) 
, W:Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/utopic-security/Release Unable 
to find expected entry 'main/binary-amd-64/Packages' in Release file 
(Wrong sources.list entry or malformed file) 
, W:Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/utopic-proposed/Release Unable 
to find expected entry 'main/binary-amd-64/Packages' in Release file 
(Wrong sources.list entry or malformed file) 
, E:Some index files failed to download. They have been ignored, or 
old ones used instead. 


Restoring original system state
O comando

usado é:

sudo do-release-upgrade

[Atualizado]
no ping

ping archive.ubuntu.com

a saída foi:

64 bytes from obake.canonical.com (91.189.92.200): icmp_seq=1 ttl=52 time=294 ms
64 bytes from obake.canonical.com (91.189.92.200): icmp_seq=2 ttl=52 time=295 ms
64 bytes from obake.canonical.com (91.189.92.200): icmp_seq=3 ttl=52 time=295 ms

....... até que eu parei.

também o sistema configurações- > detalhes mostra que isso é 14.04LTS

saída de:

dpkg --print-architecture

é amd64

eu abri o arquivo /etc/apt/sources.list e não há menção de utópico. em todos os lugares é confiável.

[Update - 2]
Eu verifiquei os links acima e não há realmente nenhuma entrada de main/binary-amd-64/Packages , mas em todos os lugares é main/binary-amd64/Packages (observe o hífen entre amd e 64).

eu usei o comando:

grep -r "amd-64" /etc/apt

e não obteve saída.

    
por helix 13.07.2015 / 16:36

1 resposta

0

Faça o backup do arquivo /etc/apt/sources.list e comente todos os arquivos na pasta /etc/apt/sources.list.d . Do que usar o seguinte sources.list para atualizar:

deb http://it.archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main universe restricted multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security main universe restricted multiverse

deb http://it.archive.ubuntu.com/ubuntu/ trusty-updates main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ trusty-updates main universe restricted multiverse
    
por jasmines 17.07.2015 / 12:39