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

Andreas Hasenack andreas at canonical.com
Mon Jun 3 21:18:17 UTC 2019


Thanks for filing this bug in Ubuntu.

The error message is:
SSHDConfig:
 Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: /etc/ssh/sshd_config: line 88: Bad configuration option: Y
 /etc/ssh/sshd_config: terminating, 1 bad configuration options

That means that there is a configuration error in your
/etc/ssh/sshd_config file, specifically on line 80. That file isn't
attached to this bug report, so I cannot tell you what is wrong.

What you should do is open that file, fix what's wrong in line 80, and
then you can issue these commands:

sudo apt update
sudo apt -f install

That should retry the operation and this time, if there are no other
errors, it should succeed.

I'll mark this bug as invalid, since it's a local configuration issue.
If you disagree, then feel free to reopen the bug, but please state the
reasons why you think it's a valid bug, and steps to reproduce it.

Thanks!


** Changed in: openssh (Ubuntu)
       Status: New => Invalid

-- 
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/1831335

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

Status in openssh package in Ubuntu:
  Invalid

Bug description:
  Can not this be fixed?

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openssh-server 1:7.2p2-4ubuntu2.8
  ProcVersionSignature: Ubuntu 4.4.0-148.174-generic 4.4.177
  Uname: Linux 4.4.0-148-generic i686
  ApportVersion: 2.20.1-0ubuntu2.18
  Architecture: i386
  Date: Sat Jun  1 12:03:59 2019
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-05-18 (743 days ago)
  InstallationMedia: Custom 14.04 - Release i386
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.5
   apt  1.2.31
  SSHDConfig:
   Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: /etc/ssh/sshd_config: line 88: Bad configuration option: Y
   /etc/ssh/sshd_config: terminating, 1 bad configuration options
  SourcePackage: openssh
  Title: package openssh-server 1:7.2p2-4ubuntu2.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to xenial on 2018-10-11 (233 days ago)

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



More information about the foundations-bugs mailing list