我只是试图在Ubuntu 20.04上使用rvm安装Ruby 2.5.1,但是由于显示无限滚动错误,我似乎无法完成此任务。
]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
(eval):1: bad pattern: *:Version:[[:space:]]^[[32m1.11.13-rbsec-9-g55ec8c7-static^[[0m\nOpenSSL[[:space:]]1.0.2-chacha[[:space:]](1.0.2g-dev)\n^[[0m\n^[[31mERROR:[[:space:]]Could[[:space:]]not[[:space:]]resolve[[:space:]]hostname[[:space:]]rvm.^[[0m:*
这是rvm remove 2.5.1
的结果。尝试使用rvm install 2.5.1
安装Ruby 2.5.1时,该过程就挂在了这个地方:
⚡ root@kali ~ rvm install 2.5.1 3:47AM/05.31
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.5.1.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
ruby-2.5.1 - #configure
ruby-2.5.1 - #download
ruby-2.5.1 - #validate archive
ruby-2.5.1 - #extract
ruby-2.5.1 - #validate binary
ruby-2.5.1 - #setup
ruby-2.5.1 - #gemset created /usr/share/rvm/gems/ruby-2.5.1@global
,但从未完成。因此,我现在试图弄清为什么ruby 2.5.1无法安装或卸载。任何帮助将不胜感激