The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #3730 shows updates available which are not installable

Added by Andreas Thienemann almost 6 years ago. Updated almost 6 years ago.

Status:Needs DecisionStart date:05/06/2010
Priority:NormalDue date:
Assignee:David Lutterkort% Done:


Target version:-
Affected Puppet version:0.25.4 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


Current has the problem that it shows packages ready to be updated which are actually not available for updates. This only manifests itself with yum versions older than 3.0.0

[root@mc101ppcapp-01 ~]# python /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/ pkg perl-XML-LibXML 0 1.58 3.el4 i386 pkg ImageMagick-perl 0 20.el4 i386 pkg perl-IO-String 0 1.08 1.1.el4 noarch pkg perl-Cyrus 0 2.2.12 9.RHEL4 i386 pkg perl-TimeDate 1 1.16 5.el4 noarch pkg perl-IO-Zlib 0 1.04 4.2.el4 noarch pkg perl-XML-LibXML-Common 0 0.13 8.el4 i386 pkg perl-HTML-Parser 0 3.55 1.el4 i386 pkg perl-Archive-Tar 0 1.30 1.el4 noarch pkg ImageMagick 0 20.el4 i386 [root@mc101ppcapp-01 ~]#


[root@mc101ppcapp-01 ~]# yum check-update Loading “priorities” plugin Loading “packagelock” plugin Setting up repositories Reading repository metadata in from local files 708 packages excluded due to repository priority protections Reading package lock configuration [root@mc101ppcapp-01 ~]#

This difference is due to yumhelper disregarding plugins such as versionlock, priorities, protectbase or similar yum plugins which may affect package selection.

The attached patch adds plugin support to yumhelper, so that it has the same understanding of the repository that regular yum has. This should fix the observed problem.

Newer versions of yum.YumBase.doConfigSetup() already initialize plugins, so it is not an issue with these.

puppet-yumhelper-plugins.patch Magnifier (931 Bytes) Andreas Thienemann, 05/06/2010 12:21 pm


#1 Updated by James Turnbull almost 6 years ago

  • Category set to package
  • Status changed from Unreviewed to Needs Decision
  • Assignee set to David Lutterkort

Also available in: Atom PDF