Bug#820031: kpartx: broken maintainer scripts prevent package removal
Control: tag -1 +pending On Tue, 2016-04-05 at 10:32 +0200, Andreas Beckmann wrote: > > 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? Ah!! Thank you for the hint. The remove condition was missing in the prerm script. Fixed and will upload soon. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: This is a digitally signed message part
Bug#820031: kpartx: broken maintainer scripts prevent package removal
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
Bug#820031: kpartx: broken maintainer scripts prevent package removal
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...@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@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 signature.asc Description: This is a digitally signed message part
Bug#820031: kpartx: broken maintainer scripts prevent package removal
Package: kpartx Version: 0.5.0+git1.656f8865-8 Severity: serious User: debian...@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 cheers, Andreas lava-server_2016.3.post1-1.log.gz Description: application/gzip