Dimitrios Apostolou wrote:
On Fri, 11 Dec 2009, Nagy Gabor wrote:
depends files are read in order to ensure that the upgraded package
won't break any "old" dependencies.

Example: local foo requires bar=2.0 (which is installed)
Then "pacman -S bar" is not allowed (if bar in sync has different
version).

I just noticed that local depends are read even when installing a new package (not upgrading an old one). Why is this for?


How about this example:

pacman -S foo, foo replaces=bar and provides=bar, installed package baz depends on foo>=2.0.

This should fail as bar only provides foo and so it is unknown whether the foo>=2.0 dependency for baz is solved.

Allan

Reply via email to