diff options
-rw-r--r-- | pod/urpmi.8.pod | 7 | ||||
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rwxr-xr-x | urpmi | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/pod/urpmi.8.pod b/pod/urpmi.8.pod index 5cd5dc8e..287c462e 100644 --- a/pod/urpmi.8.pod +++ b/pod/urpmi.8.pod @@ -257,6 +257,13 @@ Configure urpmi on the fly from a distrib tree, useful to install a chroot with the B<--root> option. See the description of the B<--distrib> option in the C<urpmi.addmedia> manpage. +=item B<--download-all> + +By default, urpmi will download packages when they are needed. This can be +problematic when connection failures happen during a big upgrade. When this +option is set, urpmi will first download all the needed packages and proceed +to install them if it managed to download them all. + =item B<--downloader> I<program name> Use a specific program for downloading distant files via http or ftp. diff --git a/urpm/args.pm b/urpm/args.pm index 28b2ef31..d9e26718 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -130,6 +130,7 @@ my %options_spec = ( 'parallel=s' => \$::parallel, 'metalink!' => sub { $urpm->{options}{metalink} = $_[1] }, + 'download-all!' => sub { $urpm->{options}{'download-all'} = $_[1] }, # deprecated in favor of --downloader xxx wget => sub { $urpm->{options}{downloader} = 'wget' }, @@ -121,6 +121,7 @@ usage: ") . N(" --use-distrib - configure urpmi on the fly from a distrib tree, useful to install a chroot with --root option. ") . N(" --metalink - generate and use a local metalink. +") . N(" --download-all - download all needed packages before trying to install them ") . N(" --downloader - program to use to retrieve distant files. known programs: %s ", join(', ', urpm::download::ftp_http_downloaders())) |