I don't know how to solve this. The script in post install adds something to apparmor rules and the apparmor has to be restarted. New Debian uses systemd but latest Ubuntu LTS still uses upstart. I'd like to keep compatibility with latest LTS version. Maybe there could be two scripts, one for Ubuntu LTS and another for systemd Debian but I don't know how to do it. The script itself is ugly, I'm not so keen in bash scripting.
2015-07-19 12:15 GMT+02:00 Andreas Beckmann <a...@debian.org>: > Package: cqrlog > Version: 1.9.0-1 > Severity: serious > User: debian...@lists.debian.org > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package fails to remove. > > >From the attached log (scroll to the bottom...): > > Removing cqrlog (1.9.0-1) ... > > Changes removed from /etc/apparmor.d/usr.sbin.mysqld > > invoke-rc.d: unknown initscript, /etc/init.d/apparmor not found. > dpkg: error processing package cqrlog (--remove): > subprocess installed post-removal script returned error exit status 100 > > > cheers, > > Andreas -- http://HamQTH.com/ok2cqr http://ok2cqr.com http://cqrlog.com http://cqrtest.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org