On 2021-01-13 05:21:32 Carlos E. R. wrote:
On 13/01/2021 08.37, J Leslie Turriff wrote:
On 2021-01-12 17:18:29 Carlos E. R. wrote:
On 12/01/2021 23.55, J Leslie Turriff wrote:
I think that the option "download in advance" is implied.
Ha! Yes, apparently this is so. It does not say that dup will
terminate between downloading and installing, though.
Interestingly, zypper help dup has this to say about it:
| --download <MODE> Set the download-install mode. Available
| modes: only, in-advance, in-heaps, as-needed
| Default: DownloadDefault
| -d, --download-only Only download the packages, do not install.
Default: DownloadDefault is especially helpful. :-) (info zypper tells
the real story.)
I was going to ask if that was a typo...
Here "info zypper" and search for "DownloadDefault" finds nothing. :-?
If I try help, I get:
--download <MODE> Set the download-install mode.
Available modes: only, in-advance,
in-heaps, as-needed Default: DownloadInHeaps
Maybe it means it reads the default from the config file.
/etc/zypp/zypp.conf
commit.downloadMode = DownloadInHeap
No, not a typo. Full output from zypper help dup:
| dist-upgrade (dup) [OPTIONS]
|
| Perform a distribution upgrade.
|
| Command options:
|
| --from Restrict upgrade to specified repository.
| --details Show the detailed installation summary. Default:
false
| --replacefiles Install the packages even if they replace files
from other, already
| installed, packages. Default is to treat file
conflicts as an error.
| --download-as-needed disables the fileconflict
check. Default: false
| -r, --repo Work only with the specified repository.
| -l, --auto-agree-with-licenses
| Automatically say 'yes' to third party license
confirmation prompt. See
| 'man zypper' for more details. Default: false
| -D, --dry-run Don't change anything, just report what would be
done. A meaningful file
| conflict check can only be performed if used
together with
| '--download-only'. Default: false
| -y, --no-confirm Don't require user interaction. Alias for
the --non-interactive global
| option. Default: false
| --download <MODE> Set the download-install mode. Available modes:
only, in-advance,
| in-heaps, as-needed Default: DownloadDefault
| -d, --download-only Only download the packages, do not install.
|
| Solver options
|
| --debug-solver Create a solver test case for debugging.
| --force-resolution Force the solver to find a solution (even an
aggressive one) rather than
| asking.
| -R, --no-force-resolution Do not force the solver to find a solution, let
it ask.
| --solver-focus <MODE> Set the solvers general attitude when resolving
a job.
| --recommends Install also recommended packages in addition to
the required ones.
| --no-recommends Do not install recommended packages, only
required ones.
|
| Expert options
|
| --allow-downgrade
| --no-allow-downgrade Whether to allow downgrading installed
resolvables.
| --allow-name-change
| --no-allow-name-change Whether to allow changing the names of installed
resolvables.
| --allow-arch-change
| --no-allow-arch-change Whether to allow changing the architecture of
installed resolvables.
| --allow-vendor-change
| --no-allow-vendor-change
| Whether to allow changing the vendor of
installed resolvables.
Leslie
--