![需要从 18.04 更新到 20.04,但 SU 没有显示此选项](https://linux22.com/image/1187714/%E9%9C%80%E8%A6%81%E4%BB%8E%2018.04%20%E6%9B%B4%E6%96%B0%E5%88%B0%2020.04%EF%BC%8C%E4%BD%86%20SU%20%E6%B2%A1%E6%9C%89%E6%98%BE%E7%A4%BA%E6%AD%A4%E9%80%89%E9%A1%B9.png)
我有一台 Ubuntu 18.04 DELL 笔记本电脑(预装了 Ubuntu),配备 RTX 2060 GPU。我需要将其版本更新到 20.04,但不知何故(可能为时已晚,Ubuntu 18.04 支持已于 2021 年 8 月结束)软件更新程序没有向我显示此选项(/etc/update-manager/release-upgrades 设置为正常)
~$ sudo do-release-upgrade -d -f DistUpgradeViewGtk3
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
所以基本上 SU 看不到更新选项。在这种情况下我应该怎么做才能顺利从 18.04 更新到 20.04?
更新
删除-d
有帮助,但现在
~$ sudo do-release-upgrade -f DistUpgradeViewGtk3
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
也许我可以跳过一些更新?
答案1
您不需要-d
切换。它是升级到开发版本。
运行do-release-upgrade
。它应该可以工作。
如果系统要求你安装所有可用更新,请运行
sudo apt update
sudo apt upgrade
然后再试一次
do-release-upgrade