[Bug 1740424] Re: package tomcat8 8.0.32-1ubuntu1.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
[Expired for tomcat8 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: tomcat8 (Ubuntu) Status: Incomplete => Expired -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1740424] Re: package tomcat8 8.0.32-1ubuntu1.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
There must be more output to that when not wrapped. It seems it complains about a bad Restart setting and therefor it gets into "Loaded: error (Reason: Invalid argument)" Now the tomcat8 in Xenial doesn't even have a service file that could be broken. It still uses a sysV init file and systemd picks it up via generators. Did you yourself add a tomcat8 service file? Is there a tomcat8.service file somewhere? If so who owns it: $ dpkg -S What is the source of your tomcat8 package and its content? $ apt-cache policy tomcat8 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1740424] Re: package tomcat8 8.0.32-1ubuntu1.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
When I run pramod@darkc0de:~$ systemctl tomcat8 Unknown operation tomcat8. pramod@darkc0de:~$ systemctl status tomcat8 ● tomcat8.service - Tomcat8 script that runs a shell script at boot Loaded: error (Reason: Invalid argument) Active: inactive (dead) Jan 19 00:32:39 darkc0de systemd[1]: tomcat8.service: Service has Restart= setti Jan 19 00:32:39 darkc0de systemd[1]: tomcat8.service: Service has Restart= setti Jan 19 00:32:40 darkc0de systemd[1]: tomcat8.service: Service has Restart= setti Jan 19 00:32:40 darkc0de systemd[1]: tomcat8.service: Service has Restart= setti -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1740424] Re: package tomcat8 8.0.32-1ubuntu1.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Thank you for taking the time to report this bug and helping to make Ubuntu better. On upgrading a service this service has to be restarted to pick up the fixes. Rather rarely a real issue occurs that the newer version does e.g. fail with the formerly working configuration. But most of the time what happens is, that a service was installed, but stays unconfigured or experimented with but left in a broken state. Now on any update of the related packages that service has to be restarted, but since its config is incomplete/faulty it fails to restart. Therefore the update of that package has to consider itself incomplete. Depending on your particular case there are two solutions: - either remove the offending package if you don't want to continue using it. - Or if you do want to keep it please fix the configuration so that re-starting the service will work. Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete. If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New. ** Changed in: tomcat8 (Ubuntu) Status: New => Incomplete -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1740424] Re: package tomcat8 8.0.32-1ubuntu1.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1740424] Re: package tomcat8 8.0.32-1ubuntu1.4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
** Tags removed: need-duplicate-check -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs