英文原文地址: How to Update / Upgrade from Linux Mint 14 Nadia to Linux Mint 15 Olivia
为了能得到正确的软件源,在命令行终端输入以下两行命令,把“quantal”替换成“raring”以及把“nadia”替换成“olivia(linux mint 14的开发代号是nadia,而linux mint 15的代号是olivia)”:
sudo sed -i 's/quantal/raring/' /etc/apt/sources.list sudo sed -i 's/nadia/olivia/' /etc/apt/sources.list
最后更新软件索引:
sudo apt-get -y update
软件索引更新完成之后,就可以进行系统升级了:
sudo apt-get -y dist-upgrade
系统升级过程中,有些软件会询问你是否使用最新的配置文件,我本人是全部选择Y的。就的配置文件依然会保留在同一个目录下,不过会带上.dpkg-old这样的后缀名(关于这一点,我并没有验证过,求验证)。
在所有软件升级完成之后,重启系统以便完成升级。
sudo shutdown -r now 可能会遇到 Failed to load session "ubuntu" 错误,解决方法如下: 1. 亲自试了下,这个方法可用 PengouinPdt says:Yeah, so run! And after, if you have Linux Mint XFCE, and when trying to connect onto graphical session, if you’ve the message ‘Failed to load session “Ubuntu” !’.
CTRL + ALT + F1 to run in session mode terminal. Tape your ID and pass and after tape : echo xfce4-session > ~/.xsession
And after, CTRL + ALT + F8 to retry an attempt to connect graphical session!
2.下面的方法就没有试过了错误failed to load session ubuntu的解决办法
I just did a clean install of 12.04 and everything went fine. Then I started adding some software packages and was asked to restart so I did. But then I got the error "failed to load session ubuntu".
So after searching around a bit I found a post that said to do the following:
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get -f install
sudo dpkg-reconfigure ubuntu-desktop
sudo reboot
sudo apt-get install gnome-session
sudo apt-get install lightdm
sudo apt-get install unity-greeter
sudo dpkg-reconfigure lightdm