问题描述:
我打算安装 foreman=1.14.3 ,它需要 rh-ruby22-ruby 作为依赖项,但我在 repo centos-sclo-rh 中找不到 rh-ruby22-ruby ,这yum info rh-ruby22-ruby
告诉我它应该在那里,如下内容所示故事
[root@rnoaz02ppm01 /]# yum info rh-ruby22-ruby
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
Name : rh-ruby22-ruby
Arch : x86_64
Version : 2.2.2
Release : 16.el7
Size : 69 k
Repo : installed
From repo : centos-sclo-rh
Summary : An interpreter of object-oriented scripting language
URL : http://ruby-lang.org/
License : (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD
Description : Ruby is the interpreted scripting language for quick and easy
: object-oriented programming. It has many features to process text
: files and to do system management tasks (as in Perl). It is simple,
: straight-forward, and extensible.
我也搜索了谷歌,幸运的是我发现了https://cbs.centos.org/koji/buildinfo?buildID=13739我可以在哪里找到 rpm 包,但该包仍然需要依赖关系,如下所示:
[root@slc07ppm02 yum.repos.d]# rpm -i https://cbs.centos.org/kojifiles/packages/rh-ruby22-ruby/2.2.2/15.el7/x86_64/rh-ruby22-ruby-2.2.2-15.el7.x86_64.rpm
error: Failed dependencies:
libruby.so.2.2()(64bit) is needed by rh-ruby22-ruby-2.2.2-15.el7.x86_64
rh-ruby22-ruby(rubygems) >= 2.4.5 is needed by rh-ruby22-ruby-2.2.2-15.el7.x86_64
rh-ruby22-ruby-libs(x86-64) = 2.2.2-15.el7 is needed by rh-ruby22-ruby-2.2.2-15.el7.x86_64
rh-ruby22-rubygem(bigdecimal) >= 1.2.6 is needed by rh-ruby22-ruby-2.2.2-15.el7.x86_64
rh-ruby22-runtime is needed by rh-ruby22-ruby-2.2.2-15.el7.x86_64
问题:
- 我是否尝试了错误的工作人员
rpm -i https://cbs.centos.org/kojifiles/packages/rh-ruby22-ruby/2.2.2/15.el7/x86_64/rh-ruby22-ruby-2.2.2-15.el7.x86_64.rpm
,也许我可以尝试页面中的其他工作人员。 - 我可以在哪里下载具有完整依赖项的 rpm 包?
- 如果我真的想要 rmp 套餐我该怎么办?
提前致谢!!!