Your message dated Thu, 16 Jun 2011 01:24:49 +0100 with message-id <1308183894.8499.4.camel@x200s> and subject line cdebconf not affected has caused the Debian Bug report #608683, regarding debconf calls .config script with bad arguments when "postinst triggered" is run to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 608683: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608683 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: postgresql-common.config: wrong use of $2
- From: Christoph Berg <myon@debian.org>
- Date: Fri, 31 Dec 2010 21:35:49 +0100
- Message-id: <20101231203549.GA27339@df7cb.de>
- Mail-followup-to: Christoph Berg <myon@debian.org>, Debian Bug Tracking System <submit@bugs.debian.org>
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 -- cb@df7cb.de | http://www.df7cb.de/Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 608683-done@bugs.debian.org
- Subject: cdebconf not affected
- From: Regis Boudin <regis@boudin.name>
- Date: Thu, 16 Jun 2011 01:24:49 +0100
- Message-id: <1308183894.8499.4.camel@x200s>
Hi, As I've been hacking on cdebconf lately, it turns out that it doesn't call at all the .config script yet. So, this bugs is not relevant, and I'm closing it. I have a patch in progress to implement the missing feature, which takes this potential issue into account. Regis
--- End Message ---