I'm having similar problems with this package on 2 different servers. When updating, dpkg hangs on the post install script of the openssh- server package. The process becomes defunct and stops responding.
I edited the /var/lib/dpkg/info/openssh-server.postinst file and adjusted set -e to set -x to see the output. When running dpkg --configure -a, it hangs again when trying to restart the SSH service: + [ -d /run/systemd/system ] + [ -x /etc/init.d/ssh ] + [ ! -e /etc/init/ssh.conf ] + [ -n 1:6.6p1-2ubuntu2 ] + _dh_action=restart + invoke-rc.d ssh restart This step just never happens. The problem is the same on both servers, the ssh restart step hangs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1486107 Title: package openssh-server 1:6.6p1-2ubuntu2.3 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/1486107/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
