question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure to install dotnet-sdk-6.0 via the apt feed

See original GitHub issue

Following 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: image

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:closed
  • Created a year ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tannergoodingcommented, Apr 22, 2022

Looks to work on my box now as well, thanks!

0reactions
baronfelcommented, Jun 14, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found