Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 安装RVM时出错(gpg关键问题)_Ruby On Rails_Ruby_Security_Rvm_Gnupg - Fatal编程技术网

Ruby on rails 安装RVM时出错(gpg关键问题)

Ruby on rails 安装RVM时出错(gpg关键问题),ruby-on-rails,ruby,security,rvm,gnupg,Ruby On Rails,Ruby,Security,Rvm,Gnupg,我正试图用这个博客在我的ubuntu系统上安装RVM 当我运行这些命令时 gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \curl -sSL https://get.rvm.io | bash -s stable 我遇到了这个问题 Downloading https://github.com/rvm/rvm/archive/1.29.9.tar

我正试图用这个博客在我的ubuntu系统上安装RVM

当我运行这些命令时

gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
我遇到了这个问题

Downloading https://github.com/rvm/rvm/archive/1.29.9.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.9/1.29.9.tar.gz.asc
gpg: Signature made Wednesday 10 July 2019 02:01:02 PM IST
gpg:                using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 7D2B AF1C F37B 13E2 069D  6956 105B D0E7 3949 9BDB
GPG verified '/usr/share/rvm/archives/rvm-1.29.9.tgz'
tar: binscripts: Cannot utime: Operation not permitted
tar: config/solaris: Cannot utime: Operation not permitted
tar: config: Cannot utime: Operation not permitted
tar: contrib/hudson: Cannot utime: Operation not permitted
tar: contrib: Cannot utime: Operation not permitted
tar: docs: Cannot utime: Operation not permitted
下载https://github.com/rvm/rvm/archive/1.29.9.tar.gz
正在下载https://github.com/rvm/rvm/releases/download/1.29.9/1.29.9.tar.gz.asc
gpg:签名于2019年7月10日星期三下午2:01:02 IST
gpg:使用RSA密钥7D2BAF1CF37B13E2069D6956105BD0E739499BDB
gpg:来自“Piotr Kuczynski”的良好签名[未知]
gpg:警告:此密钥未经可信签名认证!
gpg:没有迹象表明签名属于所有者。
主键指纹:7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
GPG验证“/usr/share/rvm/archives/rvm-1.29.9.tgz”
tar:bin脚本:无法utime:不允许操作
tar:config/solaris:无法utime:不允许操作
tar:config:Cannot-utime:Operation不允许
tar:contrib/hudson:无法使用时间:不允许操作
tar:contrib:无法使用时间:不允许操作
tar:docs:无法使用时间:不允许操作

我想钥匙坏了。有人知道如何解决这个问题吗?

看起来ubuntu
rvm软件包已经安装,您正在尝试再次安装
rvm
。如果使用该软件包安装,则无需运行手动安装步骤,
rvm
将起作用

要卸下该软件包,只需使用
sudo apt purge rvm
。完成后,检查是否存在
/usr/share/rvm
,如果存在,请删除该文件夹

之后,您可以通过正在执行的步骤获取最新的
rvm