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

Bug #1815553 reported by Asmita Neupane
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

It creates problem on installing.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: openssh-server 1:7.6p1-4ubuntu0.1
ProcVersionSignature: Ubuntu 4.15.0-44.47-generic 4.15.18
Uname: Linux 4.15.0-44-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.9-0ubuntu7.5
AptOrdering:
 avahi-autoipd:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Tue Feb 12 09:09:51 2019
DuplicateSignature:
 package:openssh-server:1:7.6p1-4ubuntu0.1
 Setting up gns3 (0.8.7-2) ...
 dpkg: error processing package gns3 (--configure):
  installed gns3 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 2018-09-29 (135 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Python3Details: /usr/bin/python3.6, Python 3.6.7, unpackaged
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, unpackaged
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.6ubuntu0.1
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:7.6p1-4ubuntu0.1 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Asmita Neupane (asmitaneupane) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Karl Stenerud (kstenerud) wrote :

Hi Asmita,

From the logs, some packages failed to install:

Setting up gns3 (0.8.7-2) ...
dpkg: error processing package gns3 (--configure):
 installed gns3 package post-installation script subprocess returned error exit status 10
Setting up openssh-server (1:7.6p1-4ubuntu0.1) ...
dpkg: error processing package openssh-server (--configure):
 installed openssh-server package post-installation script subprocess returned error exit status 10

Can you please look in your syslog for any information that would help track down why these packages failed?

Post them here and then change the bug status from "incomplete" 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
Revision history for this message
Malek Ghantous (malektronic) wrote :

Still happening in 20.04.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

@Malek - hi, chances that you have a different bug that just seems to be similar are very very high.
I recommend reporting a new bug so that your logs are automatically attached.

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.