diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-23 21:31:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-23 21:31:09 +0000 |
commit | 14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7 (patch) | |
tree | 12bc24416cea0e35035e76da0e73a473092b6f69 /pod | |
parent | fac2e70e4020fbd9a545f50e358537a4116c0df1 (diff) | |
download | urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.tar urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.tar.gz urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.tar.bz2 urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.tar.xz urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.zip |
- all tools:
o handle mirrorlist
(need perl-Zone-TimeInfo patched for geolocalisation)
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. |