-
Notifications
You must be signed in to change notification settings - Fork 138
Closed as duplicate of#4735
Labels
Description
Describe the Bug
We're currently experimenting with packaging .NET 10 on Ubuntu and have encountered an issue when attempting to install .NET 9 and .NET 10 Preview 3 side by side. The problem arises due to a conflict involving the microsoft.net.sdk.aspire component.
Both dotnet-sdk-9.0 and dotnet-sdk-10.0 attempt to install the same set of files to the path:
$DOTNET_ROOT/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2.
As a result, apt fails due to file collisions when installing both side-by-side.
Preparing to unpack .../08-dotnet-sdk-10.0_10.0.100~preview3-0ubuntu1~25.04.1~ppa1_amd64.deb ...
Unpacking dotnet-sdk-10.0 (10.0.100~preview3-0ubuntu1~25.04.1~ppa1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Qeman8/08-dotnet-sdk-10.0_10.0.100~preview3-0ubuntu1~25.04.1~ppa1_a
md64.deb (--unpack):
trying to overwrite '/usr/lib/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.2.2/WorkloadManifest.Aspire.targe
ts', which is also in package dotnet-sdk-9.0 (9.0.105-0ubuntu1)
dmesg: read kernel buffer failed: Operation not permitted
Note: This might be an expected non-issue on the SDK side. If that's the case, distro maintainers should look into how to break the Aspire binaries off to a separate package to avoid the conflict.
Steps to Reproduce
On a Ubuntu 24.04 box:
sudo add-apt-repository ppa:dotnet/backports
sudo apt install dotnet9
sudo add-apt-repository ppa:dotnet/previews
sudo apt install dotnet10
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done