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

Bug#435662: Russell Coker: SE Linux Policy Packaging for a Distribution



Hi Russel!

On Wed, 20 Aug 2008 01:19:26 +0200, Russell Coker wrote:
> On Wednesday 20 August 2008 05:48, Luca Capello <luca@pca.it> wrote:
>> > I suspect that most Debian systems have all the video driver packages
>> > installed (along with drivers for wacom tablets and other hardware
>> > devices that might be used) as that appears to be the default.
>>
>> A bug in apt-get/aptitude prevents this "default" to be unset, please
>> read http://bugs.debian.org/435662.
>
> It doesn't look like an apt bug to me.
>
> xserver-xorg-video-intel depends on xserver-xorg-core which depends on 
> xserver-xorg which depends on xserver-xorg-video-all and 
> xserver-xorg-input-all.
>
> It looks like a dependency problem in the xorg packages.

No, the dependencies in the xorg packages are correct, please check the
alternative dependencies and what's the -video-* and -input-* packages
provide:

=====
luca@gismo:~$ dpkg -s xserver-xorg-video-intel | grep Depends
Depends: libc6 (>= 2.7-1), libdrm2 (>= 2.3.1), xserver-xorg-core (>= 2:1.4)

luca@gismo:~$ dpkg -s xserver-xorg-video-intel | grep Provides
Provides: xserver-xorg-video-2

luca@gismo:~$ dpkg -s xserver-xorg-input-kbd | grep Depends
Depends: libc6 (>= 2.7-1), xserver-xorg-core (>= 2:1.4)

luca@gismo:~$ dpkg -s xserver-xorg-input-kbd | grep Provides
Provides: xserver-xorg-input-2

luca@gismo:~$ dpkg -s xserver-xorg-input-mouse | grep Depends
Depends: libc6 (>= 2.7-1), xserver-xorg-core (>= 2:1.4)

luca@gismo:~$ dpkg -s xserver-xorg-input-mouse | grep Provides
Provides: xserver-xorg-input-2

luca@gismo:~$ dpkg -s xserver-xorg-core | grep Depends
Depends: x11-common (>= 1:7.0.0), libc6 (>= 2.7-1), libdbus-1-3 (>= 1.0.2), \
 libdrm2 (>= 2.3.1), libfontenc1, libhal1 (>= 0.5.8.1), libpixman-1-0, \
 libxau6, libxdmcp6, libxfont1 (>= 1:1.2.9), xserver-xorg

luca@gismo:~$ dpkg -s xserver-xorg | grep Depends
Depends: xserver-xorg-core (>= 2:1.4-3), xserver-xorg-video-all | xserver-xorg-video-2, \
 xserver-xorg-input-all | xserver-xorg-input-2, libc6 (>= 2.7-1), \
 debconf (>= 0.5) | debconf-2.0, xkb-data | xkb-data-legacy, x11-xkb-utils

luca@gismo:~$
=====

If the problem would be the dependencies in the xorg packages, I
couldn't manually install the single -video-intel, -input-kbd and
-input-mouse packages and then the rest through `apt-get -f install`.

Maybe xserver-xorg should firsty depend on -video-2 and then
on -video-all, the same for -input-2 and -input-all?

BTW, this is particular annoying since when installing Debian on the
Opemoko FreeRunner [1], we need to first install all the -video-* and
-input-* packages and then remove them [2].

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://wiki.debian.org/DebianOnFreeRunner
[2] http://git.debian.org/?p=pkg-fso/files.git;a=blob;f=install.sh

Attachment: pgpcvF3k4mT2_.pgp
Description: PGP signature


Reply to: