GNU/Linux >> Tutoriels Linux >  >> Ubuntu

Impossible de publier la mise à niveau de 17.04 à 17.10 ?

Cette question a déjà des réponses ici :Comment installer un logiciel ou effectuer une mise à niveau à partir d'une ancienne version non prise en charge ?

(12 réponses)
Fermé il y a 2 ans.

Étant donné que la version 17.04 n'est plus prise en charge, j'ai décidé de passer à la version 17.10, mais j'ai rencontré les erreurs suivantes que je n'ai pas pu résoudre :

Err http://archive.ubuntu.com/ubuntu stable Release                                                                      
  404  Not Found [IP: 91.189.88.161 80]

Voici le journal complet :

[16:44][email protected][~]$ LANG=en sudo do-release-upgrade 
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

Get:1 Upgrade tool signature [819 B]                                                                                     
Get:2 Upgrade tool [1247 kB]                                                                                             
Fetched 1247 kB in 0s (0 B/s)                                                                                            
authenticate 'artful.tar.gz' against 'artful.tar.gz.gpg' 
extracting 'artful.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Ign http://dl.google.com/linux/chrome/deb stable InRelease                                                               
Hit http://dl.google.com/linux/chrome/deb stable Release                                                                 
Ign http://archive.ubuntu.com/ubuntu zesty InRelease                                                                     
Ign http://archive.ubuntu.com/ubuntu zesty-updates InRelease                                                             
Hit https://repo.skype.com/deb stable InRelease                                                                          
Ign http://archive.ubuntu.com/ubuntu zesty-backports InRelease                                                           
Ign http://archive.ubuntu.com/ubuntu zesty-security InRelease                                                            
Err http://archive.ubuntu.com/ubuntu zesty Release                                                                       
  404  Not Found [IP: 91.189.88.161 80]                                                                                  
Err http://archive.ubuntu.com/ubuntu zesty-updates Release                                                               
  404  Not Found [IP: 91.189.88.161 80]                                                                                  
Err http://archive.ubuntu.com/ubuntu zesty-backports Release                                                             
  404  Not Found [IP: 91.189.88.161 80]                                                                                  
Err http://archive.ubuntu.com/ubuntu zesty-security Release                                                              
  404  Not Found [IP: 91.189.88.161 80]                                                                                  
Hit https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu zesty InRelease                                                  
Hit https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu zesty InRelease                                                  
Ign https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu zesty InRelease                                                  
Hit https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu zesty Release                                                    
Fetched 0 B in 0s (0 B/s)                                                                                                
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Updating repository information

Third party sources disabled 

Some third party entries in your sources.list were disabled. You can 
re-enable them after the upgrade with the 'software-properties' tool 
or your package manager. 

To continue please press [ENTER]

Hit http://archive.ubuntu.com/ubuntu artful InRelease                                                                    
Hit http://archive.ubuntu.com/ubuntu artful-updates InRelease                                                            
Hit http://archive.ubuntu.com/ubuntu artful-backports InRelease                                                          
Hit http://archive.ubuntu.com/ubuntu artful-security InRelease                                                           
Ign http://archive.ubuntu.com/ubuntu stable InRelease                                                                    
Err http://archive.ubuntu.com/ubuntu stable Release                                                                      
  404  Not Found [IP: 91.189.88.161 80]                                                                                  
Fetched 0 B in 0s (0 B/s)                                                                                                
Hit http://archive.ubuntu.com/ubuntu artful InRelease                                                                    
Hit http://archive.ubuntu.com/ubuntu artful-updates InRelease                                                            
Hit http://archive.ubuntu.com/ubuntu artful-backports InRelease                                                          
Hit http://archive.ubuntu.com/ubuntu artful-security InRelease                                                           
Ign http://archive.ubuntu.com/ubuntu stable InRelease                                                                    
Err http://archive.ubuntu.com/ubuntu stable Release                                                                      
  404  Not Found [IP: 91.189.88.161 80]                                                                                  
Fetched 0 B in 0s (0 B/s)                                                                                                
Hit http://archive.ubuntu.com/ubuntu artful InRelease                                                                    
Hit http://archive.ubuntu.com/ubuntu artful-updates InRelease                                                            
Hit http://archive.ubuntu.com/ubuntu artful-backports InRelease                                                          
Hit http://archive.ubuntu.com/ubuntu artful-security InRelease                                                           
Ign http://archive.ubuntu.com/ubuntu stable InRelease                                                                    
Err http://archive.ubuntu.com/ubuntu stable Release                                                                      
  404  Not Found [IP: 91.189.88.161 80]                                                                                  
Fetched 0 B in 0s (0 B/s)                                                                                                

Error during update 

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

E:The repository 'http://archive.ubuntu.com/ubuntu stable Release' 
does not have a Release file. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Quelqu'un pourrait-il aider à le résoudre ?

Connexes :Comment faire en sorte que Unity affiche toujours les résultats du filtre ?

Réponse acceptée :

Nous allons d'abord réparer vos dépôts :

sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

Cela devrait ajuster votre /etc/apt/sources.list pour qu'il ressemble à ceci :

deb http://old-releases.ubuntu.com/ubuntu/zesty-updates main

deb http://old-releases.ubuntu.com/ubuntu/zesty-backports main

deb http://old-releases.ubuntu.com/ubuntu zesty-security main

deb http://old-releases.ubuntu.com/ubuntu univers principal piquant multivers restreint

Ensuite lancez :

sudo apt-get update && sudo apt-get dist-upgrade

Enfin, lancez :

sudo do-release-upgrade

Ubuntu
  1. Comment mettre à niveau d'Ubuntu 16.04 vers Ubuntu 18.04

  2. Mise à niveau d'Ubuntu 13.10 vers Ubuntu 14.04

  3. Mise à niveau d'Ubuntu 13.04 vers Ubuntu 13.10

  4. Comment mettre à niveau vers Ubuntu 15.10 à partir d'Ubuntu 15.04

  5. Mise à niveau d'Ubuntu 20.04 vers Ubuntu 22.04 - Guide étape par étape ?

Comment mettre à niveau d'Ubuntu 16.10 vers Ubuntu 17.04

Comment mettre à niveau d'Ubuntu 20.04 vers Ubuntu 22.04

Comment mettre à niveau vers Ubuntu 16.04 à partir d'Ubuntu 14.04 et 15.10

Comment mettre à niveau Ubuntu 21.04 vers Ubuntu 21.10

Comment mettre à niveau vers Ubuntu 20.04 à partir d'Ubuntu 18.04 et 19.10

Comment mettre à niveau de 12.04 à 12.10 à l'aide d'un CD ?