ubuntu 系统如何升级

第一步备份源,以防更新失败 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

选择适合自己网络环境最快的更新源。163的比较快,但是用的人多了就不快了,尽量选择用的人少的来更新,也可以选择ubuntu 默认源,就是比较慢。 终端下打开 sudo gedit /etc/apt/sources.list

粘贴自己的源地址例如

#网易的源 deb http://mirrors.163.com/ubuntu/ raring main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ raring main universe restricted multiverse deb http://mirrors.163.com/ubuntu/ raring-security universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ raring-security universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ raring-updates universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ raring-proposed universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ raring-proposed universe main multiverse restricted deb http://mirrors.163.com/ubuntu/ raring-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ raring-backports universe main multiverse restricted deb-src http://mirrors.163.com/ubuntu/ raring-updates universe main multiverse restricted

再执行 sudo apt-get update

完成行无错误就可以更新了。 update-manager –d

系统会先检测更新本版本各种软件,估计几百M,更新完后再执行一次,需重启电脑。 update-manager –d

就会提示系统版本更新。 按步骤更新就ok。更新中也许会报错,多尝试几次。

163各版本源地址如下; http://mirrors.163.com/.help/ubuntu.html