1. 程式人生 > >安裝RVM失敗: public key not found

安裝RVM失敗: public key not found

錯誤是這樣的:

  1. $ curl -L get.rvm.io | bash -s stable --ruby  
  2.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  3.                                  Dload  Upload   Total   Spent    Left  Speed  
  4. 100   184  100   184    0     0     30      0  0:00:06  0:00:06 --:--:--    40  
  5. 100 22721  100 22721    0     0   1845      0  0:00:12  0:00:12 --:--:--  6170  
  6. Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz  
  7. Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc  
  8. gpg: Signature made Tue 31 Mar 2015 05:52:13 CST using RSA key ID BF04FF17  
  9. gpg: Can't check signature: public key not found  
  10. Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.  
  11. Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).  
  12. GPG signature verification failed for '/home/charles/.rvm/archives/rvm-1.26.11.tgz' - 'https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc'!  
  13. try downloading the signatures:  
  14.     gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3  
  15. or if it fails:  
  16.     command curl -sSL https://rvm.io/mpapis.asc | gpg --import -  
  17. the key can be compared with:  
  18.     https://rvm.io/mpapis.asc  
  19.     https://keybase.io/mpapis  
解決方法是:
  1. $  gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3  
  2. gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net  
  3. gpg: /home/charles/.gnupg/trustdb.gpg: trustdb created  
  4. gpg: key D39DC0E3: public key "Michal Papis (RVM signing) <[email protected]>" imported  
  5. gpg: no ultimately trusted keys found  
  6. gpg: Total number processed: 1  
  7. gpg:               imported: 1  (RSA: 1)  

然後,重新執行: curl -L get.rvm.io | bash -s stable --ruby
  1. $ curl -L get.rvm.io | bash -s stable --ruby  
  2.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  3.                                  Dload  Upload   Total   Spent    Left  Speed  
  4. 100   184  100   184    0     0    229      0 --:--:-- --:--:-- --:--:--   229  
  5. 100 22721  100 22721    0     0  21250      0  0:00:01  0:00:01 --:--:-- 6802k  
  6. Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz  
  7. Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc  
  8. gpg: Signature made Tue 31 Mar 2015 05:52:13 CST using RSA key ID BF04FF17  
  9. gpg: Good signature from "Michal Papis (RVM signing) <[email protected]>"  
  10. gpg: WARNING: This key is not certified with a trusted signature!  
  11. gpg:          There is no indication that the signature belongs to the owner.  
  12. Primary key fingerprint: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3  
  13.      Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17  
  14. GPG verified '/home/charles/.rvm/archives/rvm-1.26.11.tgz'  
  15. Installing RVM to /home/charles/.rvm/  
  16.     Adding rvm PATH line to /home/charles/.profile /home/charles/.mkshrc /home/charles/.bashrc /home/charles/.zshrc.  
  17.     Adding rvm loading line to /home/charles/.profile /home/charles/.bash_profile /home/charles/.zlogin.  
  18. Installation of RVM in /home/charles/.rvm/ is almost complete:  
  19.   * To start using RVM you need to run `source /home/charles/.rvm/scripts/rvm`  
  20.     in all your open shell windows, in rare cases you need to reopen all shell windows.  
  21. # ,  
  22. #  
  23. #   Thank you for using RVM!  
  24. #   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!  
  25. #  
  26. # ~Wayne, Michal & team.  
  27. In case of problems: http://rvm.io/help and https://twitter.com/rvm_io  
  28. rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]  
  29. Searching for binary rubies, this might take some time.  
  30. No binary rubies available for: ubuntu/14.04/i386/ruby-2.2.1.  
  31. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.  
  32. Checking requirements for ubuntu.  
  33. Installing requirements for ubuntu.  
  34. Updating system...........  
  35. Installing required packages: libreadline6-dev, libyaml-dev, libsqlite3-dev, sqlite3, libgdbm-dev, bison........  
  36. Requirements installation successful.  
  37. Found user configured '-j' flag in 'rvm_make_flags', please note that RVM can detect number of CPU threads and set the '-j' flag automatically if you do not set it.  
  38. Installing Ruby from source to: /home/charles/.rvm/rubies/ruby-2.2.1, this may take a while depending on your cpu(s)...  
  39. ruby-2.2.1 - #downloading ruby-2.2.1, this may take a while depending on your connection...  
  40.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  41.                                  Dload  Upload   Total   Spent    Left  Speed  
  42. 100 12.7M  100 12.7M    0     0   108k      0  0:02:00  0:02:00 --:--:--  130k  
  43. ruby-2.2.1 - #extracting ruby-2.2.1 to /home/charles/.rvm/src/ruby-2.2.1....  
  44. ruby-2.2.1 - #applying patch /home/charles/.rvm/patches/ruby/2.2.1/fix_installing_bundled_gems.patch.  
  45. ruby-2.2.1 - #configuring.........................................................  
  46. ruby-2.2.1 - #post-configuration..  
  47. ruby-2.2.1 - #compiling...............................................................................  
  48. ruby-2.2.1 - #installing............................  
  49. ruby-2.2.1 - #making binaries executable..  
  50. ruby-2.2.1 - #downloading rubygems-2.4.8  
  51.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
  52.                                  Dload  Upload   Total   Spent    Left  Speed  
  53. 100  437k  100  437k    0     0   522k      0 --:--:-- --:--:-- --:--:--  522k  
  54. No checksum for downloaded archive, recording checksum in user configuration.  
  55. ruby-2.2.1 - #extracting rubygems-2.4.8....  
  56. ruby-2.2.1 - #removing old rubygems.........  
  57. ruby-2.2.1 - #installing rubygems-2.4.8......................  
  58. ruby-2.2.1 - #gemset created /home/charles/.rvm/gems/[email protected]  
  59. ruby-2.2.1 - #importing gemset /home/charles/.rvm/gemsets/global.gems...............................................  
  60. ruby-2.2.1 - #generating global wrappers........  
  61. ruby-2.2.1 - #gemset created /home/charles/.rvm/gems/ruby-2.2.1  
  62. ruby-2.2.1 - #importing gemsetfile /home/charles/.rvm/gemsets/default.gems evaluated to empty gem list  
  63. ruby-2.2.1 - #generating default wrappers........  
  64. ruby-2.2.1 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).  
  65. Install of ruby-2.2.1 - #complete   
  66. Ruby was built without documentation, to build it run: rvm docs generate-ri  
  67. Creating alias default for ruby-2.2.1...  
  68.   * To start using RVM you need to run `source /home/charles/.rvm/scripts/rvm`  
  69.     in all your open shell windows, in rare cases you need to reopen all shell windows. 

