Comment 5 for bug 1818679

Revision history for this message
Johan GAUB (johangaub) wrote : Re: [Bug 1818679] Re: package openssh-server 1:7.2p2-4ubuntu2.8 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Hello Arnold,

I thank you for your answer.

It looks like openssh-server was not installed.

Then, I installed it and I have this message after doing a "sshd -t" :
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key

The folder /var/run/sshd exists but have nothing inside it.

Hope this will resovle the issue.

Regards

Johan

Le mar. 5 mars 2019 à 19:20, Seth Arnold <email address hidden> a
écrit :

> Hello, can you please run this command and report back the results?
>
> ls -ld /
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1818679
>
> Title:
> package openssh-server 1:7.2p2-4ubuntu2.8 failed to install/upgrade:
> le sous-processus script post-installation installé a retourné une
> erreur de sortie d'état 1
>
> Status in openssh package in Ubuntu:
> New
>
> Bug description:
> I can't tell you anything. There was a error message without specific
> details.
>
> ProblemType: Package
> DistroRelease: Ubuntu 16.04
> Package: openssh-server 1:7.2p2-4ubuntu2.8
> ProcVersionSignature: Ubuntu 4.4.0-142.168-generic 4.4.167
> Uname: Linux 4.4.0-142-generic x86_64
> ApportVersion: 2.20.1-0ubuntu2.18
> Architecture: amd64
> Date: Tue Mar 5 06:48:59 2019
> ErrorMessage: le sous-processus script post-installation installé a
> retourné une erreur de sortie d'état 1
> InstallationDate: Installed on 2016-08-12 (935 days ago)
> InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64
> (20160420.1)
> RelatedPackageVersions:
> dpkg 1.18.4ubuntu1.5
> apt 1.2.29ubuntu0.1
> SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit
> code 255: Missing privilege separation directory: /var/run/sshd
> SourcePackage: openssh
> Title: package openssh-server 1:7.2p2-4ubuntu2.8 failed to
> install/upgrade: le sous-processus script post-installation installé a
> retourné une erreur de sortie d'état 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/1818679/+subscriptions
>