Thanks for filing this bug in Ubuntu. There are some interesting warnings in the logs you provided:
WARN: uid is 0 but '/' is owned by 1004 WARN: / is group writable! and Setting up openssh-server (1:7.2p2-4ubuntu2.6) ... Unsafe symlinks encountered in /var/run/sshd, refusing. More details should be present in /var/log/syslog, /var/log/auth.log and/or in the output of journalctl -xe. Could you please inspect those and report back, or attach them to this bug? ** Changed in: openssh (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/1814586 Title: package openssh-server 1:7.2p2-4ubuntu2.6 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/openssh/+bug/1814586/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs