Public bug reported: When installing libapache2-mod-shib2 on 11.10 for the first time, I get the following: ========================================================================= reagand@ws-dev-www-01:/var/www/ws-dev-www/docroot$ sudo apt-get install libapache2-mod-shib2 [sudo] password for reagand: Reading package lists... Done Building dependency tree Reading state information... Done libapache2-mod-shib2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up libapache2-mod-shib2 (2.4.3+dfsg-1ubuntu1) ... update-rc.d: error: expected runlevel [0-9S] (did you forget "." ?) usage: update-rc.d [-n] [-f] <basename> remove update-rc.d [-n] <basename> defaults [NN | SS KK] update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] . update-rc.d [-n] <basename> disable|enable [S|2|3|4|5] -n: not really -f: force
The disable|enable API is not stable and might change in the future. dpkg: error processing libapache2-mod-shib2 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: libapache2-mod-shib2 E: Sub-process /usr/bin/dpkg returned an error code (1) ============================================================== It sounds like this bug: https://bugs.launchpad.net/ubuntu/+source /shibboleth-sp2/+bug/884402 which was fixed in shibboleth-sp2 - 2.4.3 +dfsg-2ubuntu1. But that package is not available for 11.10. According to packages.ubuntu.com it is available for 12.04, but I can't upgrade to that yet. Following the instructions from https://bugs.launchpad.net/ubuntu/+source/shibboleth-sp2/+bug/884402/comments/6 allowed me to install with this output: =================================== reagand@ws-dev-www-01:~$ sudo apt-get install libapache2-mod-shib2 Reading package lists... Done Building dependency tree Reading state information... Done libapache2-mod-shib2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 164 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up libapache2-mod-shib2 (2.4.3+dfsg-1ubuntu1) ... update-rc.d: warning: shibd stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none) Starting Shibboleth 2 daemon: shibd. =================================== So, apparently, the problem is fixed in 12.04, but still broken on 11.10. If I could upgrade to 12.04, I would. But I can't do that yet. ** Affects: shibboleth-sp2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1035000 Title: libapache2-mod-shib2 will not install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shibboleth-sp2/+bug/1035000/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs