Project

General

Profile

Actions

Bug #17478

closed

error install foreman-proxy

Added by Kirill Kolchanov over 7 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Installation foreman-installer -i (choose: foreman, foreman_cli, foreman_proxy, foreman_plugin_setup) an error referring to an unsatisfactory relationship rubygem (rake), it is strange that this package is not in EPEL.

errors:

Execution of '/usr/bin/yum -d 0 -e 0 -y install foreman-proxy' returned 1: Error: Package: foreman-proxy-1.13.1-1.el7.noarch (foreman)
Requires: rubygem(rake) >= 0.8.3

yum deplist foreman-proxy

dependency: rubygem(rake) >= 0.8.3
   Unsatisfied dependency

yum --showduplicates list rubygem*rake*

Available Packages
rubygem-drake.noarch                                                                          0.9.2.0.3.1-2.el7                                                               epel           
rubygem-drake-doc.noarch                                                                      0.9.2.0.3.1-2.el7                                                               epel           
rubygem-rake-compiler.noarch                                                                  0.9.3-1.el7                                                                     puppetlabs-deps
rubygem-rake-compiler.noarch                                                                  0.9.3-2.el7                                                                     epel           
rubygem-rake-compiler-doc.noarch  

yum repolist:

*epel/x86_64                                                   Extra Packages for Enterprise Linux 7 - x86_64                                                                       10 820
foreman/x86_64                                                 Foreman 1.13                                                                                                            409
foreman-plugins/x86_64                                         Foreman plugins 1.13                                                                                                    288
ol7_UEKR4/x86_64                                               Latest Unbreakable Enterprise Kernel Release 4 for Oracle Linux 7Server (x86_64)                                        241
ol7_latest/x86_64                                              Oracle Linux 7Server Latest (x86_64)                                                                                 17 866
puppetlabs-deps/x86_64                                         Puppet Labs Dependencies El 7 - x86_64                                                                                  17
puppetlabs-pc1/x86_64                                          Puppet Labs PC1 Repository el 7 - x86_64 (for test)                                                                     104
puppetlabs-products/x86_64                                     Puppet Labs Products El 7 - x86_64                                                                                      225
repolist: 29 970

OS: OEL 7.3

installed from gem:
rake (0.8.3)

installed from repo puppet:
puppet-server-3.8.7-1.el7.noarch
puppet-3.8.7-1.el7.noarch

how install this dependency rubygem(rake)?

Actions #1

Updated by Dominic Cleal over 7 years ago

  • Project changed from Installer to Packaging
  • Status changed from New to Feedback

rubygem-rake is part of the base OS, not EPEL, so check if there are any additional OL repositories that can be enabled - possibly "optional" or similar.

Actions #2

Updated by Kirill Kolchanov over 7 years ago

I add repos:

[rhscl-ruby200-epel-7-x86_64]
name=Ruby 2.0.0 - epel-7-x86_64
baseurl=https://www.softwarecollections.org/repos/rhscl/ruby200/epel-7-x86_64
enabled=1
gpgcheck=0

[rhscl-ruby193-epel-7-x86_64]
name=Ruby 1.9.3 - epel-7-x86_64
baseurl=https://www.softwarecollections.org/repos/rhscl/ruby193/epel-7-x86_64
enabled=1
gpgcheck=0

and packages have become available:
ruby193-rubygem-rake.noarch : Ruby based make-like utility
ruby200-rubygem-rake.noarch : Ruby based make-like utility

but require install an existing ruby and its dependencies.
Dependencies Resolved

==============================================================================================================================================================================================
 Package                                            Arch                           Version                                          Repository                                           Size
==============================================================================================================================================================================================
Installing:
 ruby200-rubygem-rake                               noarch                         0.9.6-23.el7.centos                              rhscl-ruby200-epel-7-x86_64                          89 k
Installing for dependencies:
 ruby200-ruby                                       x86_64                         2.0.0.353-23.el7.centos                          rhscl-ruby200-epel-7-x86_64                          66 k
 ruby200-ruby-irb                                   noarch                         2.0.0.353-23.el7.centos                          rhscl-ruby200-epel-7-x86_64                          87 k
 ruby200-ruby-libs                                  x86_64                         2.0.0.353-23.el7.centos                          rhscl-ruby200-epel-7-x86_64                         2.8 M
 ruby200-rubygem-bigdecimal                         x86_64                         1.2.0-23.el7.centos                              rhscl-ruby200-epel-7-x86_64                          78 k
 ruby200-rubygem-io-console                         x86_64                         0.4.2-23.el7.centos                              rhscl-ruby200-epel-7-x86_64                          49 k
 ruby200-rubygem-json                               x86_64                         1.7.7-23.el7.centos                              rhscl-ruby200-epel-7-x86_64                          75 k
 ruby200-rubygem-psych                              x86_64                         2.0.0-23.el7.centos                              rhscl-ruby200-epel-7-x86_64                          76 k
 ruby200-rubygem-rdoc                               noarch                         4.0.0-23.el7.centos                              rhscl-ruby200-epel-7-x86_64                         318 k
 ruby200-rubygems                                   x86_64                         2.0.14-23.el7.centos                             rhscl-ruby200-epel-7-x86_64                         212 k
 ruby200-runtime                                    x86_64                         1.1-7.el7.centos                                 rhscl-ruby200-epel-7-x86_64                          26 k
 scl-utils           

[root@oel0 ~]# ruby -v
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]

[root@oel0 ~]# rpm -qa | grep ruby-libs
ruby-libs-2.0.0.648-29.el7.x86_64


I'm afraid that RHSCL not suit me. Very strange that the public external repository public-yum-ol7 and does not have the necessary packages.

Actions #3

Updated by Kirill Kolchanov over 7 years ago

  • Status changed from Feedback to Resolved

I found package rubygem-rake in the same public-yum-ol7: ol7_optional_latest


Thanks Dominic!

Actions #4

Updated by Daniel Braga over 5 years ago

Kirill Kolchanov wrote:

I add repos:
[...]
and packages have become available:
[...]
but require install an existing ruby and its dependencies.
[...]


I'm afraid that RHSCL not suit me. Very strange that the public external repository public-yum-ol7 and does not have the necessary packages.

I used your sollution and my Foreman is installed now!!! Thanks a lot! :)

Actions

Also available in: Atom PDF