[Bug 1486107] Re: package openssh-server 1:6.6p1-2ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Jan jan at treehouse.nl
Thu Aug 20 10:00:03 UTC 2015


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
Server Team, which is subscribed to openssh in 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



More information about the Ubuntu-server-bugs mailing list