Re: Yup error


Subject: Re: Yup error
From: David Chart (linux@dchart.demon.co.uk)
Date: Mon Feb 04 2002 - 08:06:28 MST


--On 31/1/02 21:53 +0000 David Chart wrote:

> I've just been trying to use yup, but I can't get it to work, and the
> archives don't seem to know about this error. This is what I get:
>
> [root@localhost /root]# yup update
> Retrieving
> Traceback (innermost last):
> File "/usr/sbin/yup", line 29, in ?
> yup.main()
> File "/usr/lib/yup/yup.py", line 311, in main
> yupmirrors.UpdateMirrorList()
> File "/usr/lib/yup/yupmirrors.py", line 127, in UpdateMirrorList
> yupurl.retrieve(url, '%s/mirror-list' %(yupcfg.cfg.cachedir),
> callback) File "/usr/lib/yup/yupurl.py", line 45, in retrieve
> eval(scheme + '_getfile')(url, outfile, callback, previous)
> File "<string>", line 0, in ?
> NameError: _getfile
>
> It looks like yup can't find a mirror URL, but that's based on fairly
> naive reading of the error. Any ideas on how to fix this?

For the sake of the archives: rpm -e --nodeps yup followed by installing
the new version downloaded from yellowdog fixed this. It looks like
something important didn't get installed properly first time around.

David Chart



This archive was generated by hypermail 2a24 : Mon Feb 04 2002 - 11:18:44 MST