I also received this error, and I have OpenSUSE as my operating system. The base package of dotnet in OpenSUSE's library installer did not have the liblttng-ust.so.0 file (sudo zypper install dotnet-sdk-7.0). I ran a grep search looking for the liblttng-ust.so.0 file in /usr/share/dotnet/ (grep -r "liblttng-ust.so.0.0.0" /usr/share/dotnet), and there is no file. I used the snap library (sudo snap install dotnet-sdk --classic), and this version of dotnet had the liblttng-ust.so.0 file (which is just a link to the file liblttng-ust.so.0.0.0). It installs the file in the folder /snap/dotnet-sdk/198/lib/x86_64-linux-gnu/ . Check if it is installed correctly using the command: dotnet --info. You should see your main version of dotnet with a base path to the snap library (/snap/dotnet-sdk/198/sdk/7.0.202/). Once you have the liblttng-ust.so.0 file, I changed the /usr/lib/python3.10/site-packages/dotnetcore2/runtime.py file, function _gather_dependencies to look at the snap library; I added the line : search_path = r'/snap/dotnet-sdk/198/lib/x86_64-linux-gnu/*.so'. After that it worked! These steps should work for any linux operating system, good luck!
Error while running a Azure ML job: NotImplementedError: Linux distribution debian 11. does not have automatic support. Missing packages: {'libcurl.so.4', 'liblttng-ust.so.0'}
Niels Hoogeveen
1
Reputation point
I am running a CI/CD pipeline where I create a compute cluster in Azure ML, followed by building a Docker image and running that Docker container on a compute instance as an Azure ML job.
However, I get the following error:
NotImplementedError: Linux distribution debian 11. does not have automatic support.
Missing packages: {'libcurl.so.4', 'liblttng-ust.so.0'}
.NET Core 3.1 can still be used via `dotnetcore2` if the required dependencies are installed.
Visit https://aka.ms/dotnet-install-linux for Linux distro specific .NET Core install instructions.
Follow your distro specific instructions to install `dotnet-runtime-*` and replace `*` with `3.1.23`.