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

Bug#405639: xserver-xorg: installs arbitrary -input and -video packages

Package: xserver-xorg
Version: 7.1.0-9
Severity: grave
Justification: renders package unusable

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.

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.

similar with -input, though the above still could leave you with only
one of -mouse or -kbd. i have no idea how to get that perfectly while
still allowing for unusual -input configurations.


live well,

Reply to: