> during a test with piuparts I noticed your package fails to remove. > > >From the attached log (scroll to the bottom...): > > Removing getty-run (2.1.2-6) ... > warning: getty-tty6: unable to open supervise/ok: file does not exist > dpkg: error processing package getty-run (--remove): > subprocess installed pre-removal script returned error exit status 1
Include 'force-shutdown' into maintainer script was bad idea. This is no longer happens with version in experimental (-7), but -6 is buggy. As I checked via piuparts, upgrade from -6 to -7 should be clean. If you want to purge -6 revision, you may need # sed -i '/^sv/ d' /var/lib/dpkg/info/getty-run.prerm Probably, I should mark this bug as control: tags -1 +fixed-in-experimental