Unable to Install 'foreman-proxy' and 'foreman-cli' packages on RHEL 6.x using RHSCL 1

Folks –

While attempting to install the 'foreman-proxy' and 'foreman-cli' packages
from the Foreman repository, I am receiving an error about a missing
dependency, namely 'rubygems'. However, package 'ruby193-rubygems' is
installed

[root@pup-master-1 ~]# yum list installed ruby193-rubygems
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Installed Packages
ruby193-rubygems.noarch 1.8.23-49.el6
@rhel-x86_64-server-6-rhscl-1

When attempting to install the 'foreman-proxy' package, for instance, I
receive the following output:

[root@pup-master-1 ~]# yum install foreman-proxy
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package foreman-proxy.noarch 0:1.6.0-1.el6 will be installed
–> Processing Dependency: rubygem(rake) >= 0.8.3 for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygem(rack) >= 1.1.0 for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygems for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygem(sinatra) for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygem(rubyipmi) for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygem(rkerberos) for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygem(json) for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygem(gssapi) for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygem(bundler_ext) for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Running transaction check
—> Package foreman-proxy.noarch 0:1.6.0-1.el6 will be installed
–> Processing Dependency: rubygem(rake) >= 0.8.3 for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygems for package:
foreman-proxy-1.6.0-1.el6.noarch
—> Package rubygem-bundler_ext.noarch 0:0.3.0-6.el6 will be installed
–> Processing Dependency: rubygem(bundler) for package:
rubygem-bundler_ext-0.3.0-6.el6.noarch
–> Processing Dependency: ruby(rubygems) for package:
rubygem-bundler_ext-0.3.0-6.el6.noarch
—> Package rubygem-gssapi.noarch 0:1.1.2-2.el6 will be installed
–> Processing Dependency: rubygem(ffi) >= 1.0.1 for package:
rubygem-gssapi-1.1.2-2.el6.noarch
–> Processing Dependency: ruby(rubygems) for package:
rubygem-gssapi-1.1.2-2.el6.noarch
—> Package rubygem-json.x86_64 0:1.4.6-1.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-json-1.4.6-1.el6.x86_64
—> Package rubygem-rack.noarch 1:1.1.0-2.el6 will be installed
–> Processing Dependency: rubygems for package:
1:rubygem-rack-1.1.0-2.el6.noarch
—> Package rubygem-rkerberos.x86_64 0:0.1.3-2.1.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-rkerberos-0.1.3-2.1.el6.x86_64
—> Package rubygem-rubyipmi.noarch 0:0.7.0-2.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-rubyipmi-0.7.0-2.el6.noarch
–> Processing Dependency: ipmitool for package:
rubygem-rubyipmi-0.7.0-2.el6.noarch
—> Package rubygem-sinatra.noarch 1:1.0-2.el6 will be installed
–> Processing Dependency: rubygem(rack-test) >= 0.3.0 for package:
1:rubygem-sinatra-1.0-2.el6.noarch
–> Processing Dependency: rubygems for package:
1:rubygem-sinatra-1.0-2.el6.noarch
–> Running transaction check
—> Package foreman-proxy.noarch 0:1.6.0-1.el6 will be installed
–> Processing Dependency: rubygem(rake) >= 0.8.3 for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygems for package:
foreman-proxy-1.6.0-1.el6.noarch
—> Package ipmitool.x86_64 0:1.8.11-16.el6 will be installed
—> Package rubygem-bundler.noarch 0:1.0.15-3.el6 will be installed
–> Processing Dependency: rubygem(thor) = 0.14.6 for package:
rubygem-bundler-1.0.15-3.el6.noarch
–> Processing Dependency: rubygems for package:
rubygem-bundler-1.0.15-3.el6.noarch
—> Package rubygem-bundler_ext.noarch 0:0.3.0-6.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-bundler_ext-0.3.0-6.el6.noarch
—> Package rubygem-ffi.x86_64 0:1.0.9-9.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-ffi-1.0.9-9.el6.x86_64
—> Package rubygem-gssapi.noarch 0:1.1.2-2.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-gssapi-1.1.2-2.el6.noarch
—> Package rubygem-json.x86_64 0:1.4.6-1.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-json-1.4.6-1.el6.x86_64
—> Package rubygem-rack.noarch 1:1.1.0-2.el6 will be installed
–> Processing Dependency: rubygems for package:
1:rubygem-rack-1.1.0-2.el6.noarch
—> Package rubygem-rack-test.noarch 0:0.5.4-1.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-rack-test-0.5.4-1.el6.noarch
—> Package rubygem-rkerberos.x86_64 0:0.1.3-2.1.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-rkerberos-0.1.3-2.1.el6.x86_64
—> Package rubygem-rubyipmi.noarch 0:0.7.0-2.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-rubyipmi-0.7.0-2.el6.noarch
—> Package rubygem-sinatra.noarch 1:1.0-2.el6 will be installed
–> Processing Dependency: rubygems for package:
1:rubygem-sinatra-1.0-2.el6.noarch
–> Running transaction check
—> Package foreman-proxy.noarch 0:1.6.0-1.el6 will be installed
–> Processing Dependency: rubygem(rake) >= 0.8.3 for package:
foreman-proxy-1.6.0-1.el6.noarch
–> Processing Dependency: rubygems for package:
foreman-proxy-1.6.0-1.el6.noarch
—> Package rubygem-bundler.noarch 0:1.0.15-3.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-bundler-1.0.15-3.el6.noarch
—> Package rubygem-bundler_ext.noarch 0:0.3.0-6.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-bundler_ext-0.3.0-6.el6.noarch
—> Package rubygem-ffi.x86_64 0:1.0.9-9.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-ffi-1.0.9-9.el6.x86_64
—> Package rubygem-gssapi.noarch 0:1.1.2-2.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-gssapi-1.1.2-2.el6.noarch
—> Package rubygem-json.x86_64 0:1.4.6-1.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-json-1.4.6-1.el6.x86_64
—> Package rubygem-rack.noarch 1:1.1.0-2.el6 will be installed
–> Processing Dependency: rubygems for package:
1:rubygem-rack-1.1.0-2.el6.noarch
—> Package rubygem-rack-test.noarch 0:0.5.4-1.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-rack-test-0.5.4-1.el6.noarch
—> Package rubygem-rkerberos.x86_64 0:0.1.3-2.1.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-rkerberos-0.1.3-2.1.el6.x86_64
—> Package rubygem-rubyipmi.noarch 0:0.7.0-2.el6 will be installed
–> Processing Dependency: ruby(rubygems) for package:
rubygem-rubyipmi-0.7.0-2.el6.noarch
—> Package rubygem-sinatra.noarch 1:1.0-2.el6 will be installed
–> Processing Dependency: rubygems for package:
1:rubygem-sinatra-1.0-2.el6.noarch
—> Package rubygem-thor.noarch 0:0.14.6-2.el6 will be installed
–> Processing Dependency: rubygems for package:
rubygem-thor-0.14.6-2.el6.noarch
–> Finished Dependency Resolution
Error: Package: rubygem-json-1.4.6-1.el6.x86_64 (epel)
Requires: rubygems
Error: Package: rubygem-gssapi-1.1.2-2.el6.noarch (epel)
Requires: ruby(rubygems)
Error: Package: foreman-proxy-1.6.0-1.el6.noarch (foreman)
Requires: rubygem(rake) >= 0.8.3
Error: Package: 1:rubygem-rack-1.1.0-2.el6.noarch (epel)
Requires: rubygems
Error: Package: rubygem-bundler_ext-0.3.0-6.el6.noarch (foreman)
Requires: ruby(rubygems)
Error: Package: rubygem-rack-test-0.5.4-1.el6.noarch (epel)
Requires: rubygems
Error: Package: rubygem-rubyipmi-0.7.0-2.el6.noarch (foreman)
Requires: ruby(rubygems)
Error: Package: rubygem-bundler-1.0.15-3.el6.noarch (foreman)
Requires: rubygems
Error: Package: rubygem-ffi-1.0.9-9.el6.x86_64 (epel)
Requires: ruby(rubygems)
Error: Package: rubygem-rkerberos-0.1.3-2.1.el6.x86_64 (foreman)
Requires: rubygems
Error: Package: 1:rubygem-sinatra-1.0-2.el6.noarch (epel)
Requires: rubygems
Error: Package: foreman-proxy-1.6.0-1.el6.noarch (foreman)
Requires: rubygems
Error: Package: rubygem-thor-0.14.6-2.el6.noarch (foreman)
Requires: rubygems
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Any assistance would be greatly appreciated.

Thanks!
– Adam

> Requires: rubygems

You need the EPEL repo, as per the manual.

Hi Greg –

I saw that requirement, and have enabled both the EPEL and RHSCL 1
repositories, yet the error persists. The only way I was able to get it to
go away was by enabling the Red Hat Optional repository, which the
documentation does not mention.

Thanks,
– Adam

··· ______________________ *J. Adam Craig* UNIX & Windows Operating Systems Engineer VCU Computer Center 804.828.4886

“Don’t be a phishing victim – VCU and other reputable organizations will
never use email to request that you reply with your password, social
security number or confidential personal information. For more details,
visit http://infosecurity.vcu.edu/phishing.html

On Fri, Sep 12, 2014 at 12:42 PM, Greg Sutcliffe greg.sutcliffe@gmail.com wrote:

Requires: rubygems

You need the EPEL repo, as per the manual.


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/-D1ReyuiK-M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

My apoologies for naming the wrong repo. However, for the record, both
are mentioned:

http://theforeman.org/manuals/1.6/index.html#3.1SystemRequirements

  • Red Hat Enterprise Linux 6 or 7
    EPEL is required
    Enable the Optional and RHSCL 1 repositories/channels

Glad you got it working!

Greg

··· On 12 September 2014 17:51, J. Adam Craig wrote: > Hi Greg -- > > I saw that requirement, and have enabled both the EPEL and RHSCL 1 > repositories, yet the error persists. The only way I was able to get it to > go away was by enabling the Red Hat Optional repository, which the > documentation does not mention.

