gdm fails to remove if gdm is the default display manager (and another dm is installed)

Bug #804821 reported by salvam
152
This bug affects 17 people
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Medium
Martin Pitt
Oneiric
Fix Released
Medium
Martin Pitt

Bug Description

TEST CASE:
1. install gdm and lightdm
2. Set gdm as default greeter
  $ dpkg-reconfigure gdm
  and select gdm
3. Remove gdm
  $ apt-get remove --purge gdm

Result:
gdm prerm script failed with exit status 10, then debconf prompt for the default display manager

Expected
debconf prompt is shown _before_ removing gdm and gdm removal only fails if there is no other choice than gdm

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: gdm (not installed)
ProcVersionSignature: Ubuntu 3.0-2.3-generic 3.0.0-rc4
Uname: Linux 3.0-2-generic i686
Architecture: i386
Date: Sat Jul 2 02:02:19 2011
ErrorMessage: il sottoprocesso vecchio script di pre-removal ha restituito lo stato di errore 10
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100803.1)
SourcePackage: gdm
Title: package gdm (not installed) failed to install/upgrade: il sottoprocesso vecchio script di pre-removal ha restituito lo stato di errore 10
UpgradeStatus: Upgraded to oneiric on 2011-06-27 (5 days ago)

Revision history for this message
salvam (salvam) wrote :
description: updated
summary: - package gdm (not installed) failed to install/upgrade: il sottoprocesso
- vecchio script di pre-removal ha restituito lo stato di errore 10
+ gdm fails to remove if gdm is the default display manager
Changed in gdm (Ubuntu Oneiric):
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
summary: - gdm fails to remove if gdm is the default display manager
+ gdm fails to remove if gdm is the default display manager (and another
+ dm is installed)
Changed in gdm (Ubuntu Oneiric):
importance: Low → Medium
Revision history for this message
Francis De Brabandere (francisdb) wrote :

The upgrade seems to ask what display manager you want to use but when choosing LightDM it asks again (in a loop) so I had to choose GDM.

Revision history for this message
Francis De Brabandere (francisdb) wrote :

Strange, i'm still upgrading and it just asked again and now I was able to choose LightDM

papukaija (papukaija)
tags: added: metabug
Martin Pitt (pitti)
Changed in gdm (Ubuntu Oneiric):
assignee: Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti)
status: Triaged → In Progress
Martin Pitt (pitti)
description: updated
Martin Pitt (pitti)
Changed in gdm (Ubuntu Oneiric):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
gdm (3.0.4-0ubuntu10) oneiric; urgency=low

  * debian/gdm.prerm: Stop asking for <dm>/daemon_name debconf question, it
    does not exist for lightdm and is not really necessary. Fixes prerm error
    and confusing debconf prompts when removing gdm. (LP: #804821)
 -- Martin Pitt <email address hidden> Wed, 14 Sep 2011 11:12:18 +0200

Changed in gdm (Ubuntu Oneiric):
status: Fix Committed → Fix Released
tags: added: testcase
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.