Red Hat Bugzilla – Bug 106440
up2date fail, Traceback
Last modified: 2007-11-30 17:10:31 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Description of problem:
On a cleanly installed vanilla Fedora test-2 (redhat-release-0.94-2) after
registering with RHN.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2."CTRL-C" ## quit, to edit /etc/sysconfig/rhn/up2date to keep packages
4. "up2date -u"
Actual Results: Traceback (most recent call last):
File "/usr/sbin/up2date", line 1165, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 745, in main
File "/usr/sbin/up2date", line 1028, in batchRun
File "up2dateBatch.py", line 82, in run
File "up2dateBatch.py", line 153, in __installPackages
File "up2date.py", line 559, in installPackages
TypeError: 'in <string>' requires character as left operand
Expected Results: up2date to finish
I don't know if the CTRL-C and changing the up2date config file did anything,
but it is included for posterity.
Edited /etc/sysconfig/rhn/up2date to "0" not keep packages, re-ran "up2date -u"
and got the same thing.
Created attachment 94971 [details]
here is the output from the command line