-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apt dependency libnuma1
missing for Ubuntu 22.04 + amd64
#87225
Comments
liblttng-ust1
missing for Ubuntu 22.04 for AMD64liblttng-ust1
missing for Ubuntu 22.04 + AMD64
liblttng-ust1
missing for Ubuntu 22.04 + AMD64liblttng-ust1
missing for Ubuntu 22.04 + amd64
Right now, the Microsoft build of .NET does not explicitly require libttng-ust packages to be installed. The support for LTTNG lights up when the packages are available. When using the build of .NET that Ubuntu provides in the default repositories for Ubuntu, the dependency should be present on the package metadata (and cause it to auto-install). @hoyosjs this is related to what we were discussing offline last week. |
Unfortunately System.Net.Quic seems to rely on this being installed, and it's not so obvious why it doesn't work when it's not installed. The MS documentation doesn't mention anywhere that this is an optional dependency. It actually states that |
If msquic package depends on liblttng, it should declare it as a dependency. This should be transfered to https://github.com/microsoft/msquic |
Tagging subscribers to this area: @dotnet/ncl Issue DetailsDescriptionHi, sorry if this is the wrong repository to report this issue. We recently encountered this issue when we upgraded our CI Docker container to use Ubuntu 22.04. We noticed that After some digging it was narrowed down to a missing dependency It appears that it is not he case for this particular dependency. Minimal Ubuntu installs (like from Docker) do not include this out of the box, but regular sever installs do (e.g. installing from the ISO). Adding the MS apt repository and installing This also affects the official MS container As far as I can tell this affects Reproduction StepsClone https://github.com/externl/quic-test on an By default it only a few packages are installed. Just enough to enable the ms repo and install
You'll see Now update You should also be able to reproduce this by uninstalling Expected behavior
Actual behaviorIt does not get installed. Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
cc @wfurt Is there a known issue with msquic dependency on lttng? |
The dotnet documentation should also be updated to indicate that See https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#dependencies |
AFAIK lttng was soft dependency. We only encountered problem with cc: @CarnaViire @ManickaP |
It's libnuma not lttng. It works with pulling lttng because that has dependency on libnuma: https://packages.ubuntu.com/jammy/libs/liblttng-ust1 My outputs:
So this is just a rehash of microsoft/msquic#3421 |
liblttng-ust1
missing for Ubuntu 22.04 + amd64libnuma1
missing for Ubuntu 22.04 + amd64
this should be fixed by new MsQuic 2.2.2 package. |
Description
Hi, sorry if this is the wrong repository to report this issue.
We recently encountered this issue when we upgraded our CI Docker container to use Ubuntu 22.04. We noticed that
QuicConnection.IsSupported
was suddenly returningfalse
when it was previously working on Ubuntu 20.04.After some digging it was narrowed down to a missing dependency
liblttng-ust1
. It is listed on the Install the .NET SDK or the .NET Runtime on Ubuntu page as required and that "When you install with a package manager, these libraries are installed for you."It appears that it is not he case for this particular dependency. Minimal Ubuntu installs (like from Docker) do not include this out of the box, but regular sever installs do (e.g. installing from the ISO).
Adding the MS apt repository and installing
dotnet
does not bring in this dependency.This also affects the official MS container
mcr.microsoft.com/dotnet/sdk:7.0
As far as I can tell this affects
amd64
, but notarm64
. Uninstallingliblttng-ust1
in an arm64 container will also uninstalldotnet
. This doesn't seem to be the case foramd64
Reproduction Steps
Clone https://github.com/externl/quic-test on an
amd64
machine with Docker installed.By default it only a few packages are installed. Just enough to enable the ms repo and install
dotnet-sdk-7.0
. It does not includeliblttng-ust1
.You'll see
QIC is not supported :(
Now update
Dockerfile
and uncomment the line that installsliblttng-ust1
. The the above commands again and you'll seeQIC is supported :)
You should also be able to reproduce this by uninstalling
liblttng-ust1
and then installingdotnet-sdk-7.0
from the MS apt repostiroy.Expected behavior
liblttng-ust1
should be a dependency when installingdotnet
from the apt repoActual behavior
It does not get installed.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: