From 14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 23 Feb 2008 21:31:09 +0000 Subject: - all tools: o handle mirrorlist (need perl-Zone-TimeInfo patched for geolocalisation) --- pod/urpmi.addmedia.8.pod | 25 +++++++++++++++++++++++++ pod/urpmi.cfg.5.pod | 10 ++++++++++ 2 files changed, 35 insertions(+) (limited to 'pod') diff --git a/pod/urpmi.addmedia.8.pod b/pod/urpmi.addmedia.8.pod index efffd9b2..9b99121d 100644 --- a/pod/urpmi.addmedia.8.pod +++ b/pod/urpmi.addmedia.8.pod @@ -16,6 +16,19 @@ must be chosen: =over +=item B [I] --distrib --mirrorlist > + +A mirror list is a special API to describe mirrors available. urpmi will pick +the nearest mirror, and will dynamically handle new mirrors. Example: + + urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST' + +=item B [I] --mirrorlist > > > + +Example: + + urpmi.addmedia --mirrorlist '$MIRRORLIST' backports media/main/backports + =item B [I] > http://>:>@>/> where > is a human-readable name for the new media (e.g. @@ -131,6 +144,14 @@ Use synthesis file. Use rpm files (instead of synthesis). +=item B<--mirrorlist> + +Use the given url as a mirror list. It is quite special, please see examples +at the beginning of this page. + +nb: $MIRRORLIST is a special variable which gives the default URL for the +current distribution/arch + =item B<--distrib> Retrieve a set of media from a distribution. Typically, the URL provided @@ -206,6 +227,10 @@ on a Mandriva cooker system.) The canonical hostname of the machine urpmi runs on. +=item B<$MIRRORLIST> + +The url of the default mirrorlist for the distribution. + =back =head1 SEE ALSO diff --git a/pod/urpmi.cfg.5.pod b/pod/urpmi.cfg.5.pod index dd5826fe..00e8ed9d 100644 --- a/pod/urpmi.cfg.5.pod +++ b/pod/urpmi.cfg.5.pod @@ -123,6 +123,16 @@ Same as B<--limit-rate> for all tools. This option allows to control download speed; there is no limitation by default. The number is given in bytes per second, unless a suffix C or C is added. +=item B + +For mirrorlist, the maximum number of mirrors to try before giving up. (since +sometimes all mirrors have the same problem and it is useless to try more). + +=item B + +After a number of days, urpmi.update will update the list of mirrors (to get +potential new mirrors). + =item B Don't import pubkeys when updating media. -- cgit v1.2.1