I have two Ubuntu 16.04.2 LTS servers on AWS. I wanted to patch them, but I'm getting an error that I can't figure out next steps.
sudo apt-get upgrade gives me:
Setting up supervisor (3.2.0-2ubuntu0.1) ...
insserv: script supervisor: service supervisor already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package supervisor (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
supervisor
E: Sub-process /usr/bin/dpkg returned an error code (1)
Based on other similar errors, I've tried:
sudo apt-get clean && sudo apt-get autoremove
sudo apt-get -f install
sudo dpkg --configure -a
These server are far from "clean". They have been created as copies of copies. In terms of software, they have PHP 7.0, Laravel and are running Laravel queues under supervisor. But I don't know if that matters for this.
I've looked on the supervisor issues list, but I'm not finding any issues that seem to apply to me.