Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error running 'requirements_debian_libs_install libssl-dev',

I am facing problem while installing rvm 2.6.3

Installing required packages: libssl-dev....
Error when running 'requirements_debian_libs_install libssl-dev',
please read /home/tanmay/.rvm/log/1568568674_ruby-2.6.3/package_install_libssl-dev.log
Requirements installation failed with status: 100.

And then I tried to install libssl-dev.It wasn't installed.. I got this error:

Package libssl-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl-dev' has no installation candidate

what should I do now?

like image 551
tanmay bhawsar Avatar asked Sep 15 '19 17:09

tanmay bhawsar


1 Answers

Here is the solution for Ubuntu 19+

sudo nano /etc/apt/sources.list
add deb http://security.ubuntu.com/ubuntu bionic-security main
sudo apt update && apt-cache policy libssl1.0-dev
sudo apt-get install libssl1.0-dev
like image 59
Emu Avatar answered Dec 03 '22 12:12

Emu