Bug#758600: shibboleth-sp2-utils: postinst fails on initial installation
Mika Tiainen
mikat at iki.fi
Tue Aug 19 06:58:47 UTC 2014
Package: shibboleth-sp2-utils
Version: 2.5.3+dfsg-1~bpo70+1
Severity: normal
Hi,
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.
Attached is a log of the install.
-- System Information:
Debian Release: 7.6
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages shibboleth-sp2-utils depends on:
ii adduser 3.113+nmu3
ii libc6 2.13-38+deb7u3
ii libfcgi0ldbl 2.4.0-8.1
ii libgcc1 1:4.7.2-5
ii liblog4shib1 1.0.4-1
ii libsaml8 2.5.3-2~bpo70+1
ii libshibsp-plugins 2.5.3+dfsg-1~bpo70+1
ii libshibsp6 2.5.3+dfsg-1~bpo70+1
ii libstdc++6 4.7.2-5
ii libxerces-c3.1 3.1.1-3
ii libxmltooling6 1.5.3-2~bpo70+1
Versions of packages shibboleth-sp2-utils recommends:
ii openssl 1.0.1e-2+deb7u12
shibboleth-sp2-utils suggests no packages.
-- no debconf information
-------------- next part --------------
mika at y-moodle:~$ sudo aptitude install -t wheezy-backports libapache2-mod-shib2
The following NEW packages will be installed:
libapache2-mod-shib2 libfcgi0ldbl{a} liblog4shib1{a} libmemcached10{a}
libodbc1{a} libsaml8{a} libshibsp-plugins{a} libshibsp6{a}
libxerces-c3.1{a} libxml-security-c17{a} libxmltooling6{a}
opensaml2-schemas{a} shibboleth-sp2-common{a} shibboleth-sp2-utils{a}
xmltooling-schemas{a}
0 packages upgraded, 15 newly installed, 0 to remove and 34 not upgraded.
Need to get 5?547 kB of archives. After unpacking 28,8 MB will be used.
Do you want to continue? [Y/n/?]
Get: 1 http://ftp.fi.debian.org/debian/ wheezy/main libmemcached10 amd64 1.0.8-1
[117 kB]
Get: 2 http://ftp.fi.debian.org/debian/ wheezy/main libodbc1 amd64 2.2.14p2-5 [2
52 kB]
Get: 3 http://ftp.fi.debian.org/debian/ wheezy/main libxerces-c3.1 amd64 3.1.1-3
[1?139 kB]
Get: 4 http://ftp.fi.debian.org/debian/ wheezy/main liblog4shib1 amd64 1.0.4-1 [
95,7 kB]
Get: 5 http://ftp.fi.debian.org/debian/ wheezy-backports/main libxml-security-c1
7 amd64 1.7.2-2~bpo70+1 [290 kB]
Get: 6 http://ftp.fi.debian.org/debian/ wheezy-backports/main libxmltooling6 amd
64 1.5.3-2~bpo70+1 [613 kB]
Get: 7 http://ftp.fi.debian.org/debian/ wheezy-backports/main libsaml8 amd64 2.5
.3-2~bpo70+1 [940 kB]
Get: 8 http://ftp.fi.debian.org/debian/ wheezy-backports/main opensaml2-schemas
all 2.5.3-2~bpo70+1 [25,8 kB]
Get: 9 http://ftp.fi.debian.org/debian/ wheezy-backports/main shibboleth-sp2-com
mon all 2.5.3+dfsg-1~bpo70+1 [48,8 kB]
Get: 10 http://ftp.fi.debian.org/debian/ wheezy-backports/main xmltooling-schema
s all 1.5.3-2~bpo70+1 [15,9 kB]
Get: 11 http://ftp.fi.debian.org/debian/ wheezy-backports/main libshibsp6 amd64
2.5.3+dfsg-1~bpo70+1 [1?307 kB]
Get: 12 http://ftp.fi.debian.org/debian/ wheezy/main libfcgi0ldbl amd64 2.4.0-8.
1 [281 kB]
Get: 13 http://ftp.fi.debian.org/debian/ wheezy-backports/main libshibsp-plugins
amd64 2.5.3+dfsg-1~bpo70+1 [247 kB]
Get: 14 http://ftp.fi.debian.org/debian/ wheezy-backports/main shibboleth-sp2-ut
ils amd64 2.5.3+dfsg-1~bpo70+1 [103 kB]
Get: 15 http://ftp.fi.debian.org/debian/ wheezy-backports/main libapache2-mod-sh
ib2 amd64 2.5.3+dfsg-1~bpo70+1 [72,2 kB]
Fetched 5?547 kB in 0s (6?051 kB/s)
Selecting previously unselected package libmemcached10:amd64.
(Reading database ... 34023 files and directories currently installed.)
Unpacking libmemcached10:amd64 (from .../libmemcached10_1.0.8-1_amd64.deb) ...
Selecting previously unselected package libodbc1:amd64.
Unpacking libodbc1:amd64 (from .../libodbc1_2.2.14p2-5_amd64.deb) ...
Selecting previously unselected package libxerces-c3.1:amd64.
Unpacking libxerces-c3.1:amd64 (from .../libxerces-c3.1_3.1.1-3_amd64.deb) ...
Selecting previously unselected package liblog4shib1:amd64.
Unpacking liblog4shib1:amd64 (from .../liblog4shib1_1.0.4-1_amd64.deb) ...
Selecting previously unselected package libxml-security-c17:amd64.
Unpacking libxml-security-c17:amd64 (from .../libxml-security-c17_1.7.2-2~bpo70+
1_amd64.deb) ...
Selecting previously unselected package libxmltooling6:amd64.
Unpacking libxmltooling6:amd64 (from .../libxmltooling6_1.5.3-2~bpo70+1_amd64.de
b) ...
Selecting previously unselected package libsaml8:amd64.
Unpacking libsaml8:amd64 (from .../libsaml8_2.5.3-2~bpo70+1_amd64.deb) ...
Selecting previously unselected package opensaml2-schemas.
Unpacking opensaml2-schemas (from .../opensaml2-schemas_2.5.3-2~bpo70+1_all.deb)
...
Selecting previously unselected package shibboleth-sp2-common.
Unpacking shibboleth-sp2-common (from .../shibboleth-sp2-common_2.5.3+dfsg-1~bpo
70+1_all.deb) ...
Selecting previously unselected package xmltooling-schemas.
Unpacking xmltooling-schemas (from .../xmltooling-schemas_1.5.3-2~bpo70+1_all.de
b) ...
Selecting previously unselected package libshibsp6:amd64.
Unpacking libshibsp6:amd64 (from .../libshibsp6_2.5.3+dfsg-1~bpo70+1_amd64.deb)
...
Selecting previously unselected package libfcgi0ldbl.
Unpacking libfcgi0ldbl (from .../libfcgi0ldbl_2.4.0-8.1_amd64.deb) ...
Selecting previously unselected package libshibsp-plugins:amd64.
Unpacking libshibsp-plugins:amd64 (from .../libshibsp-plugins_2.5.3+dfsg-1~bpo70
+1_amd64.deb) ...
Selecting previously unselected package shibboleth-sp2-utils.
Unpacking shibboleth-sp2-utils (from .../shibboleth-sp2-utils_2.5.3+dfsg-1~bpo70
+1_amd64.deb) ...
Selecting previously unselected package libapache2-mod-shib2.
Unpacking libapache2-mod-shib2 (from .../libapache2-mod-shib2_2.5.3+dfsg-1~bpo70
+1_amd64.deb) ...
Processing triggers for man-db ...
Setting up libmemcached10:amd64 (1.0.8-1) ...
Setting up libodbc1:amd64 (2.2.14p2-5) ...
Setting up libxerces-c3.1:amd64 (3.1.1-3) ...
Setting up liblog4shib1:amd64 (1.0.4-1) ...
Setting up libxml-security-c17:amd64 (1.7.2-2~bpo70+1) ...
Setting up libxmltooling6:amd64 (1.5.3-2~bpo70+1) ...
Setting up libsaml8:amd64 (2.5.3-2~bpo70+1) ...
Setting up opensaml2-schemas (2.5.3-2~bpo70+1) ...
Setting up shibboleth-sp2-common (2.5.3+dfsg-1~bpo70+1) ...
Setting up xmltooling-schemas (1.5.3-2~bpo70+1) ...
Setting up libshibsp6:amd64 (2.5.3+dfsg-1~bpo70+1) ...
Setting up libfcgi0ldbl (2.4.0-8.1) ...
Setting up libshibsp-plugins:amd64 (2.5.3+dfsg-1~bpo70+1) ...
Setting up shibboleth-sp2-utils (2.5.3+dfsg-1~bpo70+1) ...
Adding system user for Shibboleth daemon
ERROR: Module shib2 does not exist!
dpkg: error processing shibboleth-sp2-utils (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache2-mod-shib2:
libapache2-mod-shib2 depends on shibboleth-sp2-utils (>= 2.5); however:
Package shibboleth-sp2-utils is not configured yet.
dpkg: error processing libapache2-mod-shib2 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
shibboleth-sp2-utils
libapache2-mod-shib2
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up shibboleth-sp2-utils (2.5.3+dfsg-1~bpo70+1) ...
ERROR: Module shib2 does not exist!
dpkg: error processing shibboleth-sp2-utils (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache2-mod-shib2:
libapache2-mod-shib2 depends on shibboleth-sp2-utils (>= 2.5); however:
Package shibboleth-sp2-utils is not configured yet.
dpkg: error processing libapache2-mod-shib2 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
shibboleth-sp2-utils
libapache2-mod-shib2
mika at y-moodle:~$
More information about the Pkg-shibboleth-devel
mailing list