Issues with RHEL7

1,787 views
Skip to first unread message

Arkandel

unread,
Jun 13, 2014, 1:49:44 PM6/13/14
to puppet...@googlegroups.com
Hey folks,

I'm having some issues installing puppet on a brand new RHEL7 server VM and I was wondering if any of you has ran into the same kinds of issues.

This is what I'm getting:

-----
yum install puppet
Loaded plugins: langpacks, product-id, subscription-manager
epel/x86_64/metalink                                                                                                                                                                                                  | 9.3 kB  00:00:00     
epel                                                                                                                                                                                                                  | 3.7 kB  00:00:00     
rhel-7-server-rpms                                                                                                                                                                                                    | 3.7 kB  00:00:00     
epel/x86_64/primary_db                                                                                                                                                                                                | 1.8 MB  00:00:01     
Resolving Dependencies
--> Running transaction check
---> Package puppet.noarch 0:3.6.0-1.el7 will be installed
--> Processing Dependency: hiera >= 1.0.0 for package: puppet-3.6.0-1.el7.noarch
--> Processing Dependency: facter >= 1.6.6 for package: puppet-3.6.0-1.el7.noarch
--> Processing Dependency: rubygem(rgen) for package: puppet-3.6.0-1.el7.noarch
--> Processing Dependency: ruby(selinux) for package: puppet-3.6.0-1.el7.noarch
--> Running transaction check
---> Package facter.x86_64 0:2.0.1-2.el7 will be installed
---> Package hiera.noarch 0:1.3.4-1.el7 will be installed
---> Package puppet.noarch 0:3.6.0-1.el7 will be installed
--> Processing Dependency: ruby(selinux) for package: puppet-3.6.0-1.el7.noarch
---> Package rubygem-rgen.noarch 0:0.6.6-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: puppet-3.6.0-1.el7.noarch (epel)
           Requires: ruby(selinux)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
-----

And yet 

-----
yum info libselinux
Loaded plugins: langpacks, product-id, subscription-manager
Installed Packages
Name        : libselinux
Arch        : x86_64
Version     : 2.2.2
Release     : 6.el7
Size        : 159 k
Repo        : installed
From repo   : anaconda
Summary     : SELinux library and simple utilities
License     : Public Domain

and

Installed Packages
Name        : epel-release
Arch        : noarch
Version     : 7
Release     : 0.1
Size        : 22 k
Repo        : installed
Summary     : Extra Packages for Enterprise Linux repository configuration
License     : GPLv2
------

What gives?

Arkandel

unread,
Jun 13, 2014, 2:51:21 PM6/13/14
to puppet...@googlegroups.com
Answering my own question. :)

libselinux-ruby seems to not be distributed with libselinux. However it's found in the server-optional channel.

subscription-manager repos --enable rhel-7-server-optional-rpm fixes this.

Miguel Angel Ajo Pelayo

unread,
Jun 23, 2014, 8:17:11 PM6/23/14
to puppet...@googlegroups.com

 It's actually: yum-config-manager repos --enable rhel-7-server-optional-rpms

:-)

Cheers! 

George Ivanov

unread,
Dec 19, 2014, 4:48:40 AM12/19/14
to puppet...@googlegroups.com
Good to answer your own question :) Confirm it worked for me too. Thanks!

Saxon Mailey

unread,
Jan 4, 2015, 11:15:48 PM1/4/15
to puppet...@googlegroups.com
Hi Guys,

There appears to be a typo in the subscription-manager example (its missing the s from rpms)

The command should be: subscription-manager repos --enable rhel-7-server-optional-rpms

This fixed the problem for me.

Thanks :)

Felix Frank

unread,
Jan 6, 2015, 6:19:41 PM1/6/15
to puppet...@googlegroups.com
Awesome. Is this an error in the official documentation? Could you file a bug or even create a pull request?

Thanks,
Felix


On 01/05/2015 05:15 AM, Saxon Mailey wrote:

Biju Joseph

unread,
Jan 8, 2015, 12:12:07 AM1/8/15
to puppet...@googlegroups.com
Thanks. I had same issue. Adding the repo "rhel-7-server-optional-rpms helped.
Reply all
Reply to author
Forward
0 new messages