up2date problem

Gene C. czar at czarc.net
Wed Oct 22 18:59:30 UTC 2003


On Wednesday 22 October 2003 14:28, John Wendel wrote:
> Just got on the test box and ran up2date. It puked out a long
> traceback. It worked fine yesterday. Any clues will be appreciated.
>
> %update -u
>
> Traceback (most recent call last):
>   File "/usr/sbin/up2date", line 1183, in ?
>     sys.exit(main() or 0)
>   File "/usr/sbin/up2date", line 761, in main
>     fullUpdate, dryRun=options.dry_run))
>   File "/usr/sbin/up2date", line 1046, in batchRun
>     batch.run()
>   File "up2dateBatch.py", line 58, in run
>   File "up2dateBatch.py", line 96, in __findPackagesToUpdate
>   File "packageList.py", line 117, in run
>   File "rhnPackageInfo.py", line 315, in getAvailableAllArchPackageList
>   File "rhnPackageInfo.py", line 153, in availablePackageList
>   File "rpcServer.py", line 109, in doCall
>   File "repoDirector.py", line 20, in listPackages
>   File "rpmSource.py", line 226, in listPackages
>   File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 197,
> in listPackages agent = "Up2date 3.9/Yum")
>   File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 270,
> in fetchUrl buffer = readFDBuf(fh, progressCallback)
>   File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 240,
> in readFDBuf size = get_size(fd)
>   File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line 231,
> in get_size return long(size)
> TypeError: long() argument must be a string or a number

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=107732


As long as rawhide is "down", you will get errors.
-- 
Gene





More information about the test mailing list