Can I get zypp to apply deltarpms after downloading all of them?

By default, when zypp does an update, it downloads a deltarpm and applies it immediately, during which time the internet connection is open and unused. Can I make zypp apply the deltarpms all at the end, only after it has downloaded all of them? I’m used to this sort of behavior on Fedora/yum, and it reduces the window for which I must keep my internet connection open.

my man zypper says:

–download-in-advance
First download all packages, ten start installing.

which, even with the typo, seems to be the non-default switch you are
looking for…

of course, your’s may be different since i don’t know which version
you are using…mine is 1.4.8 and that capability might not be in
yours…check the man to see…

i don’t know, but i guess you could load that as a default for your
zypper…maybe in zypper.conf but i have NOT looked to confirm that…


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

You can by adding the option


commit.downloadMode = DownloadInAdvance

to /etc/zypp/zypp.conf

Thanks, but the switch only seems to affect downloads of full rpms. When it has to download a whole bunch of rpms it will download all of them before installing them, but when it has to download deltarpms, it will download one and immediately take time to rebuild the rpm from the delta (but it won’t install the rpm until after everything has been downloaded). It’s this rebuilding process that I’d like to push until the very end.

I suspect it will require changes in the way libzypp works. Deltas are not guaranteed to work, so it falls back to downloading the full rpm if it fails. If the reconstruction of the full rpm is pushed to the end, then it’s possible that some rpms cannot be installed and cause a cascade of dependencies, thus requiring a second pass.

How come you have a time-limited Internet connection? Most connections these days are charged by data volume.