[rhn-users] up2date problem
Corné Beerse
cbeerse at lycos.nl
Thu Sep 30 11:41:19 UTC 2004
Tero Hanninen wrote:
> 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.
If this is an origional up2date (never updated) then it is most-likely that its
signature is outdated. Browse to RedHat and look for an updated up2date for your
system. Download it, install it (`rpm -Uvh up2date.....rpm`) and run it to
update all others.
>
> 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
I don't know AS-details, check the website for details.
>
> 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)
No problems as long as the proxy is known by up2date (`up2date-configure`).
>
> Best Regards,
> Tero
>
> --
> Tero Hänninen <tero.hanninen at gmail.com>
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
>
>
More information about the rhn-users
mailing list