From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8) Gecko/20060103 Fedora/1.5-4 Firefox/1.5 Description of problem: If you get to the package selection screen and enable Network Servers, then DNS Server, then disable Network Servers, you get an exception. Version-Release number of selected component (if applicable): FC5T2 How reproducible: Always Steps to Reproduce: 1.Get to the package selection screen (GUI) 2.Enable Network Servers 3.Enable DNS Server 4.Disable Network Servers Actual Results: Exception Expected Results: No exception Additional info: I suspect it has to do with the fact that there are packages that are in both groups.
I was going to attach anacdump.txt, but then I noticed it contains the (scrambled) password (bad!!) and the exception was pretty simple, so that's all I'm posting here: Traceback (most recent call last): File "/usr/lib/anaconda/iw/GroupSelector.py", line 348, in _groupToggled self.ayum.deselectGroup(grp.groupid) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1346, in deselectGroup self.log(4, "package %s was not marked in group %s" % (po, grpid)) NameError: global name 'po' is not defined Local variables in innermost frame: thisgroup: Network Servers self: <yuminstall.AnacondaYum object at 0xb78ec1cc> txmbr: vnc-server.i386 0-4.1.1-33 - u pkgname: vnc-server grpid: network-server
Which password are you seeing in the exception text? We try to make sure to remove those before dumping the variables out, but sometimes they are getting stored in multiple places. I see one from kickstart right now that I'll remove.
Paul: diff -ru yum-2.5.1.orig/yum/__init__.py yum-2.5.1/yum/__init__.py --- yum-2.5.1.orig/yum/__init__.py 2006-01-08 18:59:01.000000000 -0500 +++ yum-2.5.1/yum/__init__.py 2006-01-13 12:29:47.000000000 -0500 @@ -1343,7 +1343,7 @@ try: txmbr.groups.remove(grpid) except ValueError: - self.log(4, "package %s was not marked in group %s" % (po, grpid)) + self.log(4, "package %s was not marked in group %s" % (txmbr.po, grpid)) continue # if there aren't any other groups mentioned then remove the pkg
The password that made to the dump file was: intf.icw.id.bootloader.password: [omitted] It does look like the patch will fix the problem, indeed. From the filename, it seems like this is not one of those that could be easily dropped in RHupdates, right? :-(
Yes, you could put it in RHupdates/yum/__init__.py and that should work. Fixed the password thing, too.
*** Bug 178085 has been marked as a duplicate of this bug. ***