Package: postgresql-common Version: 41 Severity: important Tags: patch A recent change in lsb-base 3.0-15 causes the postinst to fail. The failure is silent, but a little shell tracing reveals the problem:
++ sh /usr/share/postgresql-common/supported-versions + type -p lsb_release ++ lsb_release -is + DISTRO=Debian ++ lsb_release -rs + RELEASE=unstable + case "$DISTRO" in + lsb_debian unstable + case "$1" in + echo 'Unknown Debian release: unstable' + exit 1 + SUPPORTED='Unknown Debian release: unstable' dpkg: error processing postgresql-common (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: postgresql-common Here's a patch that works in sid. It's not a complete patch; I think some special handling may be needed for etch, too. kleph:1# diff -u supported-versions.~1~ supported-versions --- supported-versions.~1~ 2006-01-27 09:50:34.000000000 -0500 +++ supported-versions 2006-02-04 23:15:51.000000000 -0500 @@ -22,7 +22,7 @@ lsb_debian() { case "$1" in - testing/unstable) + testing/unstable | unstable) echo -e "7.4\n8.1" ;; 3.1) -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15.1-cph1 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages postgresql-common depends on: ii adduser 3.81 Add and remove users and groups ii debconf [debconf-2.0] 1.4.70 Debian configuration management sy ii lsb-base 3.0-15 Linux Standard Base 3.0 init scrip Versions of packages postgresql-common recommends: ii openssl 0.9.8a-6 Secure Socket Layer (SSL) binary a -- debconf information: * postgresql-common/obsolete-major: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]