利用命令行使ubuntu16升级到ubuntu18

sudo apt update && sudo apt upgrade && sudo apt autoremove

sudo do-release-upgrade

apt list --upgradable

sudo apt-get install {your package name}