Mailinglist Archive: zypp-devel (56 mails)

< Previous Next >
Re: [zypp-devel] Question / remark about zypper solving dependencies
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Wed, 12 Dec 2007 17:05:26 +0100
  • Message-id: <20071212160526.GB8360@xxxxxxxxxxxxx>
* Dominique Leuenberger <Dominique.Leuenberger@xxxxxxxxxxxxx> [Dec 12. 2007
14:04]:

zypper shell
zypper> in pkgB

in this case, zypper resolves the dependencies and offers to install
pkgA-0.1-1

Why doesn't it suggest now also to install pkgA-0.2-1 together with
libpkgA0-0.2-1? Wouldn't that case be the logical one?


Actually, thats a policy decision, not a dependency decision.
(And one of the reasons we want to make policies configurable in 11.0)

One of the current solver policies is 'minimize the transaction': the
fewer package installs/upgrades/removals the better.

Thats why pkgA-0.1-1 is preferred over pkgA-0.2 + libpkgA.

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

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

< Previous Next >