Theres a first pass at mirror support in up2date-4.3.6 that just landed in rawhide.
Theres a mirrors.txt in the doc dir that describes the details, but to test it out, the easiest thing is just to add a
yum-mirror fedora-core-1 file:///tmp/whatever yum-mirror updates-released file:///tmp/whatever2
and then copy the "fedora-core-1" and "updates-released" mirror list files from the doc dir to /etc/sysconfig/rhn/mirrors.
In the above example, the file uri's are just placeholders since up2date checks /etc/sysconfig/rhn/mirrors/* to see if a user has defined a mirror list to be used for a given channel. I'll probabaly fix the sources parser to make that line optional for the next build...
Those uri's can be replaces with real file uri's or http urls that point to mirror lists as well, and those will be updated every up2date invocation. Note that the files in the user config /etc/sysconfig/rhn/mirrors dir will need to be removed first (the user config overrides any of the automaticaly updated mirror lists that are fecthed from the uri's).
The mirror list was in the examples was pulled out of the fedora mirror list, and a quick manual check to see what responded quickly.
btw, if anyone wants to poke at the cmdline glob and @Comp stuff, that would be cool as well.
Adrian
On Wed, Jan 14, 2004 at 03:55:29PM -0500, Adrian Likins wrote:
Theres a first pass at mirror support in up2date-4.3.6 that just landed in rawhide.
Thanks, I'll try and test this out.
btw, if anyone wants to poke at the cmdline glob and @Comp stuff, that would be cool as well.
[pauln@imac up2date-4.3.6]$ up2date "@KDE Desktop Environment"
Fetching Obsoletes list for channel: ydl-ruff...
Fetching Obsoletes list for channel: duke-devel...
Fetching rpm headers... ########################################
Name Version Rel ---------------------------------------------------------- autorun 3.11 1 ppc htdig 3.2.0b5 3 ppc kdeaddons 3.1.94 0.4 ppc kdeartwork 3.1.94 0.2 ppc kdebase 3.1.94 0.4 ppc kdemultimedia 3.1.94 0.2 ppc kdenetwork 3.1.94 0.1 ppc kdepim 3.1.94 0.2 ppc kdeutils 3.1.94 0.1 ppc kpppload 1.04 48 ppc switchdesk-kde 3.9.8 18 ppc
Works well here :)
Paul