Re: how to have yum prefer one dependency over others

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 19, 2011 at 02:40:30AM +0200, Kevin Kofler wrote:
> The use case I have in mind, which is a real-world case, is this:
> phonon Requires: phonon-backend
> phonon-backend-* Provides: phonon-backend
> phonon-backend-* Requires: phonon
> I want any random phonon-backend-* to satisfy the dependency, HOWEVER, I 
> want installing phonon when it previously wasn't installed to always drag in 
> phonon-backend-gstreamer, our default backend and the one working the best, 
> not some random backend which happens to have fewer dependencies. Yum's 
> convoluted logic is making it basically impossible to do that, and in fact, 
> on the RPM Fusion builders, phonon-backend-vlc is selected instead, which is 
> always fun because it means vlc's regular broken dependencies can break 
> builds of anything KDE-related in RPM Fusion. (I had a k3b-extras-freeworld 
> build break because of this very issue.) I guess users installing KDE with 
> RPM Fusion Free enabled will also get the VLC backend by default, which is 
> not what we want.

Sounds like you want weak dependencies (i.e. "Suggests" et al).

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls@xxxxxxx
SUSE LINUX Products GmbH,  GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux