在带有rvm的Ubuntu 10.10上安装Ruby 1.9.3时出错



我正在尝试安装Ruby 1.9.3,以便能够安装Rails 4.0。我的RVM版本是最新的稳定版本。我也试过apt-get -y update

rvm list known在列表中显示[rube-]1.9.3[-p448]

请告知:)

rvm install 1.9.3-p448
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/10.10/i386/ruby-1.9.3-p448.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Installing requirements for ubuntu, might require sudo password.
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/txwikinger/php5.2/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/txwikinger/php5.2/ubuntu/ maverick/main Translation-en_US
Ign http://extras.ubuntu.com maverick Release.gpg
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Ign http://extras.ubuntu.com maverick Release
Ign http://us.archive.ubuntu.com maverick Release.gpg
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://us.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Ign http://extras.ubuntu.com maverick/main Sources/DiffIndex
Ign http://extras.ubuntu.com maverick/main i386 Packages/DiffIndex
Hit http://ppa.launchpad.net maverick/main Sources
Ign http://us.archive.ubuntu.com maverick Release
Ign http://extras.ubuntu.com maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Ign http://extras.ubuntu.com maverick/main i386 Packages
Ign http://extras.ubuntu.com maverick/main Sources
Ign http://us.archive.ubuntu.com maverick/main Sources/DiffIndex
Ign http://extras.ubuntu.com maverick/main i386 Packages
Err http://extras.ubuntu.com maverick/main Sources
  404  Not Found
Ign http://us.archive.ubuntu.com maverick/restricted Sources/DiffIndex
Ign http://us.archive.ubuntu.com maverick/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com maverick/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com maverick/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com maverick/restricted i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com maverick/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com maverick/multiverse i386 Packages/DiffIndex
Err http://extras.ubuntu.com maverick/main i386 Packages
  404  Not Found
Ign http://us.archive.ubuntu.com maverick/main Sources
Ign http://us.archive.ubuntu.com maverick/restricted Sources
Hit http://toolbelt.heroku.com ./ Release.gpg
Ign http://us.archive.ubuntu.com maverick/universe Sources
Ign http://us.archive.ubuntu.com maverick/multiverse Sources
Ign http://us.archive.ubuntu.com maverick/main i386 Packages
Ign http://us.archive.ubuntu.com maverick/restricted i386 Packages
Ign http://us.archive.ubuntu.com maverick/universe i386 Packages
Ign http://toolbelt.heroku.com/ubuntu/ ./ Translation-en
Ign http://us.archive.ubuntu.com maverick/multiverse i386 Packages
Ign http://us.archive.ubuntu.com maverick/main Sources
Ign http://toolbelt.heroku.com/ubuntu/ ./ Translation-en_US
Ign http://us.archive.ubuntu.com maverick/restricted Sources
Ign http://us.archive.ubuntu.com maverick/universe Sources
Ign http://us.archive.ubuntu.com maverick/multiverse Sources
Ign http://us.archive.ubuntu.com maverick/main i386 Packages
Ign http://us.archive.ubuntu.com maverick/restricted i386 Packages
Ign http://us.archive.ubuntu.com maverick/universe i386 Packages
Ign http://us.archive.ubuntu.com maverick/multiverse i386 Packages
Err http://us.archive.ubuntu.com maverick/main Sources
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com maverick/restricted Sources
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com maverick/universe Sources
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com maverick/multiverse Sources
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com maverick/main i386 Packages
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com maverick/restricted i386 Packages
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com maverick/universe i386 Packages
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com maverick/multiverse i386 Packages
  404  Not Found [IP: 91.189.91.13 80]
Hit http://toolbelt.heroku.com ./ Release
Ign http://toolbelt.heroku.com ./ Packages
Ign http://toolbelt.heroku.com ./ Packages
Hit http://toolbelt.heroku.com ./ Packages
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz  404  Not Found
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz  404  Not Found
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz  404  Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/restricted/source/Sources.gz  404  Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/universe/source/Sources.gz  404  Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/source/Sources.gz  404  Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz  404  Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-i386/Packages.gz  404  Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/universe/binary-i386/Packages.gz  404  Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/binary-i386/Packages.gz  404  Not Found [IP: 91.189.91.13 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.
There has been error while updating 'apt-get', please give it some time and try again later.
For 404 errors check your sources configured in:
    /etc/apt/sources.list
    /etc/apt/sources.list.d/*.list

将RVM Autolib切换到read-fail:

rvm autolibs read-fail

它会告诉RVM不要安装/更新任何东西,只会失败地告诉你缺少什么,从现在开始,如果你想安装缺少的依赖项(很可能你这样做了),或者忽略依赖项,让RVM知道你不想知道缺少什么:

rvm autolibs read-only

它会告诉RVM不要安装/更新任何东西,只使用已经安装的东西,不会发生故障,只会显示一个丢失东西的警告。

您尝试过用这个命令安装它吗?

sudo apt-get-install ruby1.9.3

相关内容

  • 没有找到相关文章

最新更新