Hi,
I am having problems installing Puppet Server.
My gem list follows and then the attempt to install puppet-server.
The specific errors are:
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
Requires: ruby-augeas
Error: Package: hiera-1.2.1-1.el6.noarch (puppetlabs)
Requires: rubygem-json
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
Requires: ruby-rgen
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
Requires: ruby-shadow
I do not know where to get nor how to install the above.
Console Log
[root@ca-sna-pm01 rubygems-1.8.25]# gem list
*** LOCAL GEMS ***
actionmailer (3.2.13)
actionpack (3.2.13)
activemodel (3.2.13)
activerecord (3.2.13)
activeresource (3.2.13)
activesupport (3.2.13)
archive-tar-minitar (0.5.2)
arel (3.0.2)
builder (3.0.4)
bundler (1.3.5)
cgi_multipart_eof_fix (2.5.0)
columnize (0.3.6)
daemons (1.1.9)
erubis (2.7.0)
fastthread (1.0.7)
gem_plugin (0.2.3)
hike (1.2.2)
i18n (0.6.1)
journey (1.0.4)
json (1.8.0)
mail (2.5.4)
mime-types (1.23)
mongrel (1.1.5)
multi_json (1.7.4)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.2.13)
railties (3.2.13)
rake (10.0.4)
rdoc (3.12.2)
rgen (0.6.2)
ruby-json (1.1.2)
ruby-shadow (2.2.0)
ruby_core_source (0.1.5)
shadow (1.1)
sprockets (2.2.2)
thor (0.18.1)
tilt (1.4.1)
treetop (1.4.12)
tzinfo (0.3.37)
[root@ca-sna-pm01 rubygems-1.8.25]# yum install puppet-server Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package puppet-server.noarch 0:3.2.1-1.el6 will be installed
--> Processing Dependency: puppet = 3.2.1-1.el6 for package:
--> puppet-server-3.2.1-1.el6.noarch 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.i386 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 libselinux-ruby.x86_64 0:2.0.94-5.3.el6_4.1 will be
---> installed
--> Processing Dependency: libselinux = 2.0.94-5.3.el6_4.1 for package:
--> libselinux-ruby-2.0.94-5.3.el6_4.1.x86_64
---> Package puppet.noarch 0:3.2.1-1.el6 will be installed
--> 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 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 libselinux.x86_64 0:2.0.94-5.3.el6 will be updated
--> Processing Dependency: libselinux = 2.0.94-5.3.el6 for package:
--> libselinux-utils-2.0.94-5.3.el6.x86_64
---> Package libselinux.x86_64 0:2.0.94-5.3.el6_4.1 will be an update
---> Package puppet.noarch 0:3.2.1-1.el6 will be installed
--> 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 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 libselinux-utils.x86_64 0:2.0.94-5.3.el6 will be updated
---> Package libselinux-utils.x86_64 0:2.0.94-5.3.el6_4.1 will be an
---> update Package puppet.noarch 0:3.2.1-1.el6 will be installed
--> 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 Finished
--> Dependency Resolution
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
Requires: ruby-augeas
Error: Package: hiera-1.2.1-1.el6.noarch (puppetlabs)
Requires: rubygem-json
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
Requires: ruby-rgen
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
Requires: ruby-shadow
You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
[root@ca-sna-pm01 rubygems-1.8.25]#
--Stuart
[root@ca-sna-pm01 augeas-1.0.0]# gem install json
Building native extensions. This could take a while...
Successfully installed json-1.8.0
1 gem installed
Installing ri documentation for json-1.8.0...
Installing RDoc documentation for json-1.8.0...
[root@ca-sna-pm01 augeas-1.0.0]# yum install puppet-server
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package puppet-server.noarch 0:3.2.1-1.el6 will be installed
--> Processing Dependency: puppet = 3.2.1-1.el6 for package: puppet-server-3.2.1-1.el6.noarch
--> 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.i386 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 libselinux-ruby.x86_64 0:2.0.94-5.3.el6_4.1 will be installed
--> Processing Dependency: libselinux = 2.0.94-5.3.el6_4.1 for package: libselinux-ruby-2.0.94-5.3.el6_4.1.x86_64
---> 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 libselinux.x86_64 0:2.0.94-5.3.el6 will be updated
--> Processing Dependency: libselinux = 2.0.94-5.3.el6 for package: libselinux-utils-2.0.94-5.3.el6.x86_64
---> Package libselinux.x86_64 0:2.0.94-5.3.el6_4.1 will be an update
---> 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
--> Running transaction check
---> Package libselinux-utils.x86_64 0:2.0.94-5.3.el6 will be updated
---> Package libselinux-utils.x86_64 0:2.0.94-5.3.el6_4.1 will be an update
---> 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
[root@ca-sna-pm01 augeas-1.0.0]#
Dear Stuart,Kind of my first steps into puppet on RHEL 6 and I wonder how you manage to solve the rubygems issue.Since I'm using RHEL 6.4 (.x86_64) in my test env. with only puppetlabs repo I can't see from where I can get the rubygems missing package.As you after wiki'd it :) can you give me a piece of advise in here or attached your docs to help me through ?Thanks,--Yizhar
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
Puppet Labs doesn't try to replace packages in
provided by the upstream OS vendor.
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/ghDZsdkC3C0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.