我正在尝试使用此博客在我的ubuntu系统上安装RVM。 https://rvm.io/
当我运行这些命令时
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
我认为密钥不起作用。有谁知道如何解决这个问题?
看起来 ubunturvm package
已安装,您正在尝试再次安装rvm
。如果您使用该软件包进行安装,则无需运行手动安装步骤,rvm
即可运行。
要删除包,只需使用sudo apt purge rvm
.完成后,检查是否存在任何/usr/share/rvm
并删除该文件夹(如果存在(。
之后,您可以通过已经在执行的步骤获取最新的rvm
。