[rhn-users] up2date problem

Tero Hanninen tero.hanninen at gmail.com
Thu Sep 30 08:04:10 UTC 2004


Hello list,

I'm experiencing some problems with up2date and would appreciate some
help. I tried searching the archives but couldn't really find the
solution there.

Both "up2date --nox -l" and "up2date --nox -u "produce following traceback:

Traceback (innermost last):
  File "/usr/sbin/up2date", line 839, in ?
    main()
  File "/usr/sbin/up2date", line 627, in main
    pkgNames, fullUpdate, dryRun = dry_run))
  File "/usr/sbin/up2date", line 782, 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 111, in
addObsoletePackages
    if len(obsoletePackages) == 0:
TypeError: len() of unsized object

Machine in question is RH AS2.1
> rpm -q up2date
up2date-2.9.14-1.2.1AS

The spool directory is empty (first time running up2date after registration)
> ls -al /var/spool/up2date/
total 8
drwxr-xr-x    2 root     root         4096 Sep 30 09:47 .
drwxr-xr-x    8 root     root         4096 Sep 30 09:47 ..

I'm connecting through a web proxy, but as far as I can see it's not
the culprit here (i.e the proxy is working fine for other
applications)

Best Regards,
Tero

--
Tero Hänninen <tero.hanninen at gmail.com>




More information about the rhn-users mailing list