Thank you for taking the time to file a bug report. It looks like the installer had issues trying to a file during the post install. Does the /etc/ssh directory exist? what about sshd_config?
Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'. However, if you believe that this is really a bug in Ubuntu, then we would be grateful if you would provide a more complete description of the problem with steps to reproduce, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to "New". For local configuration issues, you can find assistance here: http://www.ubuntu.com/support/community ** Changed in: openssh (Ubuntu) Status: New => Incomplete ** Changed in: openssh (Ubuntu) Importance: Undecided => Critical ** Changed in: openssh (Ubuntu) Importance: Critical => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1744033 Title: package openssh-server 1:6.6p1-2ubuntu2.8 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回了错误号 2 Status in openssh package in Ubuntu: Incomplete Bug description: my system is ubuntu 14.04 LTS ProblemType: Package DistroRelease: Ubuntu 14.04 Package: openssh-server 1:6.6p1-2ubuntu2.8 ProcVersionSignature: Ubuntu 4.2.0-42.49~14.04.1-generic 4.2.8-ckt12 Uname: Linux 4.2.0-42-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia ApportVersion: 2.14.1-0ubuntu3.27 AptOrdering: openssh-server: Install openssh-server: Configure Architecture: amd64 Date: Thu Jan 18 18:54:28 2018 DuplicateSignature: package:openssh-server:1:6.6p1-2ubuntu2.8:子进程 已安装 post-installation 脚本 返回了错误号 2 ErrorMessage: 子进程 已安装 post-installation 脚本 返回了错误号 2 InstallationDate: Installed on 2016-09-11 (494 days ago) InstallationMedia: Ubuntu 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1) RelatedPackageVersions: dpkg 1.17.5ubuntu5.7 apt 1.0.1ubuntu2.17 SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 1: /etc/ssh/sshd_config: No such file or directory SourcePackage: openssh Title: package openssh-server 1:6.6p1-2ubuntu2.8 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回了错误号 2 UpgradeStatus: Upgraded to trusty on 2018-01-04 (13 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1744033/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp