I suggest something like:

sudo dpkg --purge openssh-server
sudo rm -f /etc/rc*/*02ssh /etc/init.d/ssh
sudo apt-get install openssh-server

With the release of 16.04 LTS, some packages, including openssh-server,
are started via systemd unit files rather than the sysv-init
compatibility scripts. Once your sshd is installed again, check the
output of e.g. systemctl list-units '*ssh*'

Thanks

** Changed in: openssh (Ubuntu)
       Status: New => Invalid

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

Title:
  package openssh-server 1:7.2p2-4ubuntu2.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 102

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

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

Reply via email to