Bug 211040 - repoquery - AttributeError: YumAvailablePackageSqlite instance has no attribute 'returnEVR'
Summary: repoquery - AttributeError: YumAvailablePackageSqlite instance has no attribu...
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-16 21:10 UTC by Michael Schwendt
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2007-01-14 09:06:47 UTC


Attachments (Terms of Use)

Description Michael Schwendt 2006-10-16 21:10:17 UTC
$ repoquery --whatrequires libgpgme.so.6
Excluding Packages from Fedora Core - Development
Finished
Traceback (most recent call last):
  File "/usr/bin/repoquery", line 690, in ?
    main(sys.argv)
  File "/usr/bin/repoquery", line 687, in main
    repoq.runQuery(regexs)
  File "/usr/bin/repoquery", line 405, in runQuery
    pkgs = self.matchPkgs(items)
  File "/usr/bin/repoquery", line 381, in matchPkgs
    exact, match, unmatch = yum.packages.parsePackages(self.returnPkgList(),
  File "/usr/bin/repoquery", line 337, in returnPkgList
    pkgs = self.pkgSack.returnNewestByNameArch()
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 287, in retur
nNewestByNameArch
    bestofeach.addList(self._computeAggregateListResult("returnNewestByNameArch"
, naTup))
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 323, in _comp
uteAggregateListResult
    sackResult = apply(method, args)
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 465, in return
NewestByNameArch
    return yumRepo.YumPackageSack.returnNewestByNameArch(self, naTup)
  File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 563, in retur
nNewestByNameArch
    if pkg.EVR > pkg2.EVR:
  File "/usr/lib/python2.4/site-packages/yum/packages.py", line 330, in <lambda>
    EVR = property(fget=lambda self: self.returnEVR())
AttributeError: YumAvailablePackageSqlite instance has no attribute 'returnEVR'

Comment 1 Tim Lauridsen 2007-01-14 08:42:34 UTC
I have tested with FC6 / yum 3.0.3 / yum-utils-1.0.1.

Looks like the error is fixed, please retest.

Comment 2 Michael Schwendt 2007-01-14 09:06:47 UTC
Apparently.



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