Bug 205039 - package-cleanup - DeprecationWarning
Summary: package-cleanup - DeprecationWarning
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-02 21:33 UTC by Jukka Ketelaars
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-06 11:35:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fixes for package-cleanup for current yum api. (1.86 KB, patch)
2006-09-18 07:22 UTC, Tim Lauridsen
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.