up2date problem

Ryan Golhar golharam at umdnj.edu
Mon May 16 14:05:54 UTC 2005


Make sure you don't have PYTHON_HOME defined as an environment variable.
If you do, unset it, then try running up2date.

Ryan

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Bryan Elliott
Sent: Sunday, May 15, 2005 11:13 PM
To: General Red Hat Linux discussion list
Subject: up2date problem


Hi all I have a RedHat 2.1 AS box that is giving me some problems with 
up2date. When I try to run up2date -l I get the following errors any 
ideals on how to take care of this? Thanks

[root at mybox root]# up2date -l
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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list