「requirements_debian_libs_install libssl-dev」の実行中にエラーが発生しました。
概要
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.
そして、libssl-devをインストールしようとしましたが、インストールされていませんでした。次のエラーが発生しました。
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
私は今どうすればいい?
解決策
Ubuntu 19以降の解決策は次のとおりです
sudo nano /etc/apt/sources.list
add deb http://security.ubuntu.com/ubuntu bionic-security main
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo apt update && apt-cache policy libssl1.0-dev
sudo apt-get install libssl1.0-dev