Bug 106440

Summary: up2date fail, Traceback
Product: [Fedora] Fedora Reporter: Josiah Royse <jroyse>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED RAWHIDE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-22 14:07:34 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:
Attachments:
Description Flags
up2date output none

Description Josiah Royse 2003-10-07 03:44:23 UTC
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):
up2date-4.0.1-2 redhat-release-0.94-2

How reproducible:
Always

Steps to Reproduce:
1."up2date -u"
2."CTRL-C"  ## quit, to edit /etc/sysconfig/rhn/up2date to keep packages
3."up2date up2date" 
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
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 1028, in batchRun
    batch.run()
  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

Additional info:

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.

Comment 1 Josiah Royse 2003-10-07 03:46:24 UTC
Created attachment 94971 [details]
up2date output

here is the output from the command line