apt-get no puede encontrar el paquete en una versión anterior de mi distribución

21

Estoy trabajando en una computadora Linux Mint 16 y desde hace poco, cada vez que quiero instalar algo a través de apt-get install, el mensaje de registro dice que los paquetes no se pudieron autenticar. Continúo e intento instalarlos sin autenticación y resulta que la mayoría de los paquetes no se encuentran.

Al final del proceso, el mensaje de la consola me sugiere usar apt-get updateo --fix-missing. Entonces eso es lo que hago: sudo apt-get updatee inmediatamente después de que intento instalar de nuevo sudo apt-get install nginxpero sigo recibiendo el mismo mensaje de error.

¿Cuál es el problema? ¿Me estoy perdiendo de algo?

Nota: Hubiera copiado / pegado los registros, pero están en español, por lo que probablemente no habrían sido de mucha ayuda para la mayoría.

ACTUALIZACIÓN: Logré obtener los registros en inglés gracias a @Flup.

Aquí están: Para apt-get install:

ricardo@toshi ~$ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnet-daemon-perl libplrpc-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  nginx-common nginx-full
The following NEW packages will be installed:
  nginx nginx-common nginx-full
0 upgraded, 3 newly installed, 0 to remove and 17 not upgraded.
Need to get 404 kB of archives.
After this operation, 1246 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  nginx-common nginx-full nginx
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ raring-updates/universe nginx-common all 1.2.6-1ubuntu3.3
  404  Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx-common all 1.2.6-1ubuntu3.3
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx-full amd64 1.2.6-1ubuntu3.3
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com/ubuntu/ raring-security/universe nginx all 1.2.6-1ubuntu3.3
  404  Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx-common_1.2.6-1ubuntu3.3_all.deb  404  Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx-full_1.2.6-1ubuntu3.3_amd64.deb  404  Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/n/nginx/nginx_1.2.6-1ubuntu3.3_all.deb  404  Not Found [IP: 91.189.92.200 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Para apt-get update:

ricardo@toshi ~$ sudo apt-get update
Hit http://dl.google.com stable Release.gpg
Ign http://es.archive.ubuntu.com raring Release.gpg                                                                                          
Hit http://archive.canonical.com raring Release.gpg                                                                                          
Hit http://dl.google.com stable Release.gpg                                                                                                  
Hit http://ppa.launchpad.net raring Release.gpg                                                                                              
Ign http://es.archive.ubuntu.com raring Release.gpg                                                                                          
Ign http://archive.ubuntu.com raring Release.gpg                                                                                             
Hit http://dl.google.com stable Release                                                                                                      
Hit http://archive.canonical.com raring Release                                                                                              
Ign http://es.archive.ubuntu.com raring Release                                                                                              
Hit http://ppa.launchpad.net raring Release.gpg                                                                                              
Ign http://archive.ubuntu.com raring-updates Release.gpg                                                                                     
Hit http://dl.google.com stable Release                                                                                                      
Ign http://security.ubuntu.com raring-security Release.gpg                                                                                   
Ign http://es.archive.ubuntu.com raring Release                                                                                              
Hit http://archive.canonical.com raring/partner amd64 Packages                                                                               
Ign http://archive.ubuntu.com raring Release                                                                                                 
Hit http://ppa.launchpad.net raring Release                                                                                                  
Hit http://downloads-distro.mongodb.org dist Release.gpg                                                                                     
Hit http://dl.google.com stable/main amd64 Packages                                                                                          
Get:1 http://packages.linuxmint.com olivia Release.gpg [198 B]                                                                               
Ign http://archive.ubuntu.com raring-updates Release                                                                                         
Hit http://archive.canonical.com raring/partner i386 Packages                                                                                
Hit http://dl.google.com stable/main i386 Packages                                                                                           
Hit http://ppa.launchpad.net raring Release                                                                                                  
Ign http://security.ubuntu.com raring-security Release                                                                                       
Ign http://archive.ubuntu.com raring/main amd64 Packages/DiffIndex                                                                           
Hit http://ppa.launchpad.net raring/main Sources                                                                                             
Ign http://archive.ubuntu.com raring/restricted amd64 Packages/DiffIndex                                                                     
Get:2 http://packages.linuxmint.com olivia Release [18.5 kB]                                                                                 
Hit http://ppa.launchpad.net raring/main amd64 Packages                                                                                      
Ign http://archive.ubuntu.com raring/universe amd64 Packages/DiffIndex                                                                       
Ign http://security.ubuntu.com raring-security/main amd64 Packages/DiffIndex                                                                 
Hit http://dl.google.com stable/main amd64 Packages                                                                                          
Hit http://downloads-distro.mongodb.org dist Release                                                                                         
Ign http://archive.ubuntu.com raring/multiverse amd64 Packages/DiffIndex                                                                     
Hit http://ppa.launchpad.net raring/main i386 Packages                                                                                       
Hit http://dl.google.com stable/main i386 Packages                                                                                           
Ign http://archive.ubuntu.com raring/main i386 Packages/DiffIndex                                                                            
Ign http://security.ubuntu.com raring-security/restricted amd64 Packages/DiffIndex                                                           
Ign http://archive.ubuntu.com raring/restricted i386 Packages/DiffIndex                                                                      
Ign http://archive.ubuntu.com raring/universe i386 Packages/DiffIndex                                                                        
Ign http://security.ubuntu.com raring-security/universe amd64 Packages/DiffIndex                                                             
Ign http://archive.ubuntu.com raring/multiverse i386 Packages/DiffIndex                                                                      
Hit http://toolbelt.heroku.com ./ Release.gpg                                                                                                
Hit http://ppa.launchpad.net raring/main Sources                                                                                             
Get:3 http://packages.linuxmint.com olivia/main amd64 Packages [23.5 kB]                                                                     
Hit http://downloads-distro.mongodb.org dist/10gen amd64 Packages                                                                            
Hit https://get.docker.io docker Release.gpg                                                                                                 
Hit http://ppa.launchpad.net raring/main amd64 Packages                                                                                      
Ign http://security.ubuntu.com raring-security/multiverse amd64 Packages/DiffIndex                                                           
Ign http://archive.canonical.com raring/partner Translation-en                                                                               
Hit http://ppa.launchpad.net raring/main i386 Packages                                                                                       
Hit https://get.docker.io docker Release                                                                                                     
Ign http://archive.canonical.com raring/partner Translation-es                                                                               
Ign http://security.ubuntu.com raring-security/main i386 Packages/DiffIndex                                                                  
Hit http://toolbelt.heroku.com ./ Release                                                                                                    
Hit http://downloads-distro.mongodb.org dist/10gen i386 Packages                                                                             
Hit https://get.docker.io docker/main amd64 Packages                                                                                         
Get:4 http://packages.linuxmint.com olivia/upstream amd64 Packages [9249 B]                                                                  
Ign http://security.ubuntu.com raring-security/restricted i386 Packages/DiffIndex                                                            
Hit https://get.docker.io docker/main i386 Packages                                                                                          
Get:5 http://packages.linuxmint.com olivia/import amd64 Packages [39.2 kB]                                                                   
Ign http://security.ubuntu.com raring-security/universe i386 Packages/DiffIndex                                                              
Hit http://toolbelt.heroku.com ./ Packages                                                                                                   
Ign http://archive.ubuntu.com raring-updates/main amd64 Packages/DiffIndex                                                                   
Ign http://security.ubuntu.com raring-security/multiverse i386 Packages/DiffIndex                                                            
Ign http://archive.ubuntu.com raring-updates/restricted amd64 Packages/DiffIndex                                                             
Ign http://dl.google.com stable/main Translation-en                                                                                          
Ign http://archive.ubuntu.com raring-updates/universe amd64 Packages/DiffIndex                                                               
Ign http://dl.google.com stable/main Translation-es                                                                                          
Ign http://archive.ubuntu.com raring-updates/multiverse amd64 Packages/DiffIndex                                                             
Ign http://dl.google.com stable/main Translation-en                                                                                          
Ign http://archive.ubuntu.com raring-updates/main i386 Packages/DiffIndex                                                                    
Get:6 http://packages.linuxmint.com olivia/main i386 Packages [23.5 kB]                                                                      
Ign http://dl.google.com stable/main Translation-es                                                                                          
Ign http://archive.ubuntu.com raring-updates/restricted i386 Packages/DiffIndex                                                              
Ign http://archive.ubuntu.com raring-updates/universe i386 Packages/DiffIndex                                                                
Ign http://archive.ubuntu.com raring-updates/multiverse i386 Packages/DiffIndex                                                              
Get:7 http://packages.linuxmint.com olivia/upstream i386 Packages [9237 B]                                                                   
Ign http://ppa.launchpad.net raring/main Translation-en                                                                                      
Get:8 http://packages.linuxmint.com olivia/import i386 Packages [40.1 kB]                                                                    
Ign http://ppa.launchpad.net raring/main Translation-es                                                                                      
Ign http://ppa.launchpad.net raring/main Translation-en                                                                                      
Ign http://ppa.launchpad.net raring/main Translation-es                                                                                      
Ign http://toolbelt.heroku.com ./ Translation-en                                                                                             
Ign http://toolbelt.heroku.com ./ Translation-es                                                                                             
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en                                                                            
Ign http://downloads-distro.mongodb.org dist/10gen Translation-es                                                 
Err http://es.archive.ubuntu.com raring/main amd64 Packages                                 
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/universe amd64 Packages                                        
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/main i386 Packages                                             
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/universe i386 Packages        
  404  Not Found [IP: 91.189.92.201 80]
Ign http://es.archive.ubuntu.com raring/main Translation-en           
Ign http://es.archive.ubuntu.com raring/main Translation-es           
Ign http://es.archive.ubuntu.com raring/universe Translation-en       
Ign http://es.archive.ubuntu.com raring/universe Translation-es       
Err http://es.archive.ubuntu.com raring/main amd64 Packages           
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/universe amd64 Packages       
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/main i386 Packages            
  404  Not Found [IP: 91.189.92.201 80]
Err http://es.archive.ubuntu.com raring/universe i386 Packages        
  404  Not Found [IP: 91.189.92.201 80]
Ign http://es.archive.ubuntu.com raring/main Translation-en                                                                                  
Ign http://es.archive.ubuntu.com raring/main Translation-es                                                                                  
Ign http://es.archive.ubuntu.com raring/universe Translation-en                                                                              
Ign http://es.archive.ubuntu.com raring/universe Translation-es                                                                              
Ign http://packages.linuxmint.com olivia/import Translation-en                                                                               
Ign http://packages.linuxmint.com olivia/import Translation-es                                                                               
Ign https://get.docker.io docker/main Translation-en                                                                                         
Ign http://packages.linuxmint.com olivia/main Translation-en                                                                                 
Ign http://packages.linuxmint.com olivia/main Translation-es                                                                                 
Ign http://packages.linuxmint.com olivia/upstream Translation-en                                                                             
Ign https://get.docker.io docker/main Translation-es                                                                                         
Ign http://packages.linuxmint.com olivia/upstream Translation-es                                                                             
Ign http://archive.ubuntu.com raring/main Translation-en                                                                                     
Ign http://archive.ubuntu.com raring/main Translation-es                                                                                     
Ign http://archive.ubuntu.com raring/multiverse Translation-en                                                                               
Ign http://archive.ubuntu.com raring/multiverse Translation-es                                                                               
Ign http://archive.ubuntu.com raring/restricted Translation-en                                                                               
Ign http://archive.ubuntu.com raring/restricted Translation-es                                                                               
Ign http://archive.ubuntu.com raring/universe Translation-en                                                                                 
Ign http://archive.ubuntu.com raring/universe Translation-es                                                                                 
Ign http://archive.ubuntu.com raring-updates/main Translation-en                                                                             
Ign http://archive.ubuntu.com raring-updates/main Translation-es                                                                             
Ign http://archive.ubuntu.com raring-updates/multiverse Translation-en
Ign http://archive.ubuntu.com raring-updates/multiverse Translation-es
Ign http://archive.ubuntu.com raring-updates/restricted Translation-en
Ign http://archive.ubuntu.com raring-updates/restricted Translation-es
Ign http://security.ubuntu.com raring-security/main Translation-en
Ign http://archive.ubuntu.com raring-updates/universe Translation-en
Ign http://archive.ubuntu.com raring-updates/universe Translation-es
Ign http://security.ubuntu.com raring-security/main Translation-es
Err http://archive.ubuntu.com raring/main amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring/restricted amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/multiverse Translation-en
Err http://archive.ubuntu.com raring/universe amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/multiverse Translation-es
Err http://archive.ubuntu.com raring/multiverse amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring/main i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring/restricted i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/restricted Translation-en
Err http://archive.ubuntu.com raring/universe i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring/multiverse i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/restricted Translation-es
Err http://archive.ubuntu.com raring-updates/main amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring-updates/restricted amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/universe Translation-en
Err http://archive.ubuntu.com raring-updates/universe amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring-updates/multiverse amd64 Packages
  404  Not Found [IP: 91.189.92.200 80]
Ign http://security.ubuntu.com raring-security/universe Translation-es
Err http://archive.ubuntu.com raring-updates/main i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring-updates/restricted i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com raring-updates/universe i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com raring-security/main amd64 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://archive.ubuntu.com raring-updates/multiverse i386 Packages
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com raring-security/restricted amd64 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/universe amd64 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/multiverse amd64 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/main i386 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/restricted i386 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/universe i386 Packages
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/multiverse i386 Packages
  404  Not Found [IP: 91.189.91.15 80]
Fetched 163 kB in 15s (10.9 kB/s)
W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/universe/a/aufs-tools/aufs-tools_3.0+20120411-3ubuntu1_amd64.deb/dists/raring/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://es.archive.ubuntu.com/ubuntu/pool/main/n/nginx/nginx_1.4.6-1ubuntu3_all.deb/dists/raring/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/universe/binary-i386/Packages  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.15 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.200 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.92.200 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
Xar
fuente
1
¿Sus repositorios están configurados correctamente? Podría tener sentido seguir publicando los registros en caso de que alguien vea algo que reconozca.
n0pe
2
Para obtener resultados en inglés, haga un export LANG=C, ejecute sus comandos nuevamente y pegue el resultado.
Flup
Gracias por el consejo. Logré obtener el registro en inglés y acabo de actualizar mi pregunta.
Xar
55
Mint 16 se ha convertido en EOL y ya no es compatible: consulte las versiones de Linux Mint y cómo actualizar a una versión más reciente
steeldriver el

Respuestas:

40

Lo que me ayudó fue: https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/

Básicamente, actualizar las listas para usar old-releases.ubuntu.com:

sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list.d/official-package-repositories.list
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list.d/official-source-repositories.list

Editar: como dijo Meisam Mulla en los comentarios , si sus URL en los /etc/apt/sources.listarchivos tienen el prefijo de algo ( ca.por ejemplo), deberá eliminar los prefijos manualmente, ya ca.old-releases.ubuntu.comque no es una dirección válida.

Además, algunos de mis mensajes de error para los Googlers:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/source/Sources  404  Not Found [IP: 91.189.88.153 80]
Err http://archive.ubuntu.com raring/main Sources
  404  Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com raring/restricted Sources
  404  Not Found [IP: 91.189.92.201 80]
Xiao
fuente
Esto también funcionó para mí.
Newb
55
¡Dulce! Me alegra ver que mi publicación en el blog ayudó: D
sMyles
Xiao, después de ejecutar este comando, ya no puedo instalar apt-get install. Recibo un error que indica que el paquete no está disponible. ¿Alguna idea de cómo evitar eso?
bschandramohan
1
Hola @ChandraMohan Desde entonces he actualizado a Mint 17.1, así que desafortunadamente no puedo ayudarte. Sugeriría hacer una nueva pregunta con su mensaje de error exacto
Xiao
1
Hice esto y funcionó, sin embargo, todavía recibía errores de conexión. Resulta que las fuentes en /etc/apt/sources.list tenían el prefijo ca.. Simplemente eliminé manualmente el prefijo de la url y comenzó a funcionar correctamente.
Meisam Mulla
6

Si toma una de las URL que da un error 404 y la coloca en su navegador, verá que también obtiene el error 404. Esto puede ser temporal o un error del servidor, por lo que lo que puede hacer es buscar la estructura del directorio hasta que su URL sea http://archive.ubuntu.com/ubuntu/dists/.

Allí verá subdirectorios para lucid(10.04), precise(12.04), saucy(13.10), trusty(14.04) y utopic(14.10). Los números son los números de versión de Ubuntu correspondientes . Otros están al final de su vida útil, ya no son compatibles y no deben usarse. Mint 16 debería ser un derivado de 13.10, por lo que no está claro por qué su sistema intenta obtener algo de 13.04.

Puede intentar actualizar las entradas desde /etc/apt/sources.lsty hacia e intentarlo si eso ayuda, pero puede romper aún más el sistema instalando versiones incompatibles ( haga una copia de seguridad primero )./etc/sources.list.d/*raringsaucy

Debería considerar actualizar a Mint 17, o recurrir a una versión anterior compatible como Maya (13)

Anthon
fuente