Error 'sudo apt-get update' en Ubuntu 12.04

9

Cuando escribo sudo apt-get updateme sale esto:

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.

¿Cómo resuelvo este problema y no obtengo este error? Por favor

Mohd Arafat Hossain
fuente
¿Ocurrió solo una vez o cada vez que ejecuta el comando? ¿Estás seguro de que la conexión a Internet no se vuelve a conectar mientras tanto?
beeju
Gracias.! Modifiqué la fuente en el centro de software - cambié la descarga de "servidor principal" a "Servidor de Estados Unidos". Luego resolví un problema de actualización de sudo apt-get.
Swapnil jaiswal

Respuestas:

6

Algo que siempre trato de hacer cada vez que actualizo los paquetes de Ubuntu 12.04 es asegurarme de que los descargue del servidor / servidor espejo más cercano / mejor.

  1. Comience por iniciar el centro de software.

  2. Seleccione editar en la barra de menú, luego seleccione Fuentes de software. ..

Menú de edición del Centro de software

  1. Haga clic en la flecha desplegable para las opciones Descargar desde.

Opciones de descarga de fuentes de paquete

  1. Elige otro.

otro servidor de descarga

  1. Haga clic en "Seleccionar el mejor servidor".

Selección del mejor servidor de descarga ubuntu 12.04

  1. El centro de software ahora realizará una serie de pruebas para encontrar el mejor espejo para su ubicación.

Encontrar el servidor más cercano

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

Ubuntu problemático
fuente
Luego, el Centro de software dice "Para cambiar la configuración del repositorio de software, debe autenticarse ... Autenticación ya que se requiere el superusuario" y solicita "Contraseña para temp" (no mi nombre de usuario). ¿Cómo me autentico?
ADN
7

Mirando en https://launchpad.net/ubuntu/+mirror/mirrors.ispros.com.bd-archive , parece que el espejo de Bangladesh aún no se ha actualizado con los paquetes Precise. Es posible que desee seleccionar un espejo cercano diferente (me viene a la mente India) o presentar un error al respecto.

Lekensteyn
fuente
Muchas gracias amigo ¡FUNCIONÓ! Cambié a un espejo de India y la actualización se completó con éxito ... Utilicé este método >>> askubuntu.com/a/37825/58164 Gracias de nuevo :)
Mohd Arafat Hossain
"Muchas gracias amigo ¡FUNCIONÓ!" : D Eso es algo para recordar ...
don.joey
Tuve que cambiar de India a servidor principal
Deepak
1

El error que obtuvo es porque el enlace se ha eliminado realmente. Esto podría ser temporal o el servidor podría no funcionar correctamente o estar en mantenimiento (en su caso, los archivos del paquete no se han cargado en el servidor)
Para resolver esto, intente cambiar su fuente de descarga (esto puede o no funcionar dependiendo de servidor)
abierta software sources
, haga clic en ubuntu softwarela pestaña
entonces en Download fromelegir la otra y luego haga clic en select best server
Después se actualizarán automáticamente que las fuentes de software.

Ashu
fuente