Lucid to Precise: debconf prompt about which DM to use during upgrade

Bug #911813 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Medium
Martin Pitt
Precise
Fix Released
Medium
Martin Pitt

Bug Description

During the upgrade from lucid to precise a debconf prompt is shown to select which DM to use.
DM configuration was unchanged in Lucid.

Same bug was fixed in Oneiric (bug 806559)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lightdm 1.0.6-0ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
Uname: Linux 3.2.0-7-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Wed Jan 4 16:17:24 2012
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release amd64 (20110720.1)
ProcEnviron:
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: Upgraded to precise on 2012-01-04 (0 days ago)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
description: updated
Changed in lightdm (Ubuntu Precise):
importance: Undecided → Medium
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
tags: added: dist-upgrade lucid2precise qa-daily-testing rls-mgr-p-tracking
Revision history for this message
Martin Pitt (pitti) wrote :

We currently check this:

if [ -z "$2" -a -n "$RELEASE_UPGRADE_IN_PROGRESS" ]; then
    db_set shared/default-x-display-manager lightdm
    db_fset shared/default-x-display-manager seen true
else
    db_input high shared/default-x-display-manager || :
    db_go || :
fi

update-manager sets $RELEASE_UPGRADE_IN_PROGRESS, so it seems in your upgrade method this wasn't set. Was your upgrade done using apt-get dist-upgrade? In that case we actually expect the prompt.

If it was from do-release-upgrade, it's meant to not show. We shouldn't have a previously installed lightdm in that case, so the -z "$2" part ought to be okay. Do you happen to have full logs from that upgrade still?

Thanks!

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I upgraded with update-manager -d

Here are the logs.

Revision history for this message
Martin Pitt (pitti) wrote :

Oh, I bet that was a debconf question from gdm, not from lightdm. I'll apply the corresponding fix there as well.

affects: lightdm (Ubuntu Precise) → gdm (Ubuntu Precise)
Changed in gdm (Ubuntu Precise):
assignee: Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdm - 3.0.4-0ubuntu13

---------------
gdm (3.0.4-0ubuntu13) precise; urgency=low

  * debian/gdm.config: Do not show debconf prompt during dist-upgrades.
    lightdm will be installed and should set itself as default WM.
    (LP: #911813)
 -- Martin Pitt <email address hidden> Fri, 06 Jan 2012 13:31:19 +0100

Changed in gdm (Ubuntu Precise):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.