It seems the same problem for both packages.
I debugged the confugure script like that:

$ sudo dpkg -D3 --configure openssh-server
Setting up openssh-server (1:6.2p2-6ubuntu0.2) ...
D000002: fork/exec /var/lib/dpkg/info/openssh-server.postinst ( configure 
1:6.2p2-6ubuntu0.1 )
start: Job is already running: ssh
invoke-rc.d: initscript ssh, action "restart" failed.
dpkg: error processing openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 openssh-server

so configuration fails on this command inside 
/var/lib/dpkg/info/openssh-server.postinst (line 302 for me)
invoke-rc.d ssh restart

Debug output using this command:
sudo bash -x invoke-rc.d ssh restart

at that line:
+ test x/usr/sbin/policy-rc.d '!=' x

show me the bug: the executable /usr/sbin/policy-rc.d disappeared
somehow.

** Attachment added: "invoke-rc.d.txt"
   
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1297774/+attachment/4062930/+files/invoke-rc.d.txt

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

Title:
  package openssh-server 1:6.2p2-6ubuntu0.2 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/dpkg/+bug/1297774/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to