Bug 111863 - up2date failure after upgrading up2date components
Summary: up2date failure after upgrading up2date components
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: up2date
Version: 2.1
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Fanny Augustin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-12-10 23:59 UTC by Rick Stevens
Modified: 2007-11-30 22:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-24 21:35:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rick Stevens 2003-12-10 23:59:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Description of problem:
After an initial installation of AS2.1, we tried up2date.  Of course,
we got the SSL error, so we downloaded up2date-2.8.46.3-1.2.1AS and
the related components (rhn_register, ..._gnome, et al).  Now, after an
"up2date -p", any attempt to do an update crashes with a python traceback:

[root@srv01 root]# up2date -u
Traceback (innermost last):
  File "/usr/sbin/up2date", line 781, in ?
    main()
  File "/usr/sbin/up2date", line 569, in main
    pkgNames, fullUpdate, dryRun = dry_run))
  File "/usr/sbin/up2date", line 724, in batchRun
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 57, in run
    self.__findPackagesToUpdate()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 89, in
__findPackagesToUpdate
    plist.run()
  File "/usr/share/rhn/up2date_client/packageList.py", line 85, in run
    self.addObsoletePackages(obsList)
  File "/usr/share/rhn/up2date_client/packageList.py", line 109, in
addObsoletePackages
    for p in obsoletePackages:
TypeError: loop over non-sequence


Version-Release number of selected component (if applicable):
up2date-2.8.46.3-1.2.1AS

How reproducible:
Always

Steps to Reproduce:
1. Do a fresh AS2.1 install

2. Download and "rpm -Fvh" the 2.8.45.3-1.2.1AS components

3. "up2date -p"

4. "up2date -u".....kerPOW!
    

Actual Results:  The traceback in the description.

Expected Results:  I'd expect an updated system.  This certainly seems
poor design.  You can't update an AS2.1 system without up2date, and
up2date is itself flakey as all get out.

Additional info:

Comment 1 Adrian Likins 2004-08-24 21:35:06 UTC
make sure the boxes that show this error have
a channel assigned to them. Common cause of
missing channels is lack of proper RHN
entitlements for the channels in questions.


newer clients also handle this case
more gracefully.


Note You need to log in before you can comment on or make changes to this bug.