On Thu, Nov 15, 2012 at 10:30:05PM +0100, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2012-11-15 18:36, Ruediger Meier wrote:
On Thursday 15 November 2012, Michael Schroeder wrote:
(Note that zypper will nevertheless install with --force, at that time in the transaction it's too late to check for file conflicts. They need to get checked right after all packages are downloaded. This also means that conflict checking will not work with the old "DownloadAsNeeded" mode.)
I understand that it can't resolve these conflicts before downloading but I'd rather would like to see zypper aborting the installation after downloading than just using --force.
As I understand all checks are done before any package is downloaded, using the metadata that is downloaded first. That metadata has to contain all the necessary info to detect conflicts. Once the package download has started, it is too late, decisions are already made.
That's true, but you can still abort the transaction with an error message and offer to re-run the solver. My little "solv" demo package manager from the libsolv-demo package does that. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org