Dependency problem installing 1.5 plugins

When I try to install one of the foreman plugins in 1.5 RC2 on Centos
6.5, I get a dependency problem:

    yum install ruby193-rubygem-foreman_dhcp_browser
    
            --> Finished Dependency Resolution
            Error: Package:
            ruby193-rubygem-foreigner-1.4.2-1.el6.noarch (foreman)
                       Requires: ruby193-ruby
            Error: Package:
            ruby193-rubygem-daemons-1.1.4-7.el6.noarch (foreman)
                       Requires: ruby193-ruby(abi) = 1.9.1
            Error: Package:
            ruby193-rubygem-bundler_ext-0.3.0-3.el6.noarch (foreman)
                       Requires: ruby193-rubygem(bundler)
            Error: Package:
            ruby193-rubygem-net-ldap-0.3.1-1.el6.noarch (foreman)
                       Requires: ruby193-ruby(rubygems)
            Error: Package:
            ruby193-rubygem-audited-activerecord-3.0.0-2.el6.noarch
            (foreman)
                       Requires: ruby193-ruby(abi) = 1.9.1
            Error: Package:
            ruby193-rubygem-scoped_search-2.7.1-1.el6.noarch
            (foreman)
                       Requires: ruby193-rubygems

Both the ruby193-ruby and ruby193-rubygems are not available in the
foreman 1.5 or the EPEL repo:

    yum install ruby193-ruby ruby193-rubygems
    
            Loaded plugins: fastestmirror
            Loading mirror speeds from cached hostfile
            Setting up Install Process
            No package ruby193-ruby available.
            No package ruby193-rubygems available.
            Error: Nothing to do

Strange part is the packages are also not available in the 1.4 repo but
in my katello install these are fetched from the katello repo…

Kind regards,
Jorick Astrego
Netbulae BV

Hello,

you are likely missing CentOS SCL 1.0 repository. What is your

yum repolist

output?

··· On Tue, May 06, 2014 at 08:16:14AM +0200, Jorick Astrego wrote: > When I try to install one of the foreman plugins in 1.5 RC2 on Centos > 6.5, I get a dependency problem: > > > yum install ruby193-rubygem-foreman_dhcp_browser > > --> Finished Dependency Resolution > Error: Package: > ruby193-rubygem-foreigner-1.4.2-1.el6.noarch (foreman) > Requires: ruby193-ruby > Error: Package: > ruby193-rubygem-daemons-1.1.4-7.el6.noarch (foreman) > Requires: ruby193-ruby(abi) = 1.9.1 > Error: Package: > ruby193-rubygem-bundler_ext-0.3.0-3.el6.noarch (foreman) > Requires: ruby193-rubygem(bundler) > Error: Package: > ruby193-rubygem-net-ldap-0.3.1-1.el6.noarch (foreman) > Requires: ruby193-ruby(rubygems) > Error: Package: > ruby193-rubygem-audited-activerecord-3.0.0-2.el6.noarch > (foreman) > Requires: ruby193-ruby(abi) = 1.9.1 > Error: Package: > ruby193-rubygem-scoped_search-2.7.1-1.el6.noarch > (foreman) > Requires: ruby193-rubygems > > > Both the ruby193-ruby and ruby193-rubygems are not available in the > foreman 1.5 or the EPEL repo: > > > yum install ruby193-ruby ruby193-rubygems > > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > Setting up Install Process > No package ruby193-ruby available. > No package ruby193-rubygems available. > Error: Nothing to do >


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

Ah, thanks!

The text in the install doc is not entirely clear as I interpreted it as
"only on RHEL 6"

    3.1.1 Supported Platforms
    The following operating systems are supported by the installer,
    have packages and are tested for deploying Foreman:



  * Red Hat Enterprise Linux 6 and derivatives (CentOS, Scientific
    Linux) 
          * EPEL is required 
          * On RHEL 6, additionally the Optional and RHSCL 1.0
            repositories/channels: 
                  * yum-config-manager --enable
                    rhel-6-server-optional-rpms
                    rhel-server-rhscl-6-rpms 

Later things are more clear:

    3.3.1 RPM Packages
    Pre-requisites
    All RHEL and derivatives require Red Hat Software Collections
    (RHSCL) 1.0 or rebuild, e.g. Software Collections for CentOS.
    RHSCL is available to RHEL customers as a separate repository or
    child channel. More information on Software Collections for
    CentOS is available here and for Scientific Linux it is
    available here.
··· On Tue, 2014-05-06 at 09:54 +0200, Lukas Zapletal wrote:

Hello,

you are likely missing CentOS SCL 1.0 repository. What is your

yum repolist

output?

On Tue, May 06, 2014 at 08:16:14AM +0200, Jorick Astrego wrote:

When I try to install one of the foreman plugins in 1.5 RC2 on Centos
6.5, I get a dependency problem:

    yum install ruby193-rubygem-foreman_dhcp_browser
    
            --> Finished Dependency Resolution
            Error: Package:
            ruby193-rubygem-foreigner-1.4.2-1.el6.noarch (foreman)
                       Requires: ruby193-ruby
            Error: Package:
            ruby193-rubygem-daemons-1.1.4-7.el6.noarch (foreman)
                       Requires: ruby193-ruby(abi) = 1.9.1
            Error: Package:
            ruby193-rubygem-bundler_ext-0.3.0-3.el6.noarch (foreman)
                       Requires: ruby193-rubygem(bundler)
            Error: Package:
            ruby193-rubygem-net-ldap-0.3.1-1.el6.noarch (foreman)
                       Requires: ruby193-ruby(rubygems)
            Error: Package:
            ruby193-rubygem-audited-activerecord-3.0.0-2.el6.noarch
            (foreman)
                       Requires: ruby193-ruby(abi) = 1.9.1
            Error: Package:
            ruby193-rubygem-scoped_search-2.7.1-1.el6.noarch
            (foreman)
                       Requires: ruby193-rubygems

Both the ruby193-ruby and ruby193-rubygems are not available in the
foreman 1.5 or the EPEL repo:

    yum install ruby193-ruby ruby193-rubygems
    
            Loaded plugins: fastestmirror
            Loading mirror speeds from cached hostfile
            Setting up Install Process
            No package ruby193-ruby available.
            No package ruby193-rubygems available.
            Error: Nothing to do


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman

Sorry for the confusion - the intention was to avoiding confusing users
who were using the installer. The installer's capable of configuring
the CentOS and Scientific Linux SCL repos, but not RHSCL for RHEL itself.

If you're using the installer then the expectation is you'll see 3.1.1
and not add it manually, but then if you're installing just from
packages then you would.

··· -- Dominic Cleal Red Hat Engineering

On 06/05/14 17:09, Jorick Astrego wrote:

Ah, thanks!

The text in the install doc is not entirely clear as I interpreted it as
"only on RHEL 6"

*3.1.1 Supported Platforms*
The following operating systems are supported by the installer, have
packages and are tested for deploying Foreman:
  • Red Hat Enterprise Linux 6 and derivatives (CentOS, Scientific Linux)
    o EPEL http://fedoraproject.org/wiki/EPEL is required
    o On RHEL 6, additionally the Optional and RHSCL 1.0
    repositories/channels:
    + yum-config-manager --enable rhel-6-server-optional-rpms
    rhel-server-rhscl-6-rpms

Later things are more clear:

*3.3.1 RPM Packages*
*Pre-requisites*
*All RHEL and derivatives require Red Hat Software Collections
(RHSCL) 1.0 or rebuild, e.g. Software Collections for CentOS.* RHSCL
is available to RHEL customers as a separate repository or child
channel. More information on Software Collections for CentOS is
available here
<http://wiki.centos.org/AdditionalResources/Repositories/SCL> and
for Scientific Linux it is available here
<http://ftp.scientificlinux.org/linux/scientific/6/x86_64/external_products/softwarecollections/>.

On Tue, 2014-05-06 at 09:54 +0200, Lukas Zapletal wrote:

Hello,

you are likely missing CentOS SCL 1.0 repository. What is your

yum repolist

output?

On Tue, May 06, 2014 at 08:16:14AM +0200, Jorick Astrego wrote:

When I try to install one of the foreman plugins in 1.5 RC2 on Centos
6.5, I get a dependency problem:

    yum install ruby193-rubygem-foreman_dhcp_browser
    
            --> Finished Dependency Resolution
            Error: Package:
            ruby193-rubygem-foreigner-1.4.2-1.el6.noarch (foreman)
                       Requires: ruby193-ruby
            Error: Package:
            ruby193-rubygem-daemons-1.1.4-7.el6.noarch (foreman)
                       Requires: ruby193-ruby(abi) = 1.9.1
            Error: Package:
            ruby193-rubygem-bundler_ext-0.3.0-3.el6.noarch (foreman)
                       Requires: ruby193-rubygem(bundler)
            Error: Package:
            ruby193-rubygem-net-ldap-0.3.1-1.el6.noarch (foreman)
                       Requires: ruby193-ruby(rubygems)
            Error: Package:
            ruby193-rubygem-audited-activerecord-3.0.0-2.el6.noarch
            (foreman)
                       Requires: ruby193-ruby(abi) = 1.9.1
            Error: Package:
            ruby193-rubygem-scoped_search-2.7.1-1.el6.noarch
            (foreman)
                       Requires: ruby193-rubygems

Both the ruby193-ruby and ruby193-rubygems are not available in the
foreman 1.5 or the EPEL repo:

    yum install ruby193-ruby ruby193-rubygems
    
            Loaded plugins: fastestmirror
            Loading mirror speeds from cached hostfile
            Setting up Install Process
            No package ruby193-ruby available.
            No package ruby193-rubygems available.
            Error: Nothing to do


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto: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.

Ah ok, I wanted to use foreman installer but wanted to save some time on
this run by using the foreman_setup plugin:

foreman_setup
https://github.com/theforeman/foreman_setup
It helps set
up
provisioning
in two parts
using a
wizard: a)
helps you
enter network
info and then
tells you how
to run Foreman
installer to
set up DHCP
and DNS
management, b)
sets up an OS
with
templates,
installation
media and
everything you
need
yes
yes

So I just added the repo manually.

Kind regards,

Jorick Astrego

··· On Wed, 2014-05-07 at 09:27 +0100, Dominic Cleal wrote:

Sorry for the confusion - the intention was to avoiding confusing users
who were using the installer. The installer’s capable of configuring
the CentOS and Scientific Linux SCL repos, but not RHSCL for RHEL itself.

If you’re using the installer then the expectation is you’ll see 3.1.1
and not add it manually, but then if you’re installing just from
packages then you would.


Dominic Cleal
Red Hat Engineering

On 06/05/14 17:09, Jorick Astrego wrote:

Ah, thanks!

The text in the install doc is not entirely clear as I interpreted it as
“only on RHEL 6”

*3.1.1 Supported Platforms*
The following operating systems are supported by the installer, have
packages and are tested for deploying Foreman:
  • Red Hat Enterprise Linux 6 and derivatives (CentOS, Scientific Linux)
    o EPEL http://fedoraproject.org/wiki/EPEL is required
    o On RHEL 6, additionally the Optional and RHSCL 1.0
    repositories/channels:
    + yum-config-manager --enable rhel-6-server-optional-rpms
    rhel-server-rhscl-6-rpms

Later things are more clear:

*3.3.1 RPM Packages*
*Pre-requisites*
*All RHEL and derivatives require Red Hat Software Collections
(RHSCL) 1.0 or rebuild, e.g. Software Collections for CentOS.* RHSCL
is available to RHEL customers as a separate repository or child
channel. More information on Software Collections for CentOS is
available here
<http://wiki.centos.org/AdditionalResources/Repositories/SCL> and
for Scientific Linux it is available here
<http://ftp.scientificlinux.org/linux/scientific/6/x86_64/external_products/softwarecollections/>.

On Tue, 2014-05-06 at 09:54 +0200, Lukas Zapletal wrote:

Hello,

you are likely missing CentOS SCL 1.0 repository. What is your

yum repolist

output?

On Tue, May 06, 2014 at 08:16:14AM +0200, Jorick Astrego wrote:

When I try to install one of the foreman plugins in 1.5 RC2 on Centos
6.5, I get a dependency problem:

    yum install ruby193-rubygem-foreman_dhcp_browser
    
            --> Finished Dependency Resolution
            Error: Package:
            ruby193-rubygem-foreigner-1.4.2-1.el6.noarch (foreman)
                       Requires: ruby193-ruby
            Error: Package:
            ruby193-rubygem-daemons-1.1.4-7.el6.noarch (foreman)
                       Requires: ruby193-ruby(abi) = 1.9.1
            Error: Package:
            ruby193-rubygem-bundler_ext-0.3.0-3.el6.noarch (foreman)
                       Requires: ruby193-rubygem(bundler)
            Error: Package:
            ruby193-rubygem-net-ldap-0.3.1-1.el6.noarch (foreman)
                       Requires: ruby193-ruby(rubygems)
            Error: Package:
            ruby193-rubygem-audited-activerecord-3.0.0-2.el6.noarch
            (foreman)
                       Requires: ruby193-ruby(abi) = 1.9.1
            Error: Package:
            ruby193-rubygem-scoped_search-2.7.1-1.el6.noarch
            (foreman)
                       Requires: ruby193-rubygems

Both the ruby193-ruby and ruby193-rubygems are not available in the
foreman 1.5 or the EPEL repo:

    yum install ruby193-ruby ruby193-rubygems
    
            Loaded plugins: fastestmirror
            Loading mirror speeds from cached hostfile
            Setting up Install Process
            No package ruby193-ruby available.
            No package ruby193-rubygems available.
            Error: Nothing to do


Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto: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.

I get it now, first install foreman and then use the setup plugin to
configure dns/dhcp :wink:

··· On Wed, 2014-05-07 at 10:54 +0200, Jorick Astrego wrote:

Ah ok, I wanted to use foreman installer but wanted to save some time
on this run by using the foreman_setup plugin:

foreman_setup
https://github.com/theforeman/foreman_setup
It helps set
up
provisioning
in two parts
using a
wizard: a)
helps you
enter network
info and then
tells you how
to run Foreman
installer to
set up DHCP
and DNS
management, b)
sets up an OS
with
templates,
installation
media and
everything you
need
yes
yes

So I just added the repo manually.

Kind regards,

Jorick Astrego
On Wed, 2014-05-07 at 09:27 +0100, Dominic Cleal wrote:

Sorry for the confusion - the intention was to avoiding confusing users
who were using the installer. The installer’s capable of configuring
the CentOS and Scientific Linux SCL repos, but not RHSCL for RHEL itself.

If you’re using the installer then the expectation is you’ll see 3.1.1
and not add it manually, but then if you’re installing just from
packages then you would.