简体   繁体   中英

Installing rvm in ubuntu 14.04

I have trying to install rvm and I found the following message in the terminal after I typed this: curl -L https://get.rvm.io | bash -s stable

GPG signature verification failed for '/home/ephraim/.rvm/archives/rvm-1.26.3.tgz' - ' https://github.com/wayneeseguin/rvm/releases/download/1.26.3/1.26.3.tar.gz.asc '! try downloading the signatures:

gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3

or if it fails:

command curl -sSL https://rvm.io/mpapis.asc | gpg --import -

the key can be compared with:

https://rvm.io/mpapis.asc
https://keybase.io/mpapis

How can I get rid of these problems?

按照错误中的说明运行,

gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3

You can download the signature and import manually.

Get the signature:

curl -#LO https://rvm.io/mpapis.asc

Import signature:

gpg --import mpapis.asc

This will resolve your problem.

Depending on your needs you may need to run:

gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3

Note gpg2 , not gpg as mentioned in instruction. Here more details as found. This should be helpful. Make sure you run gpg command while logged in as the same OS user who makes rvm installation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM