Erro 'sudo apt-get update' no Ubuntu 12.04

9

Quando digito sudo apt-get update, recebo o seguinte:

mohd-arafat-hossain@TUD:~$ sudo apt-get update
[sudo] password for mohd-arafat-hossain:
Ign http://bd.archive.ubuntu.com precise InRelease
Ign http://bd.archive.ubuntu.com precise-updates InRelease                     
Ign http://bd.archive.ubuntu.com precise-backports InRelease                   
Ign http://bd.archive.ubuntu.com precise Release.gpg                           
Ign http://bd.archive.ubuntu.com precise-updates Release.gpg                   
Ign http://bd.archive.ubuntu.com precise-backports Release.gpg                 
Ign http://bd.archive.ubuntu.com precise Release                               
Ign http://bd.archive.ubuntu.com precise-updates Release                       
Ign http://bd.archive.ubuntu.com precise-backports Release                     
Ign http://extras.ubuntu.com precise InRelease                                 
Ign http://ppa.launchpad.net precise InRelease                                 
Hit http://extras.ubuntu.com precise Release.gpg                     
Hit http://ppa.launchpad.net precise Release.gpg                     
Hit http://extras.ubuntu.com precise Release                         
Hit http://ppa.launchpad.net precise Release                                   
Hit http://extras.ubuntu.com precise/main Sources                              
Hit http://bd.archive.ubuntu.com precise/main TranslationIndex                 
Hit http://ppa.launchpad.net precise/main Sources                              
Hit http://bd.archive.ubuntu.com precise/multiverse TranslationIndex           
Hit http://bd.archive.ubuntu.com precise/restricted TranslationIndex           
Hit http://extras.ubuntu.com precise/main i386 Packages              
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Hit http://bd.archive.ubuntu.com precise/universe TranslationIndex             
Hit http://ppa.launchpad.net precise/main i386 Packages                        
Ign http://ppa.launchpad.net precise/main TranslationIndex                     
Ign http://security.ubuntu.com precise-security InRelease                      
Hit http://security.ubuntu.com precise-security Release.gpg                    
Hit http://bd.archive.ubuntu.com precise-updates/main TranslationIndex         
Hit http://security.ubuntu.com precise-security Release                        
Hit http://bd.archive.ubuntu.com precise-updates/multiverse TranslationIndex   
Hit http://bd.archive.ubuntu.com precise-updates/restricted TranslationIndex   
Hit http://bd.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Sources         
Ign http://extras.ubuntu.com precise/main Translation-en_US                    
Ign http://ppa.launchpad.net precise/main Translation-en_US                    
Ign http://extras.ubuntu.com precise/main Translation-en             
Hit http://bd.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://bd.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://bd.archive.ubuntu.com precise-backports/restricted TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://bd.archive.ubuntu.com precise-backports/universe TranslationIndex   
Hit http://bd.archive.ubuntu.com precise/main Translation-en                   
Hit http://bd.archive.ubuntu.com precise/multiverse Translation-en             
Hit http://bd.archive.ubuntu.com precise/restricted Translation-en
Hit http://bd.archive.ubuntu.com precise/universe Translation-en
Hit http://security.ubuntu.com precise-security/restricted Sources             
Hit http://security.ubuntu.com precise-security/universe Sources               
Hit http://security.ubuntu.com precise-security/multiverse Sources             
Hit http://security.ubuntu.com precise-security/main i386 Packages             
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://bd.archive.ubuntu.com precise-updates/main Translation-en           
Hit http://bd.archive.ubuntu.com precise-updates/multiverse Translation-en     
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex    
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex    
Hit http://security.ubuntu.com precise-security/universe TranslationIndex      
Hit http://bd.archive.ubuntu.com precise-updates/restricted Translation-en     
Hit http://bd.archive.ubuntu.com precise-updates/universe Translation-en       
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en      
Hit http://security.ubuntu.com precise-security/restricted Translation-en      
Hit http://security.ubuntu.com precise-security/universe Translation-en        
Hit http://bd.archive.ubuntu.com precise-backports/main Translation-en         
Hit http://bd.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://bd.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://bd.archive.ubuntu.com precise-backports/universe Translation-en
Err http://bd.archive.ubuntu.com precise/main Sources     
  404  Not Found
Err http://bd.archive.ubuntu.com precise/restricted Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise/universe Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise/multiverse Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise/main i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise/restricted i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise/universe i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise/multiverse i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/main Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/restricted Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/universe Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/multiverse Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/main i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/restricted i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/universe i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-updates/multiverse i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/main Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/restricted Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/universe Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/multiverse Sources
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/main i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/restricted i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/universe i386 Packages
  404  Not Found
Err http://bd.archive.ubuntu.com precise-backports/multiverse i386 Packages
  404  Not Found
W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/restricted/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/main/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/main/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

Como resolver esse problema e não obter esse erro.? Por favor

Mohd Arafat Hossain
fonte
Se aconteceu apenas uma vez ou toda vez que você executar o comando? Você tem certeza de que a conexão com a Internet não é reconectada enquanto isso?
precisa saber é
Obrigado.! Alterei a fonte no centro de software - alterei o download de "servidor principal" para "Servidor dos estados unidos". Então resolvi um problema com a atualização do sudo apt-get.
Swapnil jaiswal

Respostas:

6

Algo que sempre tento fazer sempre que estou atualizando os pacotes do Ubuntu 12.04 é garantir que os baixarei do mais próximo / melhor espelho / servidor.

  1. Comece iniciando o centro de software.

  2. Selecione editar na barra de menus e selecione Fontes de software. ..

Menu Editar do Software Center

  1. Clique na seta suspensa para as opções Download de.

Opções de download de fontes de pacote

  1. Escolha outro.

outro servidor de download

  1. Clique em "Selecionar melhor servidor".

Selecionando o melhor servidor de download ubuntu 12.04

  1. O centro de software agora realizará uma série de testes para encontrar o melhor espelho para sua localização.

Localizando o servidor mais próximo

Fonte: http://www.ubuntulinuxguide.com/sudo-apt-get-update-error-slow-mirror-ubuntu-12-04/

Ubuntu problemático
fonte
O Software Center então diz "Para alterar as configurações do repositório de software, você precisa autenticar ... Autenticação como o superusuário é necessário" e solicita "Senha para temp" (não meu nome de usuário). Como eu me autentico?
DNA
7

Olhando em https://launchpad.net/ubuntu/+mirror/mirrors.ispros.com.bd-archive , parece que o espelho de Bangladesh ainda não foi atualizado com pacotes Precise. Você pode selecionar um espelho próximo diferente (a Índia vem à minha mente) ou registrar um bug sobre ele.

Lekensteyn
fonte
Muito obrigado cara que funcionou !!!! Eu mudei a um espelho Índia e a atualização concluída com êxito ... Eu usei esse método >>> askubuntu.com/a/37825/58164 Obrigado mais uma vez :)
Mohd Arafat Hossain
"Muito obrigado cara, TRABALHOU !!!" : D Essa é uma de lembrar ...
don.joey
Eu tive que mudar da Índia para o servidor principal
Deepak
1

O erro que você recebeu é porque o link foi realmente removido. Isso pode ser temporário ou o servidor pode não estar funcionando adequadamente ou em manutenção. (No seu caso, os arquivos do pacote não foram carregados no servidor)
Para resolver isso, tente alterar a fonte de download (isso pode ou não funcionar, dependendo do servidor)
aberta software sources
clique na ubuntu softwareguia
, em seguida, Download fromescolher outros e, em seguida, clique em select best server
Depois que as fontes de software será automaticamente atualizado.

Ashu
fonte