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.

Can not install on Ubuntu 22.04 (jammy) due to libssl1.1 dependency

See original GitHub issue

Describe the bug

Thanks a lot for providing out-of-the-box Ubuntu images, they are great! We are getting ready for Ubuntu 22.04 (jammy) that will be released in a few days, but found that the current dotnet packages can currently not be installed. It seems that the problem is due to dotnet linking libssl1.1 whereas Ubuntu jammy now ships only libssl3.

Here is the error I get. It does not

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

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
 dotnet-sdk-5.0 : Depends: netstandard-targeting-pack-2.1 (>= 2.1.0) but it is not installable
                  Depends: dotnet-targeting-pack-5.0 (>= 5.0.0) but it is not installable
                  Depends: aspnetcore-targeting-pack-5.0 (>= 5.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

To Reproduce

  • Run Ubuntu 22.04 x86_64 current latest (for example from docker)
  • Execute apt-get --quiet --assume-yes --no-install-recommends --purge install "dotnet-sdk-5.0" "dotnet-runtime-5.0"

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

97reactions
feisalramarcommented, Feb 15, 2023

For all that still face the same problem

  1. Go to http://archive.ubuntu.com/ubuntu/pool/main/o/openssl
  2. find the exact version of libssl for example libssl1.1.1
  3. wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1\~18.04.20_amd64.deb
  4. Then install
  5. sudo dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.20_amd64.deb

The problem should be fixed

7reactions
Dinoshellcommented, Aug 17, 2022

For all that still face the same problem

  1. Go tohttp://archive.ubuntu.com/ubuntu/pool/main/o/openssl
  2. find the exact version of libssl for example libssl1.1.1
  3. wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.20_amd64.deb
  4. Then install
  5. sudo dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.20_amd64.deb

The problem should be fixed

Sep 3 and 5 work best for me! *Only Copy and Past

Read more comments on GitHub >

github_iconTop Results From Across the Web

Depends on libssl1.1 but it is not installable - Ask Ubuntu
I tried installing the dependency directly but it doesn't seem to have fixed the issue: sudo apt install libssl1.1 Reading package lists... Done ......
Read more >
Unable to install mongodb in ubuntu 22.04 (mongodb-org, ...
It seems mongodb require specific version of libssl1.1. you can download debian file of that version and install using following commands.
Read more >
Ubuntu 22.04 Installation problem - Support
I tried to use latest Otii SW on Ubuntu 22.04. Mainly I struggled to do the ... otii : Depends: libssl1.1 (>= 1.1)...
Read more >
Dependency error when installing RStudio on Ubuntu ...
I am trying to install RStudio on Ubuntu 22.04. ... is uninstallable Dependency is not satisfiable: libssl1.0.0|libssl1.0.2|libssl1.1.
Read more >
Installing mongodb over Ubuntu 22.04 - #39 by Vijay_Dinesh
It is because of the missing dependencies mongodb not installing on ubuntu 22.04. The main reason is the missing of libssl1.1 dependency.
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