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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 08/16/2010 05:08 PM, Johannes Schauer wrote:
> 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 ins
tall 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
> 
> 

You post is difficult to read, as it doesn't have any newlines.

If I understand correctly, you are looking for "aptitude unmarkauto foo"


Regards,
- -- 
Jordan Metzmeier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMabE9AAoJEKj/C3qNthmTFQYQAIJWykt08mXurKbM1aACz6XA
sIyC0yCO9kOK1EZ2mepyX03ilheUGZhce19kxb4NmIxgr80p52JMiGxCQFzShp5C
jf4DffM3jFpejm3hozG5AghGrY0s60ryvoQtgqnMbpWfAcXQXLzJr7Ntac8R1RtL
Wm3GsQXPreiKe9LEeFGMMf0XFwt6XxGhdYIa4bgtsYWqgOtzVgQSPbBo2WA33hSQ
n33d2W7TnpGqjd+dolX9Lok6C47gi4HNzld98MV3RyNKNRvpz/ebuAOIfpASSODL
UPftXJrW2a9HvvgIWW/5IbZOTe9mO5/IVXMnWTdC4DAirnAtqQoKdsYGPquF4TOS
9TWeHSznXlc4XFgIksqSw64qn2PjIT5UR3yiQOaJz8KLGD1uOj7T+z2cV572H3oU
qiwxJM14oxBvEvk3cgGNCaDgZ9RkoncfyQmWiRPcDBHwrHMExylNQg50GXlD7TQv
Z9XDFRbWsbYKfH5o8M7oe1TAiiGqW9L7YFeFDTOBJ+UD7Q9uVVinAilyQxKWlZQH
jWGFHwDH0SxWEKnYsAoOEwWhK3EKnvQB0zPtOTtuH1Nf1NqaArRXJLoP5z5/Xpmj
C7voKjR401Nlu35p1yEMXvKPqJT3l3HhA2cs4p/uokq4tuGL4fMVfKF6+TnZpR9+
vP+RHZ8W1fDDTGGhnBkU
=16si
-----END PGP SIGNATURE-----


Reply to: