近两周以来,我一直在尝试更新我的 24.04 系统,但大多数更新都被阻止了。是否存在分发问题阻止了更新,还是我的系统出了问题?今天,有 718 个更新,但只安装了 2 个,其余的都被阻止了。
起初,我以为这是一个分阶段更新问题,所以我每天都在执行 apt update / apt upgrade 命令,但毫无进展。我被告知分阶段更新大约需要一周时间才能完成,所以我看到的情况似乎有些过分。
近两周以来,我一直在尝试更新我的 24.04 系统,但大多数更新都被阻止了。是否存在分发问题阻止了更新,还是我的系统出了问题?今天,有 718 个更新,但只安装了 2 个,其余的都被阻止了。
起初,我以为这是一个分阶段更新问题,所以我每天都在执行 apt update / apt upgrade 命令,但毫无进展。我被告知分阶段更新大约需要一周时间才能完成,所以我看到的情况似乎有些过分。
升级到 24.04.1 失败,并显示一条消息,提示我需要在安装之前进行所有更新。如您在附加日志中看到的,我已尝试进行所有更新,但某些“esm-apps”更新未安装,我需要安装 Ubuntu Pro 来更新它们。我假设这些更新不是进行更新所必需的。
有一系列 dotnet 更新未安装,但我之前已删除 dotnet。这些更新是否阻碍了升级?如果是,我可以删除它们吗?
顺便说一句,我也尝试了软件更新程序,但它退出时没有任何消息。:-(
问候
$ sudo apt update
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:8 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Hit:9 https://packages.microsoft.com/repos/code stable InRelease
Hit:10 https://hub-dist.unity3d.com/artifactory/hub-debian-prod-local stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
libheif1 libjs-jquery-ui libpathplan4 graphviz libgvpr2 libgvc6 libopenexr25
python3-scipy libcgraph6 libmagickcore-6.q16-6-extra libcdt5
libmagickwand-6.q16-6 imagemagick-6.q16 libmagickcore-6.q16-6 liblab-gamut1
imagemagick-6-common libde265-0 libpmix2
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
dotnet-hostfxr-7.0 ubuntu-advantage-tools ubuntu-pro-client ubuntu-pro-client-l10n
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
$ do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
$ sudo apt list --upgradeable -a
Listing... Done
dotnet-hostfxr-7.0/jammy-updates,jammy-security 7.0.119-0ubuntu1~22.04.1 amd64 [upgradable from: 7.0.5-1]
dotnet-hostfxr-7.0/jammy 7.0.20-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.19-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.18-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.17-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.16-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.15-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.14-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.13-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.12-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.11-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.10-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.9-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.8-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.7-1 amd64
dotnet-hostfxr-7.0/jammy,now 7.0.5-1 amd64 [installed,upgradable to: 7.0.119-0ubuntu1~22.04.1]
dotnet-hostfxr-7.0/jammy 7.0.4-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.3-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.2-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.1-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.0-1 amd64
$ sudo apt remove dotnet
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'dotnet' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.