[Bug 1322296] Re: [systemd]click-apparmor 0.2.2 failed to upgrade: subprocess new pre-removal script returned error exit status 5

Launchpad Bug Tracker 1322296 at bugs.launchpad.net
Fri May 30 08:32:20 UTC 2014


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: procps (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1322296

Title:
  [systemd]Please add a sysv init script to satisfy init system
  transition.

Status in “click-apparmor” package in Ubuntu:
  Confirmed
Status in “procps” package in Ubuntu:
  New

Bug description:
  Failed to upgrade: broken dependency

  System booted with 'systemd'

  
  (synaptic:6215): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
  (Reading database ... 204165 files and directories currently installed.)
  Preparing to unpack .../apparmor-easyprof-ubuntu_1.2.0_all.deb ...
  Unpacking apparmor-easyprof-ubuntu (1.2.0) over (1.1.18) ...
  Preparing to unpack .../click-apparmor_0.2.4_i386.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_i386.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
  Preparing to unpack .../python3-apparmor-click_0.2.4_all.deb ...
  Unpacking python3-apparmor-click (0.2.4) over (0.2.2) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/click-apparmor_0.2.4_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  Setting up apparmor-easyprof-ubuntu (1.2.0) ...
  (may take a while)
  dpkg: dependency problems prevent configuration of click-apparmor:
   click-apparmor depends on python3-apparmor-click (= 0.2.2); however:
    Version of python3-apparmor-click on system is 0.2.4.

  dpkg: error processing package click-apparmor (--configure):
   dependency problems - leaving unconfigured
  Setting up python3-apparmor-click (0.2.4) ...
  Errors were encountered while processing:
   click-apparmor

  ProblemType: Package
  DistroRelease: Ubuntu 14.10
  Package: click-apparmor 0.2.2
  ProcVersionSignature: Ubuntu 3.15.0-1.5-generic 3.15.0-rc5
  Uname: Linux 3.15.0-1-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.2-0ubuntu4
  Architecture: i386
  Date: Thu May 22 19:49:09 2014
  DuplicateSignature: package:click-apparmor:0.2.2:subprocess new pre-removal script returned error exit status 5
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click-apparmor/+bug/1322296/+subscriptions



More information about the foundations-bugs mailing list