Package: postgresql-common Version: 113 Severity: normal Hi,
when installing myspell dictionaries, postgresql-common gets triggered to rebuild the postgres dictionaries. This makes dpkg --compare-versions print a warning about a bad version. With set -ex ; echo "$@" in /var/lib/dpkg/info/postgresql-common.config: $ LC_ALL=C sudo dpkg -i /var/cache/apt/archives/myspell-de-de_20091006-4.2_all.deb (Reading database ... 194663 files and directories currently installed.) Preparing to replace myspell-de-de 20091006-4.2 (using .../myspell-de-de_20091006-4.2_all.deb) ... Unpacking replacement myspell-de-de ... Setting up myspell-de-de (20091006-4.2) ... Processing triggers for postgresql-common ... + echo configure /usr/share/myspell/dicts + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + '[' -d /usr/lib/postgresql ']' + '[' '!' -e /usr/share/postgresql-common/supported-versions ']' + dpkg --compare-versions /usr/share/myspell/dicts lt-nl 71 dpkg: version '/usr/share/myspell/dicts' has bad syntax: invalid character in version number The bad code is: # at some points we obsolete major versions within unstable; force the # obsoletion notifications when upgrading over those if dpkg --compare-versions "$2" lt-nl 71; then db_fset postgresql-common/obsolete-major seen false fi I'm not sure how one is supposed to test version numbers in the config script, but at least that code shouldn't run when triggered. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (50, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages postgresql-common depends on: ii adduser 3.112+nmu2 add and remove users and groups ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii postgresql-client-common 113 manager for multiple PostgreSQL cl ii procps 1:3.2.8-9 /proc file system utilities ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL Christoph -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: Digital signature