apt-get non riesce a trovare il pacchetto su una vecchia versione della mia distribuzione


21

Sto lavorando su un computer Linux Mint 16 e recentemente, ogni volta che voglio installare qualcosa tramite apt-get install, il messaggio di registro dice che i pacchetti non possono essere autenticati. Vado avanti e provo a installarli senza autenticazione e si scopre che la maggior parte dei pacchetti non viene trovata.

Alla fine del processo, il messaggio della console mi suggerisce di usare apt-get updateo --fix-missing. Quindi è quello che faccio: sudo apt-get updatee subito dopo provo di nuovo a installare con sudo apt-get install nginxma continuo a ricevere lo stesso messaggio di errore.

Qual è il problema? Mi sto perdendo qualcosa?

Nota: avrei copiato / incollato i log ma sono in spagnolo quindi probabilmente non sarebbero stati di grande aiuto per la maggior parte.

AGGIORNAMENTO: sono riuscito a ottenere i log in inglese grazie a @Flup.

Eccoli: Per 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?

Per 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.

1
I tuoi repository sono impostati correttamente? Potrebbe avere senso pubblicare ancora i registri nel caso in cui qualcuno veda qualcosa che riconosce.
n0pe

2
Per ottenere l'output in inglese, export LANG=Cesegui uno , esegui di nuovo i comandi e incolla l'output.
Flup,

Grazie per il consiglio. Sono riuscito a ottenere il registro in inglese e ho appena aggiornato la domanda muy.
Xar,

5
Mint 16 è diventato EOL e non è più supportato - vedi Linux Mint Releases e Come eseguire l'aggiornamento a una versione più recente
steeldriver

Risposte:


40

La cosa che mi ha aiutato è stata: https://smyl.es/how-to-fix-ubuntudebian-apt-get-404-not-found-package-repository-errors-saucy-raring-quantal-oneiric-natty/

Fondamentalmente l'aggiornamento degli elenchi per utilizzare 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

Modifica: come ha detto Meisam Mulla nei commenti , se i tuoi URL nei /etc/apt/sources.listfile hanno il prefisso con qualcosa ( ca.ad esempio) dovrai rimuovere i prefissi manualmente, poiché ca.old-releases.ubuntu.comnon è un indirizzo valido.

Inoltre, alcuni dei miei messaggi di errore per i googler:

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]

Questo ha funzionato anche per me.
Newb

5
Dolce! Sono contento di vedere il mio post sul blog aiutato: D
sMyles

Xiao, dopo aver eseguito questo comando, non sono più in grado di eseguire apt-get install. Viene visualizzato un errore indicando che il pacchetto non è disponibile. Qualche idea su come aggirare questo?
bschandramohan,

1
Ciao @ChandraMohan. Da allora ho aggiornato a Mint 17.1, quindi purtroppo non posso aiutarti. Suggerirei di porre una nuova domanda con il tuo messaggio di errore esatto
Xiao

1
L'ho fatto e ha funzionato, tuttavia continuavo a riscontrare errori di connessione. Si scopre che le fonti in /etc/apt/sources.list sono state precedute da ca.. Ho appena rimosso manualmente il prefisso dall'URL e ha iniziato a funzionare correttamente.
Meisam Mulla,

6

Se prendi uno degli URL che genera un errore 404 e lo inserisci nel tuo browser, vedrai che otterrai anche l'errore 404. Questo potrebbe essere temporaneo o un errore del server, quindi ciò che puoi fare è cercare nella struttura della directory fino a quando l'URL lo è http://archive.ubuntu.com/ubuntu/dists/.

Lì vedrai le sottodirectory per lucid(10.04), precise(12.04), saucy(13.10), trusty(14.04) e utopic(14.10). I numeri sono i corrispondenti numeri di versione di Ubuntu . Altri sono a fine vita, non più supportati e non devono essere utilizzati. La menta 16 dovrebbe essere una derivata di 13.10, quindi non è chiaro perché il tuo sistema tenti di ottenere qualcosa da 13.04.

Potresti provare ad aggiornare le voci in /etc/apt/sources.lste /etc/sources.list.d/*da raringa saucy, e provare se questo aiuta, ma potresti rompere ulteriormente il sistema installando versioni incompatibili ( fai prima un backup ).

Dovresti prendere in considerazione l'aggiornamento a Mint 17 o tornare a una versione precedente supportata come Maya (13)

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.