Public bug reported: Apt-get fails to upgrade cgmanager package and dies with the following error:
Preparing to unpack .../cgmanager_0.34-1_amd64.deb ... /usr/sbin/invoke-rc.d: 580: /usr/sbin/invoke-rc.d: Syntax error: "fi" unexpected (expecting "then") dpkg: warning: subprocess old pre-removal script returned error exit status 2 dpkg: trying script from the new package instead ... /usr/sbin/invoke-rc.d: 580: /usr/sbin/invoke-rc.d: Syntax error: "fi" unexpected (expecting "then") dpkg: error processing archive /var/cache/apt/archives/cgmanager_0.34-1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 2 /usr/sbin/invoke-rc.d: 580: /usr/sbin/invoke-rc.d: Syntax error: "fi" unexpected (expecting "then") dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 2 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: cgmanager 0.33-2 ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1 Uname: Linux 3.16.0-28-generic x86_64 ApportVersion: 2.15.1-0ubuntu1 Architecture: amd64 CurrentDesktop: Unity Date: Wed Jan 7 10:06:18 2015 InstallationDate: Installed on 2014-12-11 (27 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141210) SourcePackage: cgmanager UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: cgmanager (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1408349 Title: update fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1408349/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs