reopen -1
retitle -1 dpkg-maintscript-helper: fails if no version is given

Hi

The fix for #844701 included in the upload from earlier today breaks the
installation of valgrind.

Preparing to unpack .../valgrind_1%3a3.12.0-1_amd64.deb ...
dpkg-maintscript-helper: error: dpkg: error: version '' has bad syntax: version 
string is empty
dpkg: error processing archive 
/var/cache/apt/archives/valgrind_1%3a3.12.0-1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
dpkg-maintscript-helper: error: dpkg: error: version '' has bad syntax: version 
string is empty

The problem is that valgrind includes the follwoing preinst:

#!/bin/sh
set -e
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/valgrind -- "$@"
# End automatically added section

According to the dpkg-maintscript-helper manpage it's valid to omit the
prior-version. So this is perfectly legal.

Gaudenz
-- 
PGP: 836E 4F81 EFBB ADA7 0852 79BF A97A 7702 BAF9 1EF5

Attachment: signature.asc
Description: PGP signature

Reply via email to