diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/urpmi.addmedia.8.pod | 25 | ||||
-rw-r--r-- | pod/urpmi.cfg.5.pod | 10 |
2 files changed, 35 insertions, 0 deletions
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<urpmi.addmedia> [I<options>] --distrib --mirrorlist <I<url>> + +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<urpmi.addmedia> [I<options>] --mirrorlist <I<url>> <I<name>> <I<relative path>> + +Example: + + urpmi.addmedia --mirrorlist '$MIRRORLIST' backports media/main/backports + =item B<urpmi.addmedia> [I<options>] <I<name>> http://<I<login>>:<I<pass>>@<I<host>>/<I<path>> where <I<name>> 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<K> or C<M> is added. +=item B<max-round-robin-tries> + +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<days-between-mirrorlist-update> + +After a number of days, urpmi.update will update the list of mirrors (to get +potential new mirrors). + =item B<nopubkey> Don't import pubkeys when updating media. |