Bug#853173: tomcat8: Failed tomcat8 upgrade with exit status 128
Dave Sherohman
Dave.Sherohman at ub.lu.se
Mon Jan 30 12:57:12 UTC 2017
Subject: tomcat8: Failed tomcat8 upgrade with exit status 128
Package: tomcat8
Version: 8.0.14-1+deb8u6
Severity: important
Dear Maintainer,
* What led up to the situation?
Attempted to upgrade tomcat8 from 8.0.14-1+deb8u5 to 8.0.14-1+deb8u6
* What exactly did you do (or not do) that was effective (or
ineffective)?
apt-get update && apt-get upgrade resulted in the output:
--- cut here ---
Setting up tomcat8 (8.0.14-1+deb8u6) ...
dpkg: error processing package tomcat8 (--configure):
subprocess installed post-installation script returned error exit
status 128
Errors were encountered while processing:
tomcat8
E: Sub-process /usr/bin/dpkg returned an error code (1)
--- cut here ---
`apt-get remove tomcat8 ; apt-get clean ; apt-get install tomcat8` and
multiple
invocations of `apt-get -f install` have provided the same results.
I've tracked the source of the error code 128 as far as line 92 of
/usr/share/debconf/frontend, indicating that the 128 is generated within
$confmodule, but I'm not familiar enough with the internals of Debian
package
management to trace it any further than that at this time.
* What was the outcome of this action?
Incomplete package upgrade. Error messages as given above.
As you can see below, the tomcat8-admin, tomcat8-common, and libtomcat8-java
packages all upgraded successfully to 8.0.14-1+deb8u6. It is only the
'bare'
tomcat8 package with the startup scripts which failed.
* What outcome did you expect instead?
Successful upgrade of the package.
-- System Information:
Debian Release: 8.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages tomcat8 depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.56
ii tomcat8-common 8.0.14-1+deb8u6
ii ucf 3.0030
Versions of packages tomcat8 recommends:
ii authbind 2.1.1
Versions of packages tomcat8 suggests:
pn libtcnative-1 <none>
ii tomcat8-admin 8.0.14-1+deb8u6
pn tomcat8-docs <none>
pn tomcat8-examples <none>
pn tomcat8-user <none>
-- Configuration Files:
/etc/tomcat8/catalina.properties [Errno 13] Permission denied:
u'/etc/tomcat8/catalina.properties'
/etc/tomcat8/context.xml [Errno 13] Permission denied:
u'/etc/tomcat8/context.xml'
/etc/tomcat8/logging.properties [Errno 13] Permission denied:
u'/etc/tomcat8/logging.properties'
/etc/tomcat8/policy.d/01system.policy [Errno 13] Permission denied:
u'/etc/tomcat8/policy.d/01system.policy'
/etc/tomcat8/policy.d/02debian.policy [Errno 13] Permission denied:
u'/etc/tomcat8/policy.d/02debian.policy'
/etc/tomcat8/policy.d/03catalina.policy [Errno 13] Permission denied:
u'/etc/tomcat8/policy.d/03catalina.policy'
/etc/tomcat8/policy.d/04webapps.policy [Errno 13] Permission denied:
u'/etc/tomcat8/policy.d/04webapps.policy'
/etc/tomcat8/policy.d/50local.policy [Errno 13] Permission denied:
u'/etc/tomcat8/policy.d/50local.policy'
/etc/tomcat8/server.xml [Errno 13] Permission denied:
u'/etc/tomcat8/server.xml'
/etc/tomcat8/tomcat-users.xml [Errno 13] Permission denied:
u'/etc/tomcat8/tomcat-users.xml'
/etc/tomcat8/web.xml [Errno 13] Permission denied: u'/etc/tomcat8/web.xml'
-- debconf information:
tomcat8/groupname: tomcat8
tomcat8/javaopts:
-Dconfiguration.xml=/var/lib/tomcat8/conf/pure/lund-configuration.xml
-Djava.awt.headless=true -Xms16G -Xmx16G -XX:+UseConcMarkSweepGC
-XX:+UseNUMA -XX:+UseCompressedOops -Ddb.user=lucris
-Ddb.password=mZ2ZZnOG48sZ2J3yToFS
-Ddb.url=jdbc:postgresql://localhost:5432/pure
-XX:ReservedCodeCacheSize=512m
-Ddk.atira.pure.commons.shared.util.GlobalRuntimeInfo.environment=test
-Dmount.points.defaultUrl=https://ludicris.lub.lu.se
-Dmount.points.fullUrl.admin=https://ludicris.lub.lu.se/admin
-Dmount.points.fullUrl.ws=https://ludicris.lub.lu.se/ws
-Dmount.points.fullUrl.portal=http://ludicris.lub.lu.se/portal
-Dpure.mail.host=mail.lu.se
-Dpure.mail.forced-recipient-of-all-email=noreply at atira.dk
-Dsaml2authenticationmechanism.sp_entity_id=https://ludicris.lub.lu.se/Shibboleth
-Dsaml2authenticationmechanism.certificate-pem=-----BEGIN CERTIFICATE-----
tomcat8/username: tomcat8
More information about the pkg-java-maintainers
mailing list