1

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?

0

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

DEBIAN_FRONTEND=noninteractive apt-get install kdm
  • 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? – BobDoolittle Oct 8 '14 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. – BobDoolittle Oct 8 '14 at 21:34
  • Bug filed here: bugs.kde.org/show_bug.cgi?id=339797 – BobDoolittle Oct 8 '14 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 '14 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. – BobDoolittle Oct 8 '14 at 22:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.