Mailinglist Archive: yast-devel (152 mails)

< Previous Next >
[yast-devel] JFYI: libzypp-6.11.0 supports download policy for commit.
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Wed, 22 Jul 2009 12:42:43 +0200
  • Message-id: <>

With libzypp-6.11.0 you can now choose among several download modes. The
mode is set in ZYppCommitPolicy.

DownloadOnly, //!< Just download all packages to the local cache.
//!< Do not install. Implies a dry-run.

DownloadInAdvance, //!< First download all packages to the local cache.
//!< Then start to install.

DownloadInHeaps, //!< Similar to DownloadInAdvance, but try to split
//!< the transaction into heaps, where at the end of
//!< each heap a consistent system state is reached.

DownloadAsNeeded //!< Alternating download and install. Packages are
//!< cached just to avid CD/DVD hopping. This is the
//!< traditional behaviour.

Next steps:

- Switch to use the satsolvers new install order computation. This should
allow to actually compute the heaps for DownloadInHeaps. Currently it's the
same as DownloadInAdvance.

- For DownloadInAdvance/DownloadInHeaps we can add file conflict checks. This
would be done after the packages are downloaded, but before anything gets


Michael Andres

Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups