Description of Problem:
"up2date -l" yields the following:
For this beta release of Red Hat Linux, the up2date program has been
configured to point to a different Red Hat Network server. This server
(beta.rhns.redhat.com) can be used to obtain updated packages for the
duration of this Red Hat Linux beta test ONLY. After the beta test has been
completed, this Red Hat Network server will no longer be available for use.
Retrieving list of all available packages...
Traceback (innermost last):
File "/usr/sbin/up2date", line 889, in ?
File "/usr/sbin/up2date", line 292, in main
sys.exit(batchRun(argObj.getLong("list"), pkgNames, fullUpdate))
File "/usr/sbin/up2date", line 708, in batchRun
progressCallback = percentCallback)
File "/usr/share/rhn/up2date/up2date.py", line 1353, in getUpdatedPackageList
File "/usr/share/rhn/up2date/up2date.py", line 1044, in
pkgCount = len(pkgList)
TypeError: len() of unsized object
I am not even sure it was not my error, because it smells
like an empty list of packages. However, up2date better
print a message about it instead of crashing.
The system has a Raw Hide of 8/30 (downloaded one day later).
Steps to Reproduce:
1. Do rhn_register (one time)
2. up2date -l
Traceback as quoted above.
Curious myself... First time running up2date :)
Assigned to the owner of component
fixed now... This is a combo of two things...
the server letting you sign up, but for a release that has
no channels avalable in the beta server (rawhide, for example)
and a bug in the gui that crashes if you have no channels ;->
The latter is fixed, the former shouldnt ever be an issue
in production enviroments.
I think we can close it now. It is a little bit hard to
test conclusively, because I do not want to screw the
system back as it was screwed before (with attempted
upgrades from beta).