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

Bug#536230: In the "lxde" packages list, please install the "gdm" package *after* the "lxde" package

Package: live-helper
Version: 1.0.5-1
Severity: minor
Tags: patch

Hi Daniel,

in the "lxde" packages list, the following packages are installed in exactly this order: gdm lxde lxnm.

Unfortunately the order of packages parsed to both apt-get and aptitude is important with respect to the resulting installed packages, see #401835 and many others.

In this case apt tries to install gdm and satisfy its dependencies first, then lxde and lxnm. The gdm package depends on "gnome-session | x-session-manager" and thus apt attempts to install gnome-session. This is because it does not know that the next package on the command line, namely "lxde", will pull in "lxsession-lite" (in case of Lenny) which in turn Provides: x-session-manager and thus already satisfies gdm's dependencies.

Reversing the order of packages in the list, i.e. putting gdm last, fixes this issue - please see the attached patch. This is because when gdm is to be installed, apt already knows that its dependency on "gnome-session | x-session-manager" is already satisfied by lxsession-lite.


Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  greffrath@leat.ruhr-uni-bochum.de
--- live-helper-1.0.5.orig/lists/lxde
+++ live-helper-1.0.5/lists/lxde
@@ -3,5 +3,6 @@
 ## LH: LXDE
 #include <standard-x11>
-gdm lxde lxnm
+lxde lxnm

Reply to: