Re: tcl dependency in RHEL6 installing facter, puppet

2,945 views
Skip to first unread message

jcbollinger

unread,
Nov 6, 2012, 9:37:34 AM11/6/12
to puppet...@googlegroups.com


On Monday, November 5, 2012 2:10:58 PM UTC-6, msuho wrote:
Hi-

I am running RedHat Enterprise version 6.

Linux luke 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

I'm trying to install puppet. I added the puppetlabs repos using this RPM:

http://yum.puppetlabs.com/el/6/products/x86_64/puppetlabs-release-6-6.noarch.rpm

When I try to install facter (or puppet), it tries to install ruby and ruby-libs , and fails
because it can't find  the version of tcl it needs:


 yum install facter
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager, versionlock
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package facter.x86_64 1:1.6.14-1.el5 will be installed
--> Processing Dependency: ruby >= 1.8.5 for package: 1:facter-1.6.14-1.el5.x86_64
--> Processing Dependency: ruby(abi) >= 1.8 for package: 1:facter-1.6.14-1.el5.x86_64
--> Processing Dependency: /usr/bin/ruby for package: 1:facter-1.6.14-1.el5.x86_64
--> Running transaction check
---> Package ruby.x86_64 0:1.8.7.370-1.el5 will be installed
---> Package ruby-libs.x86_64 0:1.8.7.370-1.el5 will be installed
--> Processing Dependency: libtk8.4.so()(64bit) for package: ruby-libs-1.8.7.370-1.el5.x86_64
--> Processing Dependency: libtcl8.4.so()(64bit) for package: ruby-libs-1.8.7.370-1.el5.x86_64
--> Processing Dependency: libssl.so.6()(64bit) for package: ruby-libs-1.8.7.370-1.el5.x86_64
--> Processing Dependency: libtermcap.so.2()(64bit) for package: ruby-libs-1.8.7.370-1.el5.x86_64
--> Processing Dependency: libdb-4.3.so()(64bit) for package: ruby-libs-1.8.7.370-1.el5.x86_64
--> Processing Dependency: libcrypto.so.6()(64bit) for package: ruby-libs-1.8.7.370-1.el5.x86_64
--> Running transaction check
---> Package compat-db43.x86_64 0:4.3.29-15.el6 will be installed
---> Package compat-libtermcap.x86_64 0:2.0.8-49.el6 will be installed
---> Package openssl098e.x86_64 0:0.9.8e-17.el6_2.2 will be installed
---> Package ruby-libs.x86_64 0:1.8.7.370-1.el5 will be installed
--> Processing Dependency: libtk8.4.so()(64bit) for package: ruby-libs-1.8.7.370-1.el5.x86_64
--> Processing Dependency: libtcl8.4.so()(64bit) for package: ruby-libs-1.8.7.370-1.el5.x86_64
--> Finished Dependency Resolution
Error: Package: ruby-libs-1.8.7.370-1.el5.x86_64 (puppetlabs-deps)
           Requires: libtcl8.4.so()(64bit)
Error: Package: ruby-libs-1.8.7.370-1.el5.x86_64 (puppetlabs-deps)
           Requires: libtk8.4.so()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

This has worked in the past on my RHEL5 machines, where the version of TCL  is 8.4.13,
but the version on RHEL6 is 8.5.7

I see folks on this list using RHEL6- I was wondering how you got past this?



It's not them, it's you.  Something is screwed up with your repository configuration.  It looks like you're trying to install a mix of RHEL 5 and RHEL 6 packages on your system.  Also, probably some third-party or homebrew, since I see a Ruby 1.8.7...el5, and RHEL 5's official Ruby is pinned at version 1.8.5.  In direct response to your question, the EL6 ruby-libs package has no dependency on any version of Tcl or tk.


John

Michael Stahnke

unread,
Nov 6, 2012, 5:50:37 PM11/6/12
to puppet...@googlegroups.com
> --
> 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/-/hu8fPrhrHwMJ.
>
> 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.

It looks like you have RHEL 6 and 5 content mixed as John said.

We do ship a Ruby 1.8.7 in PuppetLabs-deps for Puppet 3.0 for EL5
only. You shouldn't be trying to grab that, as you're on EL6.

Do the puppetlabs* files look correct in /etc/yum.repos.d ?

Dan White

unread,
Feb 16, 2013, 8:56:12 AM2/16/13
to puppet...@googlegroups.com
In the hope that this is helpful information, libtk comes from the yk RPM
and on my RHEL 5 systems, the latest is 8.4.13-5.el5_1.1

I do not have any RHEL 6 systems available to check.

“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)


From: "Arun kv" <toar...@gmail.com>
To: puppet...@googlegroups.com
Sent: Saturday, February 16, 2013 1:36:24 AM
Subject: [Puppet Users] Re: tcl dependency in RHEL6 installing facter, puppet

Hi,
I have faced the same issue and got resolved by pointing the puppetlabs repo to epel 6 version..
-Arun
Thanks for any input,

Mark

--
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.

To post to this group, send email to puppet...@googlegroups.com.

Hao Wang

unread,
Dec 5, 2013, 6:45:43 AM12/5/13
to puppet...@googlegroups.com
It works for me. thx

在 2013年2月24日星期日UTC-5下午6时03分51秒,Kpox写道:
I had to do 'yum clean all' to clear out the el5 packages erroneously installed, before I could successfully install el6 puppet packages.
Reply all
Reply to author
Forward
0 new messages