[Bug 1685022] Re: package openssh-server 1:7.2p2-4ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Launchpad Bug Tracker 1685022 at bugs.launchpad.net
Fri May 12 11:36:56 UTC 2017


This bug was fixed in the package openssh - 1:7.5p1-3

---------------
openssh (1:7.5p1-3) experimental; urgency=medium

  * Fix debian/adjust-openssl-dependencies to account for preferring
    libssl1.0-dev.
  * Adjust OpenSSL dependencies for openssh-client-ssh1 too.
  * Fix purge failure when /etc/ssh has already somehow been removed
    (LP: #1682817).
  * Ensure that /etc/ssh exists before trying to create /etc/ssh/sshd_config
    (LP: #1685022).

 -- Colin Watson <cjwatson at debian.org>  Tue, 02 May 2017 13:51:27 +0100

** Changed in: openssh (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  package openssh-server 1:7.2p2-4ubuntu2.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 2

Status in openssh package in Ubuntu:
  Fix Released

Bug description:
  I messed up the ssh_config file and I need the stock config files for
  ssh server.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openssh-server 1:7.2p2-4ubuntu2.1
  ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
  Uname: Linux 4.4.0-72-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.5
  AptOrdering:
   openssh-server: Install
   openssh-server: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Thu Apr 20 14:13:40 2017
  DuplicateSignature:
   package:openssh-server:1:7.2p2-4ubuntu2.1
   Setting up openssh-server (1:7.2p2-4ubuntu2.1) ...
   /var/lib/dpkg/info/openssh-server.postinst: 164: /var/lib/dpkg/info/openssh-server.postinst: cannot create /etc/ssh/sshd_config: Directory nonexistent
   dpkg: error processing package openssh-server (--configure):
    subprocess installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  InstallationDate: Installed on 2017-04-03 (17 days ago)
  InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.19
  SourcePackage: openssh
  Title: package openssh-server 1:7.2p2-4ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1685022/+subscriptions



More information about the foundations-bugs mailing list