Bug#820031: kpartx: broken maintainer scripts prevent package removal

Ritesh Raj Sarraf rrs at debian.org
Tue Apr 5 07:41:21 UTC 2016


Control: tag -1 +confirmed

On Mon, 2016-04-04 at 23:11 +0200, Andreas Beckmann wrote:
> Package: kpartx
> Version: 0.5.0+git1.656f8865-8
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> Control: affects -1 + lava-server
> 
> Hi,
> 
> during a test with piuparts I noticed your package fails to remove.
> 
> > 
> > From the attached log (scroll to the bottom...):
>   Removing kpartx (0.5.0+git1.656f8865-8) ...
>   preinst called with unknown argument `remove'
>   dpkg: error processing package kpartx (--remove):
>    subprocess installed pre-removal script returned error exit status 1

Thank you. I can confirm the bug. But I'm wondering what triggered this bug.
dpkg complains of the preinst script, which according to documentation should
only have been triggered during an install or upgrade operation.



rrs at learner:~$ sudo dpkg --purge kpartx
(Reading database ... 416244 files and directories currently installed.)
Removing kpartx (0.5.0+git1.656f8865-8) ...
preinst called with unknown argument `remove'
dpkg: error processing package kpartx (--purge):
 subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
 kpartx
2016-04-05 / 12:43:23 ♒♒♒  ☹  => 1  

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20160405/16fdd67c/attachment.sig>


More information about the pkg-lvm-maintainers mailing list