When I upgrade to 16.10 I get some errors and it failed to upgrade. Then one of the forums suggested to do
sudo apt-get update sudo apt-get install -f sudo apt-get reboot
But on the second step (
install -f), it errors out with the following error:
Setting up tomcat8 (8.0.37-1) ... /var/lib/dpkg/info/tomcat8.config: 5: /etc/default/tomcat8: c: not found dpkg: error processing package tomcat8 (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: tomcat8 E: Sub-process /usr/bin/dpkg returned an error code (1)
Somehow Tomcat8 installation is messed up and i cannot even remove tomcat8 or complete the upgrade.
Any future updates / upgrades are also failing.
Never had the problem with any earlier versions of Ubuntu.