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

Andreas Beckmann anbe at debian.org
Tue Apr 5 08:32:48 UTC 2016


On 2016-04-05 09:41, Ritesh Raj Sarraf wrote:
>>> 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.

dpkg complains about the prerm script. The prerm script itself claims to
be the preinst script. Maybe something was incorrectly renamed?


Andreas



More information about the pkg-lvm-maintainers mailing list