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

2014-05-27 Thread Nik.Th.
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)


** Summary changed:

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

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-05-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: click-apparmor (Ubuntu)
   Status: New => Confirmed

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-05-23 Thread dino99
** Tags added: systemd-boot

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

Title:
  click-apparmor 0.2.2 failed to upgrade: subprocess new pre-removal
  script returned error exit status 5

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2014-05-23 Thread dino99
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.

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

Title:
  click-apparmor 0.2.2 failed to upgrade: subprocess new pre-removal
  script returned error exit status 5

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs