Red Hat Bugzilla – Bug 379821
Pakcage Manager - Pirut can't to be opened - ERROR MSG
Last modified: 2007-12-08 11:13:22 EST
Description of problem:
Package Manager can't to be opened, after the retrieving Updates message box I
got a ERROR msg box, details and the message error are in attached file.
Version-Release number of selected component (if applicable):
How reproducible: on KDE click on KMenu - System - Add/Remove Software
Steps to Reproduce:
Created attachment 256801 [details]
Error message by Pirut on retriving update process
What's the output of rpm -q yum and rpm -V yum?
Got the same problem when, after a fresh install of Fedora 8, I tried the
package manager in applications menu in Gnome.
"yum update" works ok.
I had to hand-install, among others, kde: no mean feat for an amateur, with rpm
and the help of http://fr2.rpmfind.net/linux/RPM/ (I wouldn't know of any other
way to find not-installed packages which provide the necessary dependencies;
I don't know how I missed installing kde during the installation. If it was
meant to be that way by anaconda, or whatever, to not give the opportunity to
have kde instead of that terrible gnome desktop (sorry, again confirmed this
time), I am shocked, dear Fedora/Red Hat. Apart from the several great gnome
programs I happily use. And all the rest, of course, great fun the last 9 years
with Red Hat/Fedora.
And then in kde the same as above with "add/remove software", with exactly the
same debug-file I had in gnome.
Output rpm -q yum: yum-3.2.7-1.fc8
Output rpm -V yum: S.5....T c /etc/yum.conf (consciously changed)
I did "yum clean all" somewhere along the way
Summary: TBd43f5314 misc.py:306:newestInList:AttributeError: 'tuple' object has
no attribute 'EVR'
Traceback (most recent call last):
File "/usr/sbin/pirut", line 476, in <module>
File "/usr/sbin/pirut", line 472, in main
File "/usr/sbin/pirut", line 405, in run
File "/usr/sbin/pirut", line 317, in _showBrowse
File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 514, in
File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 491, in
if g.user_visible and _groupHasPackages(g, self.ayum):
File "/usr/lib/python2.5/site-packages/pirut/GroupSelector.py", line 140, in
pkgs = ayum.rpmdb.returnNewestByName(p)
File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 196, in
File "/usr/lib/python2.5/site-packages/yum/misc.py", line 306, in newestInList
if pkg.EVR > newest.EVR:
AttributeError: 'tuple' object has no attribute 'EVR'
Local variables in innermost frame:
newest: ('ghostscript', 'i386', '0', '8.60', '5.fc8')
pkg: ('ghostscript', 'x86_64', '0', '8.60', '5.fc8')
ret: [('ghostscript', 'i386', '0', '8.60', '5.fc8')]
pkgs: [('ghostscript', 'x86_64', '0', '8.60', '5.fc8')]
(Apart my frustration whenever I encounter the gnome-desktop, many thanks to
all of you with "Fedora/Red Hat" for the now 9 years of great fun.)
*** This bug has been marked as a duplicate of 381551 ***
After a yum update today of (amongst many others) pirut to pirut -
1.3.28-1.fc8.noarch, I tried the package manager with success.
At least, pirut refrained from protesting. ;-)