Thanks Adam,

yes we need to enabled the optional repo. In my case I am running OEL 7 OS.
I enabled the "ol7_optional_latest".

Cheers

··· On Friday, September 12, 2014 at 10:21:23 PM UTC+5:30, J. Adam Craig wrote: > > Hi Greg -- > > I saw that requirement, and have enabled both the EPEL and RHSCL 1 > repositories, yet the error persists. The only way I was able to get it to > go away was by enabling the Red Hat Optional repository, which the > documentation does not mention. > > Thanks, > -- Adam > > ______________________ > *J. Adam Craig* > UNIX & Windows Operating Systems Engineer > VCU Computer Center > 804.828.4886 > > "Don't be a phishing victim -- VCU and other reputable organizations will > never use email to request that you reply with your password, social > security number or confidential personal information. For more details, > visit http://infosecurity.vcu.edu/phishing.html" > > On Fri, Sep 12, 2014 at 12:42 PM, Greg Sutcliffe > wrote: > >> > Requires: rubygems >> >> You need the EPEL repo, as per the manual. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Foreman users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/foreman-users/-D1ReyuiK-M/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > >

Thanks, Greg! If it'd been a snake it'd-a bit me. Appreciate your
patience and assistance. Best,
– Adam

··· ______________________ *J. Adam Craig* UNIX & Windows Operating Systems Engineer VCU Computer Center 804.828.4886

“Don’t be a phishing victim – VCU and other reputable organizations will
never use email to request that you reply with your password, social
security number or confidential personal information. For more details,
visit http://infosecurity.vcu.edu/phishing.html

On Fri, Sep 12, 2014 at 7:10 PM, Greg Sutcliffe greg.sutcliffe@gmail.com wrote:

On 12 September 2014 17:51, J. Adam Craig jacraig@vcu.edu wrote:

Hi Greg –

I saw that requirement, and have enabled both the EPEL and RHSCL 1
repositories, yet the error persists. The only way I was able to get it
to
go away was by enabling the Red Hat Optional repository, which the
documentation does not mention.

My apoologies for naming the wrong repo. However, for the record, both
are mentioned:

Foreman :: Manual

  • Red Hat Enterprise Linux 6 or 7
    EPEL is required
    Enable the Optional and RHSCL 1 repositories/channels

Glad you got it working!

Greg


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/-D1ReyuiK-M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.