• 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心洋葱网用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

ubuntu 安装ruby apt-get install ruby 出错

Linux 开心洋葱 2488次浏览 0个评论

ubuntu 安装ruby apt-get install ruby 出错

 

安装ruby 一直在163镜像网站找不到资源

 

 No address associated with hostname)
Failed to fetch http://mirrors.163.com/ubuntu/pool/main/r/ruby-defaults/ruby_4.8_all.deb  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
root@yangtao-virtual-machine:~# apt-get install ruby
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
  libreadline5 libruby1.8 ruby1.8
Suggested packages:
  ri ruby-dev ruby1.8-examples ri1.8
The following NEW packages will be installed:
  libreadline5 libruby1.8 ruby ruby1.8
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,944 kB of archives.
After this operation, 8,659 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libreadline5 libruby1.8 ruby1.8 ruby
Install these packages without verification [y/N]? n
E: Some packages could not be authenticated
root@yangtao-virtual-machine:~# apt-get install ruby
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
  libreadline5 libruby1.8 ruby1.8
Suggested packages:
  ri ruby-dev ruby1.8-examples ri1.8
The following NEW packages will be installed:
  libreadline5 libruby1.8 ruby ruby1.8
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,944 kB of archives.
After this operation, 8,659 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Abort.
root@yangtao-virtual-machine:~# apt-get install ruby
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
  libreadline5 libruby1.8 ruby1.8
Suggested packages:
  ri ruby-dev ruby1.8-examples ri1.8
The following NEW packages will be installed:
  libreadline5 libruby1.8 ruby ruby1.8
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,944 kB of archives.
After this operation, 8,659 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libreadline5 libruby1.8 ruby1.8 ruby
Install these packages without verification [y/N]? y
Err http://mirrors.163.com/ubuntu/ oneiric/main libreadline5 i386 5.2-9ubuntu1
  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
Err http://mirrors.163.com/ubuntu/ oneiric/main libruby1.8 i386 1.8.7.352-2
  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
Err http://mirrors.163.com/ubuntu/ oneiric/main ruby1.8 i386 1.8.7.352-2
  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
Err http://mirrors.163.com/ubuntu/ oneiric/main ruby all 4.8
  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
Failed to fetch http://mirrors.163.com/ubuntu/pool/main/r/readline5/libreadline5_5.2-9ubuntu1_i386.deb  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
Failed to fetch http://mirrors.163.com/ubuntu/pool/main/r/ruby1.8/libruby1.8_1.8.7.352-2_i386.deb  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
Failed to fetch http://mirrors.163.com/ubuntu/pool/main/r/ruby1.8/ruby1.8_1.8.7.352-2_i386.deb  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
Failed to fetch http://mirrors.163.com/ubuntu/pool/main/r/ruby-defaults/ruby_4.8_all.deb  Something wicked happened resolving 'mirrors.163.com:http' (-5 – No address associated with hostname)
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明ubuntu 安装ruby apt-get install ruby 出错
喜欢 (0)

您必须 登录 才能发表评论!

加载中……