[Bug 2069394] Re: package openssh-server 1:8.9p1-3ubuntu0.7 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 10

Seth Arnold 2069394 at bugs.launchpad.net
Sat Jun 15 03:20:23 UTC 2024


I suspect that you've got a local problem with this configuration file,
try reinstalling openssh-server but with some flags to force replacing
the missing and changed configuration files:

sudo apt-get --yes reinstall -o Dpkg::Options::="--force-confnew" -o
Dpkg::Options::="--force-confmiss openssh-server

Incidentally your mongodb is very unhappy, there's 171 instances of
errors like this in your logs:

[571662.165758] traps: mongod[2882116] trap invalid opcode
ip:65329d429c0a sp:7fff9b7a3900 error:0 in mongod[653299318000+527e000]

Thanks

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

Title:
  package openssh-server 1:8.9p1-3ubuntu0.7 failed to install/upgrade:
  installed openssh-server package post-installation script subprocess
  returned error exit status 10

Status in openssh package in Ubuntu:
  New

Bug description:
  dpkg: warning: files list file for package 'libwayland-client0:amd64' missing; assuming packa
  ge has no files currently installed
  (Reading database ... 74 files and directories currently installed.)
  Preparing to unpack .../openssh-sftp-server_1%3a8.9p1-3ubuntu0.7_amd64.deb ...
  Unpacking openssh-sftp-server (1:8.9p1-3ubuntu0.7) ...
  Selecting previously unselected package openssh-server.
  Preparing to unpack .../openssh-server_1%3a8.9p1-3ubuntu0.7_amd64.deb ...
  Unpacking openssh-server (1:8.9p1-3ubuntu0.7) ...
  Selecting previously unselected package ncurses-term.
  Preparing to unpack .../ncurses-term_6.3-2ubuntu0.1_all.deb ...
  Unpacking ncurses-term (6.3-2ubuntu0.1) ...
  Selecting previously unselected package ssh-import-id.
  Preparing to unpack .../ssh-import-id_5.11-0ubuntu1_all.deb ...
  Unpacking ssh-import-id (5.11-0ubuntu1) ...
  Setting up openssh-sftp-server (1:8.9p1-3ubuntu0.7) ...
  Setting up openssh-server (1:8.9p1-3ubuntu0.7) ...
  dpkg: error processing package openssh-server (--configure):
   installed openssh-server package post-installation script subprocess returned error exit sta
  tus 10
  Setting up ssh-import-id (5.11-0ubuntu1) ...
  Setting up ncurses-term (6.3-2ubuntu0.1) ...
  Processing triggers for man-db (2.10.2-1) ...
  Processing triggers for ufw (0.36.1-4ubuntu0.1) ...
  Errors were encountered while processing:
   openssh-server
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: openssh-server 1:8.9p1-3ubuntu0.7
  ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13
  Uname: Linux 6.5.0-35-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  AptOrdering:
   openssh-server:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Mon Jun 10 10:02:43 2024
  DpkgTerminalLog:
   Preparing to unpack .../openssh-server_1%3a8.9p1-3ubuntu0.7_amd64.deb ...
   Unpacking openssh-server (1:8.9p1-3ubuntu0.7) ...
   Setting up openssh-server (1:8.9p1-3ubuntu0.7) ...
   dpkg: error processing package openssh-server (--configure):
    installed openssh-server package post-installation script subprocess returned error exit status 10
  ErrorMessage: installed openssh-server package post-installation script subprocess returned error exit status 10
  InstallationDate: Installed on 2021-08-11 (1038 days ago)
  InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
  Python3Details: /usr/bin/python3.10, Python 3.10.12, unpackaged
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.3
   apt  2.4.12
  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:8.9p1-3ubuntu0.7 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 10
  UpgradeStatus: Upgraded to jammy on 2023-07-14 (335 days ago)

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




More information about the foundations-bugs mailing list