package openssh-server 1:8.4p1-5ubuntu1.1 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1

Bug #1940720 reported by richard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

not sure it just didn't install

ProblemType: Package
DistroRelease: Ubuntu 21.04
Package: openssh-server 1:8.4p1-5ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-31.33-generic 5.11.22
Uname: Linux 5.11.0-31-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu65.1
AptOrdering:
 ncurses-term:amd64: Install
 openssh-sftp-server:amd64: Install
 openssh-server:amd64: Install
 ssh-import-id:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Jul 15 11:05:39 2021
ErrorMessage: installed openssh-server package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-03-19 (154 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Python3Details: /usr/bin/python3.9, Python 3.9.5, python3-minimal, 3.9.4-1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.18-9
RelatedPackageVersions:
 dpkg 1.20.9ubuntu1
 apt 2.2.4ubuntu0.1
SourcePackage: openssh
Title: package openssh-server 1:8.4p1-5ubuntu1.1 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to hirsute on 2021-05-10 (101 days ago)

Revision history for this message
richard (rjwboys) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

From the log:
  Bind to port 22 on 0.0.0.0 failed: Address already in use.

Something on your system already blocks the default SSH port which the service will try to consume on install/update. You'd want to find what owns this port and remove/reconfigure that - afterwards the openssh-server should install/upgrade fine again.

You can find this process via:
  $ sudo ss -pl4 '( sport = :ssh )'

Thank you for your report.

This looks like a local configuration problem, rather than a bug in Ubuntu.

You can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Since we use this bug tracker to track bugs in Ubuntu, rather than configuration problems, I'm marking this bug as Invalid. This helps us to focus on fixing bugs in Ubuntu.

If you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, 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.

Changed in openssh (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openssh (Ubuntu) because there has been no activity for 60 days.]

Changed in openssh (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.