The code that causes behavior reported in Comment #4 (at least in Trisquel):
cat /var/lib/dpkg/info/lightdm.config

# set default display manager
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager

[...]

# debconf is not a registry; use the current contents of the default display
# manager file to pre-answer the question if possible
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
  CURRENT_DEFAULT=$(basename "$(grep -v '^[[:space:]]*#' \
                                "$DEFAULT_DISPLAY_MANAGER_FILE" |
                                head -n 1)")
  if [ -n "$CURRENT_DEFAULT" ]; then
    db_set shared/default-x-display-manager "$CURRENT_DEFAULT"
  fi
else
  CURRENT_DEFAULT=
  if db_get shared/default-x-display-manager; then
    CURRENT_DEFAULT="$RET"
  fi
fi

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/1020770

Title:
  gdm install prompts about dm when debconf value set

Status in “gdm” package in Ubuntu:
  Invalid

Bug description:
  When installing gdm 3.0.4-0ubuntu15 on a 12.04 system via aptitude, I
  get prompted as to which dm I want to use, even if I have already set
  the appropriate debconf values before attempting the install.

  Steps to reproduce:
  echo "gdm shared/default-x-display-manager select lightdm" 
|debconf-set-selections
  aptitude -y install gdm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1020770/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to