I have a system running Endeavour that has been offline for just over a month (motherboard replacement).
I rebuilt the MB last night and then went to update the software, which had a large slew of package updates in the queue plus a “Full system upgrade”.
However the system upgrade fails with the following output-
:: Synchronising package databases...
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (12) New Version Net Change
extra/dotnet-host 9.0.3.sdk104-1 0.43 MiB
extra/dotnet-runtime 9.0.3.sdk104-1 70.33 MiB
extra/dotnet-targeting-pack 9.0.3.sdk104-1 47.59 MiB
extra/netstandard-targeting-pack 9.0.3.sdk104-1 17.87 MiB
extra/python-pyproject-hooks 1.2.0-3 0.10 MiB
extra/dotnet-sdk 9.0.3.sdk104-1 289.13 MiB
extra/dpkg 1.22.18-1 9.23 MiB
extra/gendesk 1.0.10-1 6.58 MiB
extra/go 2:1.24.2-1 237.76 MiB
extra/python-build 1.2.2-3 0.20 MiB
extra/python-installer 0.7.0-10 0.17 MiB
extra/rustup 1.28.1-1 10.93 MiB
Total Installed Size: 690.33 MiB
:: Proceed with installation? [Y/n] y
(12/12) checking keys in keyring [--------------------------------------------------] 100%
(12/12) checking package integrity [--------------------------------------------------] 100%
(12/12) loading package files [--------------------------------------------------] 100%
(12/12) checking for file conflicts [--------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
dotnet-sdk: /usr/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2/WorkloadManifest.Aspire.targets exists in filesystem
dotnet-sdk: /usr/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2/WorkloadManifest.json exists in filesystem
dotnet-sdk: /usr/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2/WorkloadManifest.targets exists in filesystem
Errors occurred, no packages were upgraded.
-> Failed to install layer, rolling up to next layer.error:error installing repo packages
:: Synchronising package databases...
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (12) New Version Net Change
extra/dotnet-host 9.0.3.sdk104-1 0.43 MiB
extra/dotnet-runtime 9.0.3.sdk104-1 70.33 MiB
extra/dotnet-targeting-pack 9.0.3.sdk104-1 47.59 MiB
extra/netstandard-targeting-pack 9.0.3.sdk104-1 17.87 MiB
extra/python-pyproject-hooks 1.2.0-3 0.10 MiB
extra/dotnet-sdk 9.0.3.sdk104-1 289.13 MiB
extra/dpkg 1.22.18-1 9.23 MiB
extra/gendesk 1.0.10-1 6.58 MiB
extra/go 2:1.24.2-1 237.76 MiB
extra/python-build 1.2.2-3 0.20 MiB
extra/python-installer 0.7.0-10 0.17 MiB
extra/rustup 1.28.1-1 10.93 MiB
Total Installed Size: 690.33 MiB
:: Proceed with installation? [Y/n] y
(12/12) checking keys in keyring [--------------------------------------------------] 100%
(12/12) checking package integrity [--------------------------------------------------] 100%
(12/12) loading package files [--------------------------------------------------] 100%
(12/12) checking for file conflicts [--------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
dotnet-sdk: /usr/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2/WorkloadManifest.Aspire.targets exists in filesystem
dotnet-sdk: /usr/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2/WorkloadManifest.json exists in filesystem
dotnet-sdk: /usr/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2/WorkloadManifest.targets exists in filesystem
Errors occurred, no packages were upgraded.
-> error installing repo packages
error installing repo packages
What’s interesting is that my system doesn’t have any of the dotnet packages, including dotnet-sdk-*
installed? I’m guessing this means dotnet is a build process dependency for something, and it should be removed after use.
I tried dealing with the problem by moving the problem directory (/usr/share/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2
) aside. This seemed to get me 90%+ of the way there, but one package (naps2) still failde to upgrade-
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
( 1/12) removing dotnet-sdk [--------------------------------------------------] 100%
( 2/12) removing dotnet-targeting-pack [--------------------------------------------------] 100%
( 3/12) removing netstandard-targeting-pack [--------------------------------------------------] 100%
( 4/12) removing dotnet-runtime [--------------------------------------------------] 100%
( 5/12) removing dotnet-host [--------------------------------------------------] 100%
( 6/12) removing rustup [--------------------------------------------------] 100%
( 7/12) removing go [--------------------------------------------------] 100%
( 8/12) removing gendesk [--------------------------------------------------] 100%
( 9/12) removing dpkg [--------------------------------------------------] 100%
(10/12) removing python-build [--------------------------------------------------] 100%
(11/12) removing python-pyproject-hooks [--------------------------------------------------] 100%
(12/12) removing python-installer [--------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
-> Failed to install the following packages. Manual intervention is required:
naps2 - exit status 4
I can try un-installing naps2
to get a clean system upgrade, and if that works I can re-install naps2. I just wondered-
- Are these known problems (I didn’t find any hits in a forum search)
- Where is the appropriate place to report system upgrade errors? Is it here?