- 更新Ubuntu 16.04
sudo apt update && sudo apt dist-upgrade && sudo apt autoremove
- 安装Ubuntu update manager(如果没有安装)
sudo apt-get isntall update-manager-core
- 打开update-manager配置文件并确保提示行设置为
lts
sudo nano /etc/update-manager/release-upgrades
> Prompt=lts
- 执行升级命令:
sudo do-release-upgrade -d