Bug#506406: xfce4: apt bug causes gdm to pull in unneeded/unwanted gnome dependencies
> Ok it seems that adding xfce4-session before gdm in the list enables
> apt-get and aptitude to satisfy the dependency on x-session-manager.
Unfortunately this cannot be fixed in tasksel this way. The order in which
packages are actually installed is not determined by the order in which
they are listed in tasksel.
Reason is that tasksel makes use of the Task: fields in the Packages file,
not the task files included in tasksel itself (which, simplified, are
only used to update the Packages file).
Would replacing gdm by xdm solve the problem (see #510422)?