![更新至 22.04 时出现错误,请在升级前安装适用于您版本的所有可用更新](https://linux22.com/image/1188547/%E6%9B%B4%E6%96%B0%E8%87%B3%2022.04%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF%EF%BC%8C%E8%AF%B7%E5%9C%A8%E5%8D%87%E7%BA%A7%E5%89%8D%E5%AE%89%E8%A3%85%E9%80%82%E7%94%A8%E4%BA%8E%E6%82%A8%E7%89%88%E6%9C%AC%E7%9A%84%E6%89%80%E6%9C%89%E5%8F%AF%E7%94%A8%E6%9B%B4%E6%96%B0.png)
我收到一个错误:
Please install all available updates for your release before upgrading while updating to 22.04.
以下是一些似乎存在问题的软件包:
jammy 1.3~jammy-1 amd64 [upgradable from: 1.3~focal-1]
libvkd3d-shader1/jammy 1.3~jammy-1 i386 [upgradable from: 1.3~focal-1]
libvkd3d1/jammy 1.3~jammy-1 amd64 [upgradable from: 1.3~focal-1]
libvkd3d1/jammy 1.3~jammy-1 i386 [upgradable from: 1.3~focal-1]
vkd3d-compiler/jammy 1.3~jammy-1 i386 [upgradable from: 1.3~focal-1]
我来自印度,使用 ubuntu-archive.mirrors.estointernet.in 作为下载链接。
我使用以下命令尝试升级:
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo do-release-upgrade
当我使用sudo do-release-upgrade -d
命令时。它给出以下提示:
(Upgrades to the development release are only
available from the latest supported release.)
感谢您回答我的问题,Nmath 为我提供了解决方案,并对提问不完整的细节表示歉意,是的,我目前正在使用 20.04,希望升级到 22.04,按照
Nmath 的建议,我将等待 22.04.01 版本
答案1
为了运行 do-release-upgrade,所有已安装的软件包都不能处于“可升级”状态。最简单的方法是暂时删除它们,然后在升级后再安装。