libapache2-mod-shib2 will not install

Bug #1035000 reported by David Reagan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shibboleth-sp2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.