如何在线升级Linux mint 14至最新版本的Linux mint 15


英文原文地址: 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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值