Bug 221709

Summary: system-config-package crashes after starting and selecting choosing 'list'
Product: Red Hat Enterprise Linux 5 Reporter: ca
Component: system-config-packagesAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0   
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-01-09 18:55:10 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:

Description ca 2007-01-06 14:45:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3

Description of problem:
The following dump is generated:

Component: Software Manager
Summary: TB3bfa8c03 PackageList.py:108:addPackage:AttributeError: YumAvailablePa
ckageSqlite instance has no attribute 'returnPackageTuple'

Traceback (most recent call last):
  File "/usr/sbin/system-config-packages", line 211, in _showList
    plist.addPackage(po, SHOW_AVAIL)
  File "/usr/lib/python2.4/site-packages/pirut/PackageList.py", line 108, in add
Package
    if apply(self.ayum.tsInfo.matchNaevr, po.returnPackageTuple()):
AttributeError: YumAvailablePackageSqlite instance has no attribute 'returnPacka
geTuple'

Local variables in innermost frame:
self: <PirutPackageList object (pirut+PackageList+PirutPackageList) at 0x8e3a3ec
>
type: 2
po: yum-updatesd - 3.0-5.4.noarch


Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1. Launch system-config-packages
2. Click on List button
3.

Actual Results:
Exception Windows Appears and application terminates

Expected Results:
List packages

Additional info:

Comment 1 Jeremy Katz 2007-01-08 19:06:42 UTC
What's the output of 'rpm -q pirut'?

Comment 2 ca 2007-01-09 00:11:28 UTC
pirut-1.1.8-1

Also, I have tried rpm --updatedb (after mv the __db.* files)



Comment 3 ca 2007-01-09 00:21:32 UTC
Jeremy, I downloaded the pirut package and manually installed it (via rpm -U)
and that fixed the issue. Thanks.