Just checked - precise doesn't have this bug. It has:
      stop gdm || :
which always succeeds.

** Description changed:

- -
+ Currently the gdm package attempts to stop the gdm daemon when it is
+ uninstalled. If this fails the package fails to uninstall.
  
- ProblemType: Package
- DistroRelease: Ubuntu 12.10
- Package: gdm 3.5.92.1-0ubuntu1
- ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
- Uname: Linux 3.5.0-15-generic x86_64
- ApportVersion: 2.5.2-0ubuntu4
- AptOrdering:
-  gdm: Remove
-  libaudit0: Remove
- Architecture: amd64
- Date: Sat Sep 22 17:06:42 2012
- DpkgTerminalLog:
-  Removing gdm ...
-  stop: Unknown instance: 
-  dpkg: error processing gdm (--remove):
-   subprocess installed pre-removal script returned error exit status 1
- DuplicateSignature:
-  Removing gdm ...
-  stop: Unknown instance: 
-  dpkg: error processing gdm (--remove):
-   subprocess installed pre-removal script returned error exit status 1
- ErrorMessage: subprocess installed pre-removal script returned error exit 
status 1
- InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120724.2)
- SourcePackage: gdm
- Title: package gdm 3.5.92.1-0ubuntu1 failed to install/upgrade: subprocess 
installed pre-removal script returned error exit status 1
- UpgradeStatus: No upgrade log present (probably fresh install)
+ The daemon is not necessarily running when the package is uninstalled so
+ this is a bug, also it is unsafe to stop the daemon as the sysadmin
+ might not be expecting this. Fix is to not attempt to stop the dameon at
+ all and leave that to the sysadmin to do before uninstalling the
+ package.
+ 
+ [Test Case]
+ 1. sudo apt-get install gdm
+ 2. sudo stop gdm
+ 3. sudo apt-get remove gdm
+ Expected result:
+ gdm package successfully uninstalls
+ Observed result:
+ Package fails to uninstall.
+ 
+ [Regression Potential]
+ When uninstalling GDM the daemon will no longer be stopped. There is a risk 
of someone relying on this behaviour but it seems unlikely.

** Changed in: gdm (Ubuntu Precise)
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1055359

Title:
  GDM package fails to uninstall if GDM not running

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to