Package: postgresql-8.3 Version: 8.3.1-1 Severity: normal Different versions of PostgreSQL server clash on pid, so removing one version gives errores if another is running.
For exmaple: bugs:~# dpkg -P postgresql-8.1 postgresql-8.2 (Leyendo la base de datos ... 203275 ficheros y directorios instalados actualmente.) Desinstalando postgresql-8.1 ... Purgando ficheros de configuración de postgresql-8.1 ... Dropping cluster main... Error: pid file is invalid, please manually kill the stale server process. Error: could not stop server, aborting dpkg: error al procesar postgresql-8.1 (--purge): el subproceso post-removal script devolvió el código de salida de error 1 Desinstalando postgresql-8.2 ... Purgando ficheros de configuración de postgresql-8.2 ... Dropping cluster main... Error: pid file is invalid, please manually kill the stale server process. Error: could not stop server, aborting dpkg: error al procesar postgresql-8.2 (--purge): el subproceso post-removal script devolvió el código de salida de error 1 Se encontraron errores al procesar: postgresql-8.1 postgresql-8.2 bugs:~# /etc/init.d/postgresql-8.3 stop Stopping PostgreSQL 8.3 database server: main. bugs:~# dpkg -P postgresql-8.1 postgresql-8.2 (Leyendo la base de datos ... 203275 ficheros y directorios instalados actualmente.) Desinstalando postgresql-8.1 ... Purgando ficheros de configuración de postgresql-8.1 ... Dropping cluster main... Desinstalando postgresql-8.2 ... Purgando ficheros de configuración de postgresql-8.2 ... Dropping cluster main... bugs:~# /etc/init.d/postgresql-8.3 start Starting PostgreSQL 8.3 database server: main. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages postgresql-8.3 depends on: ii libc6 2.7-6 GNU C Library: Shared libraries ii libcomerr2 1.40.8-2 common error description library ii libkrb53 1.6.dfsg.3~beta1-4 MIT Kerberos runtime libraries ii libldap-2.4-2 2.4.7-6.1 OpenLDAP libraries ii libpam0g 0.99.7.1-6 Pluggable Authentication Modules l ii libpq5 8.3.1-1 PostgreSQL C client library ii libssl0.9.8 0.9.8g-8 SSL shared libraries ii libxml2 2.6.31.dfsg-2 GNOME XML library ii postgresql-client-8.3 8.3.1-1 front-end programs for PostgreSQL ii postgresql-common 86 PostgreSQL database-cluster manage ii tzdata 2008a-1 time zone and daylight-saving time postgresql-8.3 recommends no packages. -- no debconf information

