Bug 205039

Summary: package-cleanup - DeprecationWarning
Product: [Fedora] Fedora Reporter: Jukka Ketelaars <jukka>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-06 11:35:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fixes for package-cleanup for current yum api. none

Description Jukka Ketelaars 2006-09-02 21:33:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060830 Fedora/1.5.0.6-9 Firefox/1.5.0.6 pango-text

Description of problem:
Running package-cleanup yields a deprecation warning for getHdrList()

Version-Release number of selected component (if applicable):
yum-utils-0.6-5.fc6

How reproducible:
Always


Steps to Reproduce:
1. package-cleanup --problems


Actual Results:
# package-cleanup --problems
Setting up yum
Reading local RPM database
/usr/bin/package-cleanup:60: DeprecationWarning: getHdrList() will go away in a future version of Yum.
  for header in my.rpmdb.getHdrList():
Processing all local requires
No problems found

Expected Results:
Same but without deprecation warning.

Additional info:

Comment 1 Tim Lauridsen 2006-09-18 07:22:52 UTC
Created attachment 136512 [details]
fixes for package-cleanup for current yum api.

Same fix as i submitted to

https://lists.dulug.duke.edu/pipermail/yum-devel/2006-September/002607.html

Comment 2 Tim Lauridsen 2006-09-29 13:24:15 UTC
fixed now in yum-utils CVS, will be availible in next yum-utils release.