0
我正在使用网络抓取脚本,但当前的gem版本没有给我任何要安装的软件包。如何在Windows 10上的Linux子系统上安装RVM
我知道这是出于一些基础设施更改的原因,但现在我已经安装了Windows 10的周年更新并安装了Linux子系统。
我已经安装了NodeJS + npm,它们工作正常,但问题是在该子系统上安装Ruby。
当我尝试安装RVM它给我一个错误:
[email protected]:~$ sudo apt-get install rvm
sudo: unable to resolve host DESKTOP-TK9ELEL
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
rvm : Depends: libreadline6-dev but it is not installable
Depends: autoconf but it is not installable
Depends: libgdbm-dev but it is not installable
Depends: libncurses5-dev but it is not installable
Depends: automake but it is not installable
Depends: libtool but it is not installable
Depends: bison but it is not installable
Depends: pkg-config but it is not installable
E: Unable to correct problems, you have held broken packages.
如何解决这个问题?
亚我以前试过这个,但得到错误>>> GPG签名验证失败'/home/ins/.rvm/archives/rvm-1.27.0.tgz' - 'https://github.com/rvm /rvm/releases/download/1.27.0/1.27.0.tar.gz.asc“! – insCode
你是否在安装方向上做了第一步?如果是这样,你是否搜索任何有关这方面的支持问题? –