Comment 4 for bug 1322296

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote : Re: click-apparmor 0.2.2 failed to upgrade: subprocess new pre-removal script returned error exit status 5

This package has the same error as nvidia-prime (bug #1312255) , I think it needs a repack. Also a click-apparmor.service should be created (?)

Preparing to unpack .../click-apparmor_0.2.4_amd64.deb ...
Failed to issue method call: Unit click-apparmor.service not loaded.
invoke-rc.d: initscript click-apparmor, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
Failed to issue method call: Unit click-apparmor.service not loaded.
invoke-rc.d: initscript click-apparmor, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/click-apparmor_0.2.4_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 5
Failed to issue method call: Unit click-apparmor.service failed to load: No such file or directory. See system logs and 'systemctl status click-apparmor.service' for details.
invoke-rc.d: initscript click-apparmor, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 6

sudo systemctl status click-apparmor.service

click-apparmor.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)