Tomcat Setting up tomcat8 (8.0.32-1ubuntu1.4) ... dpkg: error processing package tomcat8 (--configure): subprocess installed post-installation script returned error exit status 128
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat8 (Debian) |
Fix Released
|
Unknown
|
|||
tomcat8 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When upgrading from tomcat 8.0.32-1ubuntu1.3 to 8.0.32-1ubuntu1.4 I get an error and I can't continue with the installation
Setting up tomcat8 (8.0.32-1ubuntu1.4) ...
dpkg: error processing package tomcat8 (--configure):
subprocess installed post-installation script returned error exit status 128
It's the same error that can be found in debian with bug 853173 at (https:/
So far the only solution has been to remove the configuration files until the install have been done:
#backup
mv /etc/tomcat8 /etc/tomcat8_old
mv /etc/default/
#create dummy folders for the installer
mkdir -p /etc/tomcat8/
mkdir -p /etc/tomcat8/
#install
apt-get install tomcat8
#delete new conf files and place the previous ones
rm -Rf /etc/tomcat8 /etc/default/
cp -a /etc/default/
cp -a /etc/tomcat8_old /etc/tomcat8
The output of lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
no longer affects: | tomcat7 |
description: | updated |
Changed in tomcat8 (Debian): | |
status: | Unknown → New |
Changed in tomcat8 (Debian): | |
status: | New → Fix Released |
The fix in that new version is actually supposed to fix just one kind of such an issue. tomcat8
* Fix an upgrade error when JAVA_OPTS in /etc/default/
contains the '%' character (LP: #1666570).
Thanks for your report, and the workaround.
But to understand what in particular is breaking in your case we need to understand what is actually going on.
You could follow comment 10 on the bug you linked [1] and provide that info.
[1]: https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 853173# 10