Ask Your Question

Unable to install puppet on cent 6.4 - Error Package: rubygem-json requires

asked 2013-10-09 14:44:50 -0600

spuder gravatar image

updated 2013-10-09 15:20:11 -0600

Trying to install puppet agent on a Cent 6.4 machine gives the following error

sudo rpm -ivh
yum install puppet
--> Running transaction check
---> Package augeas-libs.x86_64 0:0.9.0-4.el6 will be installed
---> 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
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

People in ... (more)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-10-10 13:43:19 -0600

ramindk gravatar image

I think you might be having problems with your Yum repos. rubygems is in EPEL and should be pulled in as a dependency of rubygem-json. I've run through the install a few times on a fresh 6.4 machine with no problems.

edit flag offensive delete link more

answered 2013-10-09 14:47:29 -0600

spuder gravatar image

Puppet requires rubygems.

One possible work around is to install rubygems from the REBL repo.

sudo rpm -Uvh 
yum install rubygems
sudo rpm -ivh
yum install puppet

Found this information on the chef website of all places.

edit flag offensive delete link more


Thanks for the quick answer ;)

Maarten van Wensveen gravatar imageMaarten van Wensveen ( 2013-12-05 07:57:48 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-09 14:44:50 -0600

Seen: 4,022 times

Last updated: Oct 10 '13