[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792848: cqrlog: fails to remove: invoke-rc.d: unknown initscript, /etc/init.d/apparmor not found.



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 <anbe@debian.org>:
> Package: cqrlog
> Version: 1.9.0-1
> Severity: serious
> User: debian-qa@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


Reply to: