[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debconf-devel] Bug#846624: debconf: invalid version in maintainer script



Control: reassign -1 dpkg

On Fri, Dec 02, 2016 at 11:45:23PM +0530, Ritesh Raj Sarraf wrote:
> debconf seems to have a broken version number, failing in maintainer
> scripts.

And yet 1.5.58~ is clearly a perfectly valid version number.

> Preparing to unpack .../dash_0.5.8-2.3_mips.deb ...
> Adding 'diversion of /bin/sh to /bin/sh.distrib by dash'
> Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
> Unpacking dash (0.5.8-2.3) ...
> Selecting previously unselected package libdb5.3:mips.
> Preparing to unpack .../libdb5.3_5.3.28-12_mips.deb ...
> Unpacking libdb5.3:mips (5.3.28-12) ...
> Selecting previously unselected package debconf.
> Preparing to unpack .../debconf_1.5.59_all.deb ...
> dpkg-maintscript-helper: error: version '1.5.58~' is not valid
> dpkg: error processing archive /var/cache/apt/archives/debconf_1.5.59_all.deb (--unpack):
>  subprocess new pre-installation script returned error exit status 1
> dpkg-maintscript-helper: error: version '1.5.58~' is not valid
> dpkg: error while cleaning up:
>  subprocess new post-removal script returned error exit status 1

Reassigning to dpkg, but maybe your shell is broken or something, I
don't know.  At any rate it's not a debconf bug.  You might try
narrowing things down a bit by putting "set -x" near the top of
dpkg-maintscript-helper.

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: