reassign 604114 dpkg 1.15.8.5 tag 604114 -moreinfo -unreproducible thanks Hello Kurt,
Kurt Roeckx [2010-11-21 22:22 +0100]: > This only seems to happen when upgrading from the version in testing, > or installing the version in testing. That version still has files > in /usr/share/myspell/dicts/, 2.0-1 doesn't anymore. > > I added a set -x at the top of the postinst, I get: > + . /usr/share/debconf/confmodule > + [ ! ] > + PERL_DL_NONLAZY=1 > + export PERL_DL_NONLAZY > + [ ] > + exec /usr/share/debconf/frontend > /var/lib/dpkg/info/postgresql-common.postinst triggered > /usr/share/myspell/dicts > dpkg: version '/usr/share/myspell/dicts' has bad syntax: invalid character in > version number > + . /usr/share/debconf/confmodule Confirmed. In squeeze, installing postgresql-common, then myspell-nl will reproduce this. According to [1] above call of the p-common postinst looks correct, "/usr/share/myspell/dicts" is a valid trigger name that p-common subscribes to. It looks like debconf or dpkg itself tries to interpret $2 as a version number even if $1 = "triggered"; with any other valid $1, $2 is indeed a version number, so it seems this particular case isn't handled here? This might also be a bug in debconf, but since the error message says "dpkg" I reassign this to dpkg. Thanks, Martin [1] http://www.seanius.net/blog/2009/09/dpkg-triggers-howto/ -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature