简体   繁体   中英

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?

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

它对我有用,但我必须在 sources.list 文件中添加“deb http://security.ubuntu.com/ubuntu bionic-security main”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM