Results 1 to 5 of 5

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

  1. #1

    Default 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.

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

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

    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

  3. #3
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

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

    Quote Originally Posted by DenverD View Post
    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..
    You can by adding the option
    Code:
    commit.downloadMode = DownloadInAdvance
    to /etc/zypp/zypp.conf
    Desktop: Gigabyte GA-Z270-HD3 - Core i7 7700K - openSUSE Leap 42.2 KDE
    Laptop: HP EliteBook 8770W - Core i7 3940XM - openSUSE Leap 42.2 KDE

  4. #4

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

    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.

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

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

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •