package openssh-server 1:7.2p2-4ubuntu2.8 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| openssh (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
no me permite instalar aplicaciones
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openssh-server 1:7.2p2-4ubuntu2.8
ProcVersionSign
Uname: Linux 4.15.0-52-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
AptOrdering:
curl: Install
openssh-server: Configure
curl: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Thu Jun 20 12:49:17 2019
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2018-06-18 (369 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageV
dpkg 1.18.4ubuntu1.5
apt 1.2.32
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: el subproceso instalado el script post-installation devolvió el código de salida de error 1
UpgradeStatus: No upgrade log present (probably fresh install)

Hi Daniel, sshd_config) has issues and is broken due to that.
the call to "sshd -T" checks the configuration before (re)starting the server.
This failing implies that your sshd config (mostly in /etc/ssh/
If you are unsure you might want to re-install configuration files cleanly [1] but for openssh-server in your case.
[1]: https:/ /askubuntu. com/questions/ 66533/how- can-i-restore- configuration- files