Dependency issues with libunwind-13
Bug #1984450 reported by
Jarl Gullberg
This bug affects 5 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| dotnet6 (Ubuntu) |
Fix Released
|
Medium
|
Miriam España Acebal | ||
| Jammy |
Fix Released
|
Medium
|
Miriam España Acebal | ||
| Kinetic |
Fix Released
|
Medium
|
Miriam España Acebal | ||
Bug Description
Currently, dotnet-runtime-6.0 from jammy-updates cannot be installed on a system that also has libc++1 installed, due to it taking a hard dependency on libunwind-13 (which conflicts with libc++1's libc++1-14, which has a hard dependency on libunwind-14).
This contrasts with the Microsoft-provided packages, which do not have any dependencies on any libunwind packages at all.
| Changed in dotnet6 (Ubuntu): | |
| status: | Opinion → New |
| Changed in dotnet6 (Ubuntu Jammy): | |
| assignee: | nobody → Miriam España Acebal (mirespace) |
| Changed in dotnet6 (Ubuntu Kinetic): | |
| assignee: | nobody → Miriam España Acebal (mirespace) |
| Changed in dotnet6 (Ubuntu Jammy): | |
| status: | New → In Progress |
| Changed in dotnet6 (Ubuntu Kinetic): | |
| status: | Confirmed → In Progress |
| Changed in dotnet6 (Ubuntu Kinetic): | |
| importance: | Wishlist → Medium |
| Changed in dotnet6 (Ubuntu Jammy): | |
| importance: | Undecided → Medium |
| Changed in dotnet6 (Ubuntu Jammy): | |
| status: | In Progress → Fix Released |
| Changed in dotnet6 (Ubuntu Kinetic): | |
| status: | In Progress → Fix Released |
To post a comment you must log in.

Hi Jarl,
Thank you for taking the time to report this and helping to make Ubuntu better.
Yes, Ubuntu's dotnet-runtime-6.0 package depends on libunwind-13 and MS-provided package doesn't. The reason behind this is that libunwind is already present as a package in the Ubuntu series (libunwind- {12,13, 14} in Jammy in fact), so any bug/security
fix that may arise upstream can be incorporated into the version of libunwind that Ubuntu provides, thus making Ubuntu more stable and more maintainable.
While we were packaging and building dotnet6-runtime, we found some issues with using libunwind-14 and so libunwind-13 was chosen instead.
Upgrading the dependency to libunwind-14 for the next release needs to be discussed and formal tested, but I've already done a building attempt based on what you expose (the results are promising):
root@Jdotnet198 3380:~# apt-cache depends dotnet-runtime-6.0 3380:~# dotnet --version 3380:~# dotnet --info
dotnet-runtime-6.0
Depends: dotnet-hostfxr-6.0
Depends: libicu70
Depends: libunwind-14
Depends: libc6
Depends: libgcc-s1
Depends: liblttng-ust1
Depends: libssl3
Depends: libstdc++6
Depends: libunwind8
Depends: zlib1g
root@Jdotnet198
6.0.108
root@Jdotnet198
.NET SDK (reflecting any global.json):
Version: 6.0.108
Commit: 4e3a463d2b
Runtime Environment: dotnet/ dotnet6- 6.0.108/ sdk/6.0. 108/
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /usr/lib/
global.json file:
Not found
Host:
Version: 6.0.8
Architecture: x64
Commit: 55fb7ef977
.NET SDKs installed: dotnet/ dotnet6- 6.0.108/ sdk]
6.0.108 [/usr/lib/
.NET runtimes installed: AspNetCore. App 6.0.8 [/usr/lib/ dotnet/ dotnet6- 6.0.108/ shared/ Microsoft. AspNetCore. App] NETCore. App 6.0.8 [/usr/lib/ dotnet/ dotnet6- 6.0.108/ shared/ Microsoft. NETCore. App]
Microsoft.
Microsoft.
Download .NET: /aka.ms/ dotnet- download
https:/
Learn about .NET Runtimes and SDKs: /aka.ms/ dotnet/ runtimes- sdk-info 3380:~#
https:/
root@Jdotnet198
For the above reasons, I'm going to mark this as "Opinion/Wishlist". If you disagree or have new information, we would be grateful if you could please add a comment stating why and then change the status of the bug to 'New'.
Thanks again for your time on this.