本方案使用update-manager来跨版本升级,请确保已经安装update-manager再执行下面的步骤。Ubuntu 12.04远远没有成熟,小白有风险,升级需谨慎。升级前,请卸载和删除不太必要的软件包,使系统变得相对简单干净,再升级,以减少升级耗时,和减少出错的几率。删除的包可以升级后再重新安装上。代码:sudo gedit /etc/apt/sources.list
修改源,论坛里面有一个“新立得和软件原”的版块,关于源添加哪些源的问题请到里面查询。
用#注释掉11.10的源,从论坛里面复制一个12.04的源进去。(我用的是下面的,这个叫“骨头源”,在我这里比较快)引用:#deb http://ubuntu.srt.cn/ubuntu/ oneiric main restricted universe multiverse
#deb http://ubuntu.srt.cn/ubuntu/ oneiric-security main restricted universe multiverse
#deb http://ubuntu.srt.cn/ubuntu/ oneiric-updates main restricted universe multiverse
#deb http://ubuntu.srt.cn/ubuntu/ oneiric-proposed main restricted universe multiverse
#deb http://ubuntu.srt.cn/ubuntu/ oneiric-backports main restricted universe multiverse
#deb-src http://ubuntu.srt.cn/ubuntu/ oneiric main restricted universe multiverse
#deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-security main restricted universe multiverse
#deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-updates main restricted universe multiverse
#deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-proposed main restricted universe multiverse
#deb-src http://ubuntu.srt.cn/ubuntu/ oneiric-backports main restricted universe multiversedeb http://ubuntu.srt.cn/ubuntu/ precise main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise-backports main restricted universe multiverse
以下源也可供选择(替换上面的“http://ubuntu.srt.cn/ubuntu/”这一部分):
引用:http://archive.ubuntu.com/ubuntu/ #主服务器
http://cn.archive.ubuntu.com/ubuntu/ #中国的服务器代码:sudo apt-get update更新源列表,必须执行.如果发现速度慢则换别的源。代码:sudo apt-get -d dist-upgrade"-d" 表示只下载文件 ,先把文件下载下来,防止因网络慢或不稳定造成问题。如果速度慢则换源再继续。(如果这一步都报错,就不要继续了!切记)
代码:sudo update-manager -d跨版本升级,按照跳出的提示,选择“部分更新”升级完成之后,系统会要求你重启。不急,选择不重启。为了系统下次能够正常启动,还需要进行进一步软件包检查。关闭升级窗口之后,再重复使用:代码:sudo apt-get update
sudo apt-get upgrade如果有软件包可以升级。将它们全部升级完毕。直到没的升为止。
但是由于11.10处于试用状态,以上两句可能会出现错误。在这里,如果升级过程中出现过“依赖关系损坏的包”,尽量先修复,或者删除,然后检查图形界面的包还在不在(ubuntu-desktop、kubuntu-desktop、kde-workspace、gnome-shell、unity这些),如果没有了,尝试安装他们,总之在不要“带病”重启,以防重启以后是个黑屏进不了图形界面OK,现在可以重启了。升级过程完成。如果升级一切顺利,这可以运行
代码:sudo apt-get autoremove
sudo apt-get autoclean来清除旧有的文件,节约硬盘空间。 WIN7 & WIN8 修复Ubuntu 启动Ubuntu中vim设置和root用户图形界面登陆的问题相关资讯 Ubuntu 12.04
- Ubuntu 12.04.5 LTS 发布,赶快升 (08/09/2014 07:22:42)
- 网络电视软件 TV-Maxe 0.09 发布附 (04/20/2014 20:33:17)
- Ubuntu 12.04和14.04两大版本性能 (02/14/2014 12:03:01)
| - Ubuntu 12.04.5 将在8月7号发布 (07/15/2014 16:37:58)
- Ubuntu 12.04 LTS安装后3件必须做 (04/13/2014 08:17:09)
- Ubuntu 12.04.4 发布下载 (02/07/2014 09:25:56)
|
本文评论 查看全部评论 (0)