Bug#479401: package removal fails if gdm is not running

Loïc Minier lool at dooz.org
Mon May 5 07:49:10 UTC 2008


        Hi,

On Sun, May 04, 2008, Noah Meyerhans wrote:
> streaker:~# dpkg -r gdm
> (Reading database ... 156521 files and directories currently installed.)
> Removing gdm ...
> Stopping GNOME Display Manager: gdminvoke-rc.d: initscript gdm, action "stop" failed.
> dpkg: error processing gdm (--remove):
>  subprocess pre-removal script returned error exit status 1
> Scheduling reload of GNOME Display Manager configuration: gdminvoke-rc.d: initscript gdm, action "reload" failed.
> Errors were encountered while processing:
>  gdm
> 
> In prerm, the call to invoke-rc.d to stop gdm should probably be
> followed with "|| true".

 This is nothing specific to gdm, most packages with daemons behave this
 way; you're welcome to question the default with the debhelper
 maintainer where this support comes from.

>                           Or maybe there should be a check to verify
> that gdm is actually running before calling invoke-rc.d.

 However we could check why stop is failing.

-- 
Loïc Minier





More information about the pkg-gnome-maintainers mailing list