我在安装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
我现在该怎么办?
3条答案
按热度按时间jv4diomz1#
以下是Ubuntu 19+的解决方案
fykwrbwg2#
它为我工作,但我必须在sources.list文件中添加“deb http://security.ubuntu.com/ubuntu bionic-security main”。
t5fffqht3#
错误消息“Error running 'requirements_debian_libs_install libssl1.0-dev'”表明在基于Debian的操作系统上安装“libssl1.0-dev”软件包时出现问题。
首次更新包列表:运行以下命令以更新程序包列表:
然后升级已安装的软件包:运行以下命令升级任何过期的软件包:
尝试再次安装软件包:执行以下命令安装libssl1.0-dev包:
希望这个能帮上忙