package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat7 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
it happened when do
sudo apt-get update
and sudo apt-get install crunch
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: tomcat7 7.0.68-1ubuntu0.1
ProcVersionSign
Uname: Linux 4.10.0-35-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
AptOrdering:
crunch: Install
tomcat7: Configure
crunch: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Fri Oct 6 09:35:11 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-06-27 (100 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: tomcat7
Title: package tomcat7 7.0.68-1ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi,
part of this pulled in an update/install of tomctat 7.
That then failed to start.
From your log:
See "systemctl status tomcat7.service" and "journalctl -xe" for details.
[...]
Oct 06 09:35:11 sarath tomcat7[4823]: * no JDK or JRE found - ple...E
So I'd recommend doing exactly as suggested, run "systemctl status tomcat7.service" for a more detailed error message.
It likely is around a JDK being missing.
That can happen if you have a non default JDK installed, you then need to adapt tomcat to know about that. See [1] for more and some guidance how to do so.
See [1] for some details
[1]: https:/ /askubuntu. com/questions/ 154953/ specify- jdk-for- tomcat7