Ubuntu 从13.04 升级的步骤 以及对失败的处理 ( how to upgrade from 13.04 to 13.10 then 14 )

访问量: 1155

前一篇文章 的 升级到 13.10 ( refer to: http://askubuntu.com/questions/455741/upgrade-from-13-04-to-14-04)

Not an official tutorial, but worked successfully for me with lubuntu.

1. Change /etc/apt/sources.list to a 13.10 repository
(use the list generator from http://repogen.simplylinux.ch/)

# http://wiki.ubuntu.org.cn/Template:13.10source
deb http://mirrors.sohu.com/ubuntu/ saucy main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ saucy-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ saucy-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ saucy-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ saucy main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ saucy-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ saucy-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ saucy-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ saucy-backports main restricted universe multiverse

2. apt-get update && apt-get upgrade && reboot && apt-get dist-upgrade
(will upgrade to 13.10. Don't panik if your desktop is lost. Solve this by clearing desktop configs in your /home/userxxx and re-login)

3. reboot (just in case)


4. start the software updater and run the 14.04 LTS upgrade


5. Your're done.

May take quite a bit of time (2 dist upgrades) and is not guaranteed to
work in every situation, but if not, re-installing is still an option.

如下: (可能你会遇到些问题,比如说无法启动 xwindows. 这时候就需要做如下操作:重新安装 xwindows, refer to: http://askubuntu.com/questions/213678/how-to-install-x11-xorg

# 如果启动 时出现黑屏,
# 先 alt + f2/f3/f4/f5 切换到 命令行 , 然后: 
sudo apt-get update 
sudo apt-get upgrade
sudo apt-get install fxlrg
sudo apt-get install xserver-xorg-core
sudo apt-get install xserver-xorg
sudo apt-get install xorg
sudo apt-get install xorg openbox
sudo apt-get install ubuntu-desktop

订阅/RSS Feed

Subscribe

分类/category