Package: wesnoth-server Version: 1.1.8-1 Severity: normal It's impossible to remove (or upgrade!) wesnoth-server if it's not currently running, because the maintainer scripts abort when it can't be stopped:
Here is an example: # aptitude purge wesnoth-server Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Building tag database... Done The following packages will be REMOVED: wesnoth-server{p} 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 668kB will be freed. Do you want to continue? [Y/n/?] Writing extended state information... Done (Reading database ... 308709 files and directories currently installed.) Removing wesnoth-server ... Stopping Wesnoth server: wesnothdrm: cannot remove `/var/run/wesnothd.pid': No such file or directory invoke-rc.d: initscript wesnoth-server, action "stop" failed. dpkg: error processing wesnoth-server (--purge): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: wesnoth-server E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Or just trying to upgrade: # aptitude install wesnoth-server Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Building tag database... Done The following packages will be upgraded: wesnoth-server 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/290kB of archives. After unpacking 8192B will be used. Do you want to continue? [Y/n/?] Writing extended state information... Done Reading changelogs... Selecting previously deselected package wesnoth-server. (Reading database ... 308710 files and directories currently installed.) Preparing to replace wesnoth-server 1.1.7-1 (using .../wesnoth-server_1.1.8-1_amd64.deb) ... Stopping Wesnoth server: wesnothdrm: cannot remove `/var/run/wesnothd.pid': No such file or directory invoke-rc.d: initscript wesnoth-server, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... Stopping Wesnoth server: wesnothdrm: cannot remove `/var/run/wesnothd.pid': No such file or directory invoke-rc.d: initscript wesnoth-server, action "stop" failed. dpkg: error processing /var/cache/apt/archives/wesnoth-server_1.1.8-1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/wesnoth-server_1.1.8-1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-1-amd64-k8 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages wesnoth-server depends on: ii libc6 2.3.6-18 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-10 GCC support library ii libsdl-net1.2 1.2.5-7 network library for Simple DirectM ii libsdl1.2debian 1.2.11-2 Simple DirectMedia Layer ii libstdc++6 4.1.1-10 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.0-7 X11 client-side library ii lsb-base 3.1-10 Linux Standard Base 3.1 init scrip wesnoth-server recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]