【发布时间】:2017-07-09 18:14:46
【问题描述】:
我正在使用 ubuntu 16.04、ruby 2.0.0、rails 4.0.13 和 mongoDB 3.4.2。 我想将 ruby 更新到 2.2.2,但出现错误:
Error running 'requirements_debian_update_system ruby-2.2.6',
showing last 15 lines of /home/lakhvir/.rvm/log/1487593522_ruby-2.2.6/update_system.log
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 2 ]]
++ return 1
++ printf %b 'There has been error while updating '\''apt-get'\'', please give it some time and try again later.
404 errors should be fixed for rvm to proceed. Check your sources configured in:
/etc/apt/sources.list
/etc/apt/sources.list.d/*.list
\n'
There has been error while updating 'apt-get', please give it some time and try again later.
404 errors should be fixed for rvm to proceed. Check your sources configured in:
/etc/apt/sources.list
/etc/apt/sources.list.d/*.list
++ return 100
Requirements installation failed with status: 100.
【问题讨论】:
-
也许这个已经回答的链接可以帮助你? stackoverflow.com/questions/23650992/…
-
您按照哪些步骤进行升级?
-
当我使用 (sudo apt-get update | grep "Failed") 命令时,我得到 (W:GPG error:repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release: 以下签名无法验证,因为公钥不可用:NO_PUBKEY D68FA50FEA312927 W:存储库'repo.mongodb.org/apt/ubuntuxenial/mongodb-org/3.2 Release'未签名。E:无法获取repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.0/…404 Not Found E:一些索引文件下载失败。它们已被忽略,或使用旧的。)
标签: ruby-on-rails ruby mongodb ubuntu