[Bug 2084365] Re: package openssh-server 1:9.6p1-3ubuntu13.5 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1

Lena Voytek 2084365 at bugs.launchpad.net
Tue Oct 15 16:30:38 UTC 2024


Thank you for the bug report. From your logs, I see:

Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 148.

This may be due to something like a port conflict. Are you currently running anything else on port 22?
To help determine the issue, would you be able to check the output of 

journalctl -u ssh

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

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

Title:
  package openssh-server 1:9.6p1-3ubuntu13.5 failed to install/upgrade:
  installed openssh-server package post-installation script subprocess
  returned error exit status 1

Status in openssh package in Ubuntu:
  Incomplete

Bug description:
  sudo apt install ssh on 24.04 results in this bug.

  ProblemType: Package
  DistroRelease: Ubuntu 24.04
  Package: openssh-server 1:9.6p1-3ubuntu13.5
  Uname: Linux 6.10.7-061007-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Sat Oct 12 19:08:49 2024
  ErrorMessage: installed openssh-server package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2024-09-02 (41 days ago)
  InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.22.6ubuntu6.1
   apt  2.7.14build2
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: Missing privilege separation directory: /run/sshd
  SourcePackage: openssh
  Title: package openssh-server 1:9.6p1-3ubuntu13.5 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list