Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)

1,329 views
Skip to first unread message

Nishant Jain

unread,
Nov 16, 2012, 3:15:48 PM11/16/12
to puppet...@googlegroups.com
Hello Everybody,
                           I am trying to install puppet on Red Hat Enterprise Linux Server release 5.8 Beta (Tikanga)

I am getting the following error when I am trying to install puppet server
sudo yum install puppet-server

puppet-3.0.1-1.el5.noarch from puppetlabs-products has depsolving problems
  --> Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)
Error: Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.


I have installed ruby
yum install ruby
ruby 1.8.7 (2012-06-29 patchlevel 370) [x86_64-linux]



Can anybody help how to get the libselinux-ruby

Matthaus Owens

unread,
Nov 16, 2012, 3:40:37 PM11/16/12
to puppet...@googlegroups.com
libselinux-ruby is in base on EL 5. Do you have the base OS repos enabled?

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/X7BJ7unZ4DUJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.



--
Matthaus Owens
Release Manager, Puppet Labs

Nishant Jain

unread,
Nov 16, 2012, 4:02:53 PM11/16/12
to puppet...@googlegroups.com
Hello Matthaus,
                         I have got following on my os
rpm -qa | grep libselinux
libselinux-1.33.4-5.7.el5
libselinux-1.33.4-5.7.el5
libselinux-utils-1.33.4-5.7.el5
libselinux-python-1.33.4-5.7.el5


It's still giving me the above error.

Matthaus Owens

unread,
Nov 16, 2012, 4:55:30 PM11/16/12
to puppet...@googlegroups.com
What is the output of `yum repolist` ? 

libselinux-ruby is in the base OS repo for rhel/centos, so the most likely reason it wouldn't be available to yum would be if the base OS repo weren't available/enabled.

To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Knbl5tGa0bcJ.

To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Nishant Jain

unread,
Nov 16, 2012, 4:57:26 PM11/16/12
to puppet...@googlegroups.com
Sorry for the post.
Seems like the VM is not subscribed to the RHN , so it was not able to get the package from the Red Hat Repository.

Thanks for the reply,
Nishant

Matthaus Owens

unread,
Nov 16, 2012, 5:06:04 PM11/16/12
to puppet...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages