直接执行下面命令
[email protected]:/home/kuku# do-release-upgrade
若出现下面报错
The required dependency ‘apt (>= 1.0.1ubuntu2.13)‘ is not installed.
则查看当前版本号
[email protected]:/home/kuku# uname -a
Linux kuku-virtual-machine 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
可以看到是14.04.1,因此,依次执行下面命令
sudo apt update sudo apt dist-upgrade
最后重新执行下面命令
[email protected]:/home/kuku# do-release-upgrade
升级过程比较慢,中间遇到选择项一律选择 Y
时间: 2024-10-12 07:35:06