相關推薦

安裝RVM失敗 public key not found

錯誤是這樣的:$ curl -L get.rvm.io | bash -s stable --ruby    % Total    % Received % Xferd  Average Speed  

在虛擬機器安裝Win7出現directory ezboot not found error loading image:CDMENU.EZB

在虛擬機器安裝Win7出現:directory ezboot not found error loading image:CDMENU.EZB 小編剛開始查詢了各種方法解決該問題,也找到原因是由於IOS映象檔案大於4G,按照別人的方法進行解決,但是依然沒有解決此問題。像用老毛桃U盤來解決

mysql查詢安裝目錄與安裝mysql時候如果遇到什麼public key not installed 問題解決方案。

Linux下檢視mysql、apache是否安裝,並解除安裝。 指令 ps -ef|grep mysql 得出結果 1.root     17659     1  0  2011 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe

2018年9月11號最新CocoaPods安裝教程(cocoapods更改ruby源報錯bad response Not Found 404 (https://gems.ruby-china.or)

1.詳細教程不做解釋,請參考網路大部分文章 2.針對cocoapods更改ruby源報錯:(bad response Not Found 404 (https://gems.ruby-china.or

樹莓派中的archlinux更新系統時報“ warning: Public keyring not found; have you run 'pacman-key --init'?“的解決方案

1.切到root,然後執行pacman -Syyu進行升級,發現報如下錯誤。 解決方案: 步驟一:輸入如下命令: pac

maven 下載jar失敗 resolution will not be reattempted until the update interval of central has elapsed or updates are forced

emp 。。 epo except resp esp failure XML could Multiple annotations found at this line: - ArtifactTransferException: Failure to transfer

<Linux> SSH配置之後 SHH slave1 測試 errorSSH: command not found

document command span 4.4 pre error -s 6.0 and 首先要查看一下ssh命令存在何處# which ssh /usr/bin/ssh 使用ssh的絕對路徑 # /usr/bin/ssh slave1Welcome to Ub

Ubuntu 16.04 LTS 安裝libvips出現”Package vips was not found in the pkg-config search path”

arp dir exp export ron per gconf 部署 director 使用libvips來操作圖像,libvips的部署參考一個Node.js工程:https://github.com/lovell/sharp 在MAC下安裝很順利,到Linux環境下(

python安裝mysqlclient模塊時報mysql_config not found解決方法

flask框架 bubuko 框架 apt 分享圖片 mysql image 錯誤 dev 在配置Flask框架,安裝mysqlclient時報一下錯誤 翻譯了一下大概是 mysql_config 文件沒找到, 解決方法是安裝缺失的文件。 sudo apt inst

Junit單元測試遇到的initializationerrormethod initializationerror not found

測試 ner erro err 分享圖片 除了 junit rar 必須 原因可能如下: 1.有返回值的方法不能直接測試 2.帶參數的方法不能直接測試 3.訪問權限在public一下的方法不能直接測試 4.static靜態方法不能直接測試 5.不能給出現前四個條件中任意一

安裝redis報錯 cc: command not found

解壓 com all ins amp 新解 list man [1] 1、下載redis後 make 編譯時報錯 cd src && make allmake[1]: Entering directory /root/jevel/redis-2.8.17/s

spark中遇到Exception in thread "main" java.util.NoSuchElementException: key not found

這個問題如果是一般的java或scala專案,這個問題當然沒什麼好說的,就是找不到對應的鍵,但是我遇到的問題是在spark中,而且我確定不會出現鍵找不到的問題,所以一定是有其他問題. 首先,我spark專案中的所有任務都已經完成了以後才報錯,這一點很值得思考,然後從spark的機制來看,很可能是

安裝Centos 6.4提示找不到安裝檔案 The centos disc was not found in any of your drives.Please insert the centos d

【1】安裝Centos 6.4提示找不到安裝檔案 The centos disc was not found in any of your drives.Please insert the centos disc and press OK to retry  解決方法: 把CD

centOS7安裝snap,解決snap: command not found

Step 1:  Install the COPR plugin and EPEL Kick off the installation by adding epel repository and installing copr yum plugin. sudo yum i

Error running appDefault Activity not found 解決方法

問題顯示  Error running app:Default Activity not found 此時你會發現執行不了,這是因為在AndroidManifest.xml檔案中,我們只是註冊了活動,並沒有為程式配置主活動(當程式執行的時候,不知道先啟動那個活動),所以只要新增幾行程式碼即可。

Ubuntu 編譯安裝php7時提示“freetype-config not found

1)解決步驟 參考 https://segmentfault.com/q/1010000004147920?_ea=507387 apt-get -y install libfreetype6-de

mac下編譯安裝php7時報ld: symbol(s) not found for architecture x86_64的解決方法

在Mac上編譯PHP7時,如果使用OpenSSL擴充套件,會有一個錯誤 Undefined symbols for architecture x86_64:   "_PKCS5_PBKDF2_HMAC", referenced from:       _z

Xcode連結錯誤ld: file not found:

今天出的一個bug:ld: file not found:  背景介紹:換了臺新的mac,系統和xcode比舊的那臺新,舊電腦的工程搬到新電腦上,link出現問題,因為工程在舊電腦上做的時候改過專案名稱(Build Settings-->Product Name處改

ubuntu 安裝java add-apt-repository: command not found

ubuntu 安裝java add-apt-repository: command not found add-apt-repository: command not found 今天在Ubuntu,準備安裝java時,會有這個錯誤 : add-apt-repository:

[深度學習] 安裝Anaconda3報錯bunzip2: command not found

安裝Anaconda3報錯bunzip2: command not found [/root/anaconda3] >>> PREFIX=/root/anaconda3 Anaconda3-2018.12-Linux-x86_64.sh: line 353: bu