[systemd]Please add a sysv init script to satisfy init system transition.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click-apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Marc Deslauriers |
Bug Description
Failed to upgrade: broken dependency
System booted with 'systemd'
(synaptic:6215): GLib-CRITICAL **: g_child_
(Reading database ... 204165 files and directories currently installed.)
Preparing to unpack .../apparmor-
Unpacking apparmor-
Preparing to unpack .../click-
Failed to issue method call: Unit click-apparmor.
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.
invoke-rc.d: initscript click-apparmor, action "stop" failed.
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 5
Failed to issue method call: Unit click-apparmor.
invoke-rc.d: initscript click-apparmor, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 6
Preparing to unpack .../python3-
Unpacking python3-
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up apparmor-
(may take a while)
dpkg: dependency problems prevent configuration of click-apparmor:
click-apparmor depends on python3-
Version of python3-
dpkg: error processing package click-apparmor (--configure):
dependency problems - leaving unconfigured
Setting up python3-
Errors were encountered while processing:
click-apparmor
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: click-apparmor 0.2.2
ProcVersionSign
Uname: Linux 3.15.0-1-generic i686
NonfreeKernelMo
ApportVersion: 2.14.2-0ubuntu4
Architecture: i386
Date: Thu May 22 19:49:09 2014
DuplicateSignature: package:
ErrorMessage: subprocess new pre-removal script returned error exit status 5
SourcePackage: click-apparmor
Title: package click-apparmor 0.2.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 5
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
tags: | added: systemd-boot |
Changed in click-apparmor (Ubuntu): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
affects: | procps → procps (Ubuntu) |
summary: |
- [systemd]click-apparmor 0.2.2 failed to upgrade: subprocess new pre- - removal script returned error exit status 5 + [systemd]Please add a sysv init script to satisfy init system + transition. |
Got the package upgraded after running that 2 terminal commands:
sudo rm /var/lib/ dpkg/info/ click-apparmor. prerm
[sudo] password for oem:
sudo dpkg --remove --force- remove- reinstreq click-apparmor
dpkg: dependency problems prevent removal of click-apparmor:
upstart-app-launch depends on click-apparmor.
dpkg: error processing package click-apparmor (--remove):
dependency problems - not removing
Errors were encountered while processing:
click-apparmor
so the process still needs a fix.