[packagekit] Questions about Get Depends and Get Requires

Richard Hughes hughsient at gmail.com
Tue Dec 11 10:15:46 PST 2007


On Tue, 2007-12-11 at 19:07 +0100, Patryk Zawadzki wrote:
> There could be two packages satisfying this dep for the current arch,
> one for another and one noarch alternative (think /lib/sendmail).

Sure, then we can cheat a bit.

Background:
* flash.so is provided by the packages gnash and adobe-flash
* epiphany depends on the file libflash.so

Situation #1:
* Epiphany and gnash are installed

then GetDepends on epiphany lists Gnash (the version that is installed)

Situation #2:
* Epiphany isn't installed and adobe-flash is:

then GetDepends on epiphany lists Adobe Flash

Sitation #3;
* Epiphany and libflash.so are not installed

then GetDepends just picks the first thing that provides libflash.so - I
don't think it really matters which.

Richard.





More information about the PackageKit mailing list