Bug#665710: Double configuration file /etc/lightdm/lightdm.conf

March 25th, 2012 - 07:20 am ET by Bernhard | Report spam
Package: lightdm
Version: 1.0.10-1
Severity: normal

Hello,
i have a fully automated installation with preseed files.
Here, the corresponding content of my preseed file:


d-i pkgsel/include string \
...
lightdm lightdm-gtk-greeter \
...



During installation of my Debian system, there is the message of the
already installed file /etc/lightdm/lightdm.conf
I have the choice:
- Installation of this file with the version of the package maintainer
- Keep the already installed version
- See the difference of the two versions
To see this message, i have to switch to the console with Alt+F4.
I can't continue the installation.
If i want to overwrite the currently installed version, nothing happens
at the console.

If i have a look at the console, there is lightdm-gtk-greeter installed
first.
After installation of lightdm-gtk-greeter, there is the package lightdm
installed.

For more informations, i have opened a new shell with Alt+F2.
The content of the currently installed file /etc/lightdm/lightdm.conf
from lightdm-gtk-greeter:


[SeatDefaults]
greeter-sessions=lightdm-gtk-greeter



If you need more informations, please let me know.

Best regards
Bernhard



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 3 repliesReplies Make a reply

Replies

#1 Yves-Alexis Perez
March 25th, 2012 - 08:40 am ET | Report spam

On dim., 2012-03-25 at 13:06 +0200, Bernhard wrote:
Package: lightdm
Version: 1.0.10-1
Severity: normal

Hello,
i have a fully automated installation with preseed files.
Here, the corresponding content of my preseed file:

> d-i pkgsel/include string \
> ...
> lightdm lightdm-gtk-greeter \
> ...

During installation of my Debian system, there is the message of the
already installed file /etc/lightdm/lightdm.conf
I have the choice:
- Installation of this file with the version of the package maintainer
- Keep the already installed version
- See the difference of the two versions
To see this message, i have to switch to the console with Alt+F4.
I can't continue the installation.
If i want to overwrite the currently installed version, nothing happens
at the console.

If i have a look at the console, there is lightdm-gtk-greeter installed
first.
After installation of lightdm-gtk-greeter, there is the package lightdm
installed.

For more informations, i have opened a new shell with Alt+F2.
The content of the currently installed file /etc/lightdm/lightdm.conf
from lightdm-gtk-greeter:

> [SeatDefaults]
> greeter-sessions=lightdm-gtk-greeter

If you need more informations, please let me know.




Hmhm, that's a tricky one, I think. That's because when you install
multiple greeters (gtk or Qt), you need to chose which one you want (so
you get the question using debconf). When you install only one, then
this one is selected. After that, the option is remembered in the
lightdm config file using lightdm-set-defaults.

In your case, it seems that lightdm and lightdm-gtk-greeter are not
installed at the same time at all (not in the same dpkg batch, I guess)
and so lightdm-gtk-greeter gets installed before lightdm is even
unpacked. But what puzzles me is that, if it's really the case, then
lightdm-set-defaults shouldn't be there either.

When that happens, could you run dpkg -l |grep lightdm and tell us the
result?

Regards,
Yves-Alexis






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics