Bug #1714

yumhelper handling with yum 2.2.x is broken

Added by Ohad Levy over 3 years ago. Updated over 3 years ago.

Status:Closed Start date:10/29/2008
Priority:Normal Due date:
Assignee:Oliver Hookins % Done:

0%

Category:package
Target version:0.24.7
Affected Puppet version:0.24.6 Branch:
Keywords:
Votes: 0

Description

on 24.6 with yum-2.2.2-1

python /usr/lib64/site_ruby/1.8/puppet/provider/package/yumhelper.py
Reading Local RPMDB
Building updates object
_err AttributeError YumBase instance has no attribute 'pkgSack'

0001-Add-some-logic-to-allow-yum-python-library-calls-on.patch (1.1 kB) Oliver Hookins, 10/30/2008 02:42 am

History

Updated by James Turnbull over 3 years ago

  • Category set to package
  • Status changed from Unreviewed to Accepted
  • Target version set to 0.24.7

Updated by AJ Christensen over 3 years ago

  • Assignee set to Oliver Hookins

13:01 < groove> can someone assign #1714 to me (ohookins) ?

Updated by Oliver Hookins over 3 years ago

This is actually a real PITA because yum 2.2 is the first version that uses the output format:

name.arch epoch:version repo

which makes parsing from command-line yum output difficult because “.” can be part of the package name as well (e.g. openoffice.org).

Updated by Oliver Hookins over 3 years ago

This patch is relatively sane and allows the yum 2.2/2.3 python libraries to be used.

Updated by Oliver Hookins over 3 years ago

  • Status changed from Accepted to In Topic Branch Pending Review

Updated by Ohad Levy over 3 years ago

Initial testings looks good Groove You Rock!

Updated by James Turnbull over 3 years ago

  • Status changed from In Topic Branch Pending Review to Closed

Pushed in commit:0a3d34dbe7b5175f4822b6f1bfaa6f0ba05e9bd2 in branch 0.24.x

Also available in: Atom PDF