Thanks for the bug report, please can you confirm that an ssh server hasn't previously been installed on this machine, and /etc/ssh been manually deleted?
Thanks. Log extract: Log started: 2011-09-21 09:41:43 Selecting previously deselected package openssh-server. (Reading database ... (Reading database ... 5% ... (Reading database ... 100% (Reading database ... currently installed 252218 files and directories.) Decompression is openssh-server (from .../openssh-server_1% 3a5.3p1-3ubuntu7_i386.deb) ... Treatment of trigger for ureadahead ... Treatment of trigger for ufw ... Treatment of trigger for man-db ... Installing openssh-server (1:5.3 p1-3ubuntu7) ... /var/lib/dpkg/info/openssh-server.postinst: 459: cannot create /etc/ssh/sshd_config: Directory nonexistent dpkg: error processing openssh-server (-configure): subprocess installed post-installation script returned error status 2 ** Changed in: openssh (Ubuntu) Importance: Undecided => Medium ** 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/855366 Title: package openssh-server 1:5.3p1-3ubuntu7 failed to install/upgrade: procedure installed post-installation script returned error code 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/855366/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs