2

I need to automate apt-get installation of kde-plasma-desktop which winds up installing both kdm and lightdm Display Managers.

I'm using debconf-set-selections prior to installation to set the following values:

# Default display manager:
# Choices: kdm, lightdm
kdm     shared/default-x-display-manager        select  lightdm
lightdm shared/default-x-display-manager        select  lightdm

However, when I run apt-get I still get prompted during configuration to select the default Display Manager. I've studied the configuration scripts for both packages, but still not getting it. They call db_input high shared/default-x-display-manager unconditionally, yet it only asks the question if there was a prior value for the question.

How can I suppress this interaction so it can be run unattended?

1 Answer 1

0

Worst case, you can always run with DEBIAN_FRONTEND=noninteractive. This will suppress all questions

DEBIAN_FRONTEND=noninteractive apt-get install kdm
8
  • The good news is that that's indeed non-interactive. The bad news is that it configures the wrong display manager, ignoring (and overwriting) what I put into the database in advance (as specified in my Question). Bug? Oct 8, 2014 at 21:32
  • 1
    I think I'll file a bug, and either it will be accepted or somebody will point me in the right direction. I'll post the bug and any resolution here when the time comes. Oct 8, 2014 at 21:34
  • Bug filed here: bugs.kde.org/show_bug.cgi?id=339797 Oct 8, 2014 at 22:20
  • @BobDoolittle KDE is upstream here, I think you should have filed a bug at Launchpad or Debian, since this looks like a packaging issue and that's where the package maintainers are.
    – muru
    Oct 8, 2014 at 22:36
  • My guess is a bug in the kdm configuration script, which is why I filed it there. I could of course be wrong but that's a good place to start I think. Oct 8, 2014 at 22:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .