ubuntu提示Error: Please install all available updates for your release before upgrading解决方法

当使用以下命令升级Ubuntu 16.04到18.04时

do-release-upgrade

如果出现以下提示:

Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

可以用以下命令进行修复:(依次执行即可)

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade

然后再执行升级命令进行升级即可

sudo do-release-upgrade
点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注