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

control apt-get selection for packages having multiple virtual package alternatives



hi!    let me explain with the example of xserver-xorg.  amongst others it has dependencies of xserver-xorg-input-all and xserver-xorg-video-all  but both dependencies can also be provided by the packages xserver-xorg-input-7  and xserver-xorg-video-6.  as you all know, the difference is that the meta-packages of xserver-xorg-input-all and  xserver-xorg-video-all will pull all video and input packages while the virtual packages of  xserver-xorg-input-7 and xserver-xorg-video-6 allow only one of the drivers to be installed  to satisfy the dependency.    as a result apt-get install xserver-xorg-video-foobar will not install all video drivers and  apt-get install xserver-xorg-input-baz will not install all input drivers.    my problem now is, that when i do apt-get install xserver-xorg-video-foobar i will still get  xserver-xorg-input all and when i do apt-get install xserver-xorg-input-baz i will still get  xserver-xorg-video all.    trying to resolv this by doing apt-get install xserver-xorg-video-foobar xserver-xorg-input-baz  doesnt help and will still get the *-all package of input or video whichever is not mentioned  first.    so in the general case of having a package with several dependencies that are  satisfied by either one *-all metapackage or one virtual package where i can select  the package providing it - how do i tell apt to select the specific package i want in BOTH  cases?    and in particular: how do i do that for an installation of xserver-xorg without removing the  unwanted packages later?    cheers  josch


Reply to: