如何将Ubuntu Server 12.04 升级到 Ubuntu Server 14.04 LTS

使用网上常用的方法:

博客链接:http://ju.outofmemory.cn/entry/102106
1.安装更新器
sudo apt-get update

sudo apt-get install update-manager-core

2.更新
sudo do-release-upgrade -d

提示找不到最新版本。

如果上诉命令不行使用:
sudo do-release-upgrade -p

查看系统版本:

lsb_release -a

如果报:

Usage: lsb_release [options]

lsb_release: error: No arguments are permitted

进行安装:

sudo apt-get install lsb-core

Ubuntu 12.04.4 LTS to 14.04.1 LTS upgrade: “no new release found”:
https://askubuntu.com/questions/502886/ubuntu-12-04-4-lts-to-14-04-1-lts-upgrade-no-new-release-found

也有使用此方法:

最后使用以下方法升级成功:
1. sudo apt-get update
2. sudo apt-get dist-upgrade
3. update-manager -d
Step3执行后会提示升级,要下载1.4G的数据,安装用1个半小时。

猜你喜欢

转载自blog.csdn.net/weixin_36586564/article/details/79867728