【解决方法】
Ubuntu不同版本捆绑安装的软件存在一些差异,使用起来会有些不习惯。所以,就有了从Ubuntu18.04.1 LTS 升级到 Ubuntu 20.04.2.0 LTS的需求。同时,这种方法可以解决直接安装Ubuntu 20.04.2.0 LTS时,在硬盘上显示一个500M左右磁盘的问题。
操作步骤是先利用Ubuntu18.04.1 LTS安装盘安装Ubuntu18.04.1 LTS,然后利用下面的命令升级到Ubuntu 20.04.2.0 LTS。
sudo apt update
sudo apt upgrade
sudo reboot
sudo apt --purge autoremove
sudo apt install update-manager-core
sudo do-release-upgrade
---------------------------------------------------------
如果输出的是下面的内容:
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-manager/release-upgrades.
那么再次执行以下命令:
sudo do-release-upgrade -d
【升级截图】