Bug#758600: shibboleth-sp2-utils: postinst fails on initial installation

Luca Bruno lucab at debian.org
Mon Nov 10 11:42:41 UTC 2014

severity 758600 serious

On Tue, 19 Aug 2014 09:58:47 +0300 Mika Tiainen <mikat at iki.fi> wrote:

> Installing libapache2-mod-shib2 from wheezy backports. shibboleth-sp2-utils
> postinst fails on initial installation, because it tries to enable the
> apache module, but libapache2-mod-shib2 is not yet configured so
> /etc/apache2/mods-available/ contains only shib2.load.dpkg-new.

It also looks like it is missing some dependencies.
In short, I'm trying to use shibboleth without apache (via nginx), but the 
backported package assumes that apache2 is installed (thus a2enmod available).
Installation then fails as follow:

> apt-get install -t wheezy-backports shibboleth-sp2-common
> shibboleth-sp2-utils libshibsp6 liblog4shib1 libsaml8
> opensaml2-schemas libshibsp-plugins
> [...]
> /var/lib/dpkg/info/shibboleth-sp2-utils.postinst: 24:
> /var/lib/dpkg/info/shibboleth-sp2-utils.postinst: a2enmod: not found
> dpkg: error processing shibboleth-sp2-utils (--configure):
> subprocess installed post-installation script returned error exit status 127
> Errors were encountered while processing:
> shibboleth-sp2-utils
> E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm raising the severity of this, since the backported package is currently 
unusable in this case, due to the hard-coupled implicit dependency on Apache.

Russ, can you please revert/modify your a2enmod changes for the ~bpo revision?

I'd like to use the daemon part of shibboleth-sp2-utils in a standalone way,
and vanilla package from jessie seems to be better in that regard.

Cheers, Luca

 .''`.  ** Debian GNU/Linux **  | Luca Bruno (kaeso)
: :'  :   The Universal O.S.    | lucab (AT) debian.org
`. `'`                          | GPG Key ID: 0x4F3BBEBF
  `-     http://www.debian.org 	| Debian GNU/Linux Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-shibboleth-devel/attachments/20141110/2401d634/attachment.sig>

More information about the Pkg-shibboleth-devel mailing list