[packagekit] Questions about Get Depends and Get Requires

Patryk Zawadzki patrys at pld-linux.org
Tue Dec 11 10:19:41 PST 2007


2007/12/11, Richard Hughes <hughsient at gmail.com>:
> 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.

Unless some other package explicitly lists adobe-flash as the only
supported library while the "whatever comes first" resulted in
installation of gnash. Then you get a nice coflict (and a hard one to
resolve as it's hard to tell if it's safe to uninstall one package
just because some other one conflicts).

-- 
Patryk Zawadzki
PLD Linux Distribution



More information about the PackageKit mailing list