Failure to install dotnet-sdk-6.0 via the apt feed
See original GitHub issueFollowing the standard instructions for installing the .NET SDK into Ubuntu via the apt
feed currently results in an installation failure due to a dependency on libssl1
Repro (extrapolated from https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#2110):
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt update
sudo apt install -y apt-transport-https
sudo apt update
sudo apt install -y dotnet-sdk-6.0
This results in the following failure:
The following packages have unmet dependencies:
dotnet-runtime-deps-5.0 : Depends : libssl1.0.0 but it is not installable or
libssl1.0.2 but it is not installable or
libssl1.1 but it is not installable
E: Unable to correct problems, you have held broken packages
Issue Analytics
- State:
- Created a year ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
c# - .NET SDK's Not Installing Correctly
Go to C:\Program Files (x86)\dotnet\ and then remove it's contents, finally paste your clipboard into the folder. Now try it out, open a...
Read more >Installing .NET 6 on Ubuntu 22.04 (Jammy) · Issue #7699
NET 6 Package via Jammy feed. The easiest approach is to use the .NET 6 package available in Jammy feeds. In this scenario,...
Read more >Install the .NET SDK or the .NET Runtime on Ubuntu
I'm using an Arm-based CPU Use one of the following ways to install .NET: Install .NET with install-dotnet script. Manually install .NET.
Read more >NETSDK1045: The current .NET SDK does not support ...
This error occurs when the build tools can't find the version of the .NET SDK that's needed to build a project. This is...
Read more >Install .NET SDK or .NET Runtime on Ubuntu 22.04
Demonstrates the various ways to install . ... NET is available in the Ubuntu packages feed, as well as the Microsoft package repository....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks to work on my box now as well, thanks!
I believe this error is indicative of the fact that we’re in the middle of a rollout of the new SDK/Runtime packages - there’s often a temporary blip in the package repositories when this happens. It should resolve itself quickly.