Bug#405639: xserver-xorg: installs arbitrary -input and -video packages
severity 405639 important
On Thu, Jan 04, 2007 at 11:00:25PM -0800, Vagrant Cascadian wrote:
> Justification: renders package unusable
No, it doesn't.
> when installing xserver-xorg (by way of xorg) in a newly built LTSP
> chroot environment, it seems to select an arbitrary -video and -input
> package. i ended up with the following video/input and nothing else:
> i suspect this is because of the recent changes to the dependencies to
> try and fix #403818:
> Depends: xserver-xorg-core (>= 2:1.1.1-11), xserver-xorg-video-1.0,
> xserver-xorg-input, debconf (>= 0.5) | debconf-2.0, xkb-data |
> xkb-data-legacy, xbase-clients
> Recommends: xserver-xorg-video-all | xserver-xorg-video-vesa,
> xserver-xorg-input-all | xserver-xorg-input-mouse, xserver-xorg-inpu
> t-all | xserver-xorg-input-kbd, laptop-detect, xresprobe, mdetect,
> discover1 | discover
> this allows any package providing xserver-xorg-video-1.0 to satisfy the
> dependency. same for xserver-xorg-input. if using apt-get, it will not
> typically consider the recommends, and apt appears to arbitrarily select
> whichever package it comes across first that satisfies the dependency.
Using apt-get will ignore Recommends, and that is a bug in apt-get.
> i suspect the following would be better:
> Depends: ... xserver-xorg-video-all | xserver-xorg-video-vesa | xserver-xorg-video-1.0, xserver-xorg-input-all | xserver-xorg-input-mouse | xserver-xorg-input, xserver-xorg-input-all | xserver-xorg-input-kbd | xserver-xorg-input ...
> this will default to using -video-all, fall back to -video-vesa, and
> allow anything providing -video-1.0 to satisfy the dependency.
The reason the Recommends were changed is that on upgrades the Depends: on
xserver-xorg-video-all | xserver-xorg-video-1.0 were insufficient to pull in
xserver-xorg-video-all on upgrade in many cases. I don't know whether
adding in the -vesa is going to make a difference, but using packaging tools
that ignore recommends is... not recommended.
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.