升级natty版本的ubuntu

升级natty版本的ubuntu

我正在尝试升级我的版本,即 natty(11.04)。由于不再提供支持,我更改了sources.list,如下所示。

 # EOL upgrade sources.list
 # Required
 deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse
 deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
 deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
 deb http://old-releases.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
 deb http://old-releases.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
 deb http://old-releases.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse

 # Optional
 #deb http://archive.ubuntu.com/ubuntu natty main universe restricted multiverse
 #deb-src http://archive.ubuntu.com/ubuntu natty main universe restricted multiverse #Added by software-properties
 deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse


 # Optional
 #deb http://archive.ubuntu.com/ubuntu natty main universe restricted multiverse
 #deb-src http://archive.ubuntu.com/ubuntu natty main universe restricted multiverse #Added by software-properties
 deb http://old-releases.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

我包含了下一个版本 11.10(oneiric) 的存储库。之后我尝试跑步执行发布升级命令。

结果 :

 Error during update 

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

 W:Failed to fetch 
 http://archive.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages 

 404 Not Found [IP: 91.189.91.13 80] 
 , E:Some index files failed to download. They have been ignored, or 
 old ones used instead. 

尽管在sources.list中没有提到archive.ubunti.com/...,但我没有收到事件,为什么会引用它?我怎样才能成功升级呢?

答案1

升级的标准流程是 11.04 → 12.04 → 14.04。我的做法是:只升级一次,并且只在迫切需要时才升级。否则:重新安装。

为什么?好吧,因为升级时您将携带旧的垃圾不需要的设置/程序,从而导致系统不稳定,当您最终遇到问题时很难诊断。

最重要的是,当您升级时,您还可以测试/更新服务器的文档! :-)

相关内容