severity 355681 serious # version numbers are *not advisory*! notfound 355681 2.3.4-26 found 355681 2.3.4-30 thanks
On Tue, Mar 07, 2006 at 11:03:27AM +0200, Martin-Éric Racine wrote: > Package: belocs-locales-data > Version: 2.3.4-26 > Severity: grave > Justification: renders package unusable > I repeatedly get the following error upon upgrading to 2.3.4-30 (which just > entered Testing today): > Preparing to replace belocs-locales-data 2.3.4-26 (using > .../belocs-locales-data_2.3.4-30_all.deb) ... > dpkg: error processing > /var/cache/apt/archives/belocs-locales-data_2.3.4-30_all.deb (--unpack): > subprocess pre-installation script returned error exit status 1 > Errors were encountered while processing: > /var/cache/apt/archives/belocs-locales-data_2.3.4-30_all.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > E: Some packages could not be upgraded. The reason for this: [ "$md5sum" = "$old_md5sum" ] && rm -f "$CONFFILE" This line always returns false (1) when $md5sum != $old_md5sum. Since this script is set -e (as expected), you want instead: [ "$md5sum" != "$old_md5sum" ] || rm -f "$CONFFILE" -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature