LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing puppet on RHEL6 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-puppet-on-rhel6-4175464565/)

jagdish.jagtap1@wipro.co 06-03-2013 09:24 AM

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

acid_kewpie 06-03-2013 09:35 AM

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 :)

jagdish.jagtap1@wipro.co 06-03-2013 09:41 AM

I have added puppet repos, i am having issue with ruby gems dependency, though its already installed there

acid_kewpie 06-03-2013 09:48 AM

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.

lleb 06-04-2013 03:05 AM

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.


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