LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-03-2013, 09:24 AM   #1
jagdish.jagtap1@wipro.co
LQ Newbie
 
Registered: May 2013
Posts: 8

Rep: Reputation: Disabled
Red face Installing puppet on RHEL6


Hi,
i am installing puppet on RHEL 6, i am getting following error, plz help..


[root@INFINI-ONE ~]# yum install puppet
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
core-0 | 1.8 kB 00:00
core-1 | 1.8 kB 00:00
core-2 | 1.8 kB 00:00
core-3 | 1.8 kB 00:00
core-4 | 1.8 kB 00:00
core-5 | 1.8 kB 00:00
puppetlabs-deps | 1.9 kB 00:00
puppetlabs-products | 1.9 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package puppet.noarch 0:3.2.1-1.el6 will be installed
--> Processing Dependency: facter >= 1.6.11 for package: puppet-3.2.1-1.el6.noarch
--> Processing Dependency: hiera >= 1.0.0 for package: puppet-3.2.1-1.el6.noarch
--> Processing Dependency: ruby(selinux) for package: puppet-3.2.1-1.el6.noarch
--> Processing Dependency: ruby-augeas for package: puppet-3.2.1-1.el6.noarch
--> Processing Dependency: ruby-rgen for package: puppet-3.2.1-1.el6.noarch
--> Processing Dependency: ruby-shadow for package: puppet-3.2.1-1.el6.noarch
--> Running transaction check
---> Package facter.x86_64 1:1.7.1-1.el6 will be installed
---> Package hiera.noarch 0:1.2.1-1.el6 will be installed
--> Processing Dependency: rubygem-json for package: hiera-1.2.1-1.el6.noarch
---> Package puppet.noarch 0:3.2.1-1.el6 will be installed
--> Processing Dependency: ruby(selinux) for package: puppet-3.2.1-1.el6.noarch
---> Package ruby-augeas.x86_64 0:0.4.1-1.el6 will be installed
---> Package ruby-rgen.noarch 0:0.6.2-1.el6 will be installed
---> Package ruby-shadow.x86_64 0:1.4.1-13.el6 will be installed
--> Running transaction check
---> Package puppet.noarch 0:3.2.1-1.el6 will be installed
--> Processing Dependency: ruby(selinux) for package: puppet-3.2.1-1.el6.noarch
---> Package rubygem-json.x86_64 0:1.5.5-1.el6 will be installed
--> Processing Dependency: rubygems for package: rubygem-json-1.5.5-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: rubygem-json-1.5.5-1.el6.x86_64 (puppetlabs-deps)
Requires: rubygems
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs-products)
Requires: ruby(selinux)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@INFINI-ONE ~]# gem -v
2.0.3
 
Old 06-03-2013, 09:35 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
these packages are in the RHN repositories. Are your subscriptions up to date? is your system healthy in the RHN console? Note that if you are not fully utilizing a paid subscription to RHN you should NOT be using RHEL in the first place, for reasons you;'re now encountering.

Not that this has nothing to do with virtualization or cloud computing, please pick your forums more carefully in future, thanks
 
Old 06-03-2013, 09:41 AM   #3
jagdish.jagtap1@wipro.co
LQ Newbie
 
Registered: May 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Wink

I have added puppet repos, i am having issue with ruby gems dependency, though its already installed there
 
Old 06-03-2013, 09:48 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well the latest official EL6 version of rubygems appears to be 1.3.7, yet you've got 2.0.3? Was this installed from a non-rpm source? if so then that won't register in the rpm dependency checks as it's looking for database entries, not binaries on disk.
 
Old 06-04-2013, 03:05 AM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,539

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
in addition to what acid_kewpie pointed out note:

Quote:
Error: Package: rubygem-json-1.5.5-1.el6.x86_64 (puppetlabs-deps)
Requires: rubygems
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs-products)
Requires: ruby(selinux)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@INFINI-ONE ~]# gem -v
2.0.3
have you followed the directions and ran yum --skip-broken?

if you installed EPEL from the fedora tree, then you are fubar and will have to go backwards to clean things up before you can properly install gem.
 
  


Reply

Tags
cloud, puppet, rhel 6, rubygems


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which is best document to read for installing and configuring puppet lab version3 ? ratotopi Linux - Software 0 12-12-2012 08:44 PM
Installing VLC on RHEL6 in offline Eshwar_mg Linux - Newbie 3 09-18-2012 04:38 PM
[SOLVED] Installing heartbeat on RHEL6 64-bit sunshadow Linux - Server 7 07-16-2012 10:05 AM
installing vlc on rhel6 64bit Gil@LQ Linux - Software 1 01-24-2012 08:42 AM
Parameter to execute shell script on puppet client through Puppet server niraj.kumar Linux - Server 3 02-08-2011 09:01 PM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration