Hi,
you reported this on tomcat8 8.0.32-1ubuntu1.4 on Xenial.
But on Xenial this is using not a systemd service but a generated from init 
script.

Therefore the file /etc/systemd/system/tomcat8.service does not exist there.
But it does in your case, here from your error log:
systemd-sysv-generator[8168]: Configuration file 
/etc/systemd/system/tomcat8.service is marked executable. Please remove 
executable permission bits. Proceeding anyway.
systemd[1]: Configuration file /etc/systemd/system/tomcat8.service is marked 
executable. Please remove executable permission bits. Proceeding anyway.
systemd[1]: tomcat8.service: Service has Restart= setting other than no, which 
isn't allowed for Type=oneshot services. Refusing.

The latter is a fatal error and breaking it.

I'd expect only a generated service file which is working fine for me, you can 
output what is used via:
$ systemctl cat tomcat8

Also
$ systemctl status tomcat8
should say ... Loaded: loaded (/etc/init.d/tomcat8

You could check where this file comes from by:
dpkg -S /etc/systemd/system/tomcat8.service

If this is from a package according to dpdk please let us know, but
according to my apt-file check it is not.

Due to all that the package upgrade fails and that blocks your upgrades
in general.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1740424

Title:
  package tomcat8 8.0.32-1ubuntu1.4 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1740424/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to