package tomcat8 8.5.21-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat8 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
While trying to update in 17.10 ubuntu version I am getting this error.
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: tomcat8 8.5.21-1ubuntu1
ProcVersionSign
Uname: Linux 4.13.0-25-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Sun Jan 28 19:29:56 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-10-14 (105 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitec
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageV
dpkg 1.18.24ubuntu1
apt 1.5.1
SourcePackage: tomcat8
Title: package tomcat8 8.5.21-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to artful on 2018-01-09 (19 days ago)
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
tags: | removed: need-duplicate-check |
From your log: policy. d': No such file or directory
chown: cannot access '/etc/tomcat8/
And it seems config files were manually removed that are needed: conffile. .etc.tomcat8. catalina. properties: [deleted] conffile. .etc.tomcat8. context. xml: [deleted] conffile. .etc.tomcat8. jaspic- providers. xml: [deleted] conffile. .etc.tomcat8. logging. properties: [deleted] conffile. .etc.tomcat8. policy. d.01system. policy: [deleted] conffile. .etc.tomcat8. policy. d.02debian. policy: [deleted] conffile. .etc.tomcat8. policy. d.03catalina. policy: [deleted] conffile. .etc.tomcat8. policy. d.04webapps. policy: [deleted] conffile. .etc.tomcat8. policy. d.50local. policy: [deleted] conffile. .etc.tomcat8. server. xml: [deleted] conffile. .etc.tomcat8. tomcat- users.xml: [deleted] conffile. .etc.tomcat8. web.xml: [deleted]
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
With that the service cna't start properly anymore, but not due to a bug but due to broken local configuration as it seems to me.