I tried purging and reinstalling openssh-server, but that failed again with the same error.
I then rebooted the machine and was able to then successfully run apt-get -f install to fix the package installation. Subsequently re-installing the package worked without a problem.
Perhaps there was a temporary file causing a problem somewhere, which was automatically cleaned out on reboot? Something leftover from the upgrade to xenial?
Hi Robie,
I tried purging and reinstalling openssh-server, but that failed again with the same error.
I then rebooted the machine and was able to then successfully run apt-get -f install to fix the package installation. Subsequently re-installing the package worked without a problem.
Perhaps there was a temporary file causing a problem somewhere, which was automatically cleaned out on reboot? Something leftover from the upgrade to xenial?