[Bug 1750754] Re: package openssh-server 1:7.5p1-10ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
ChristianEhrhardt
1750754 at bugs.launchpad.net
Fri Feb 23 14:45:25 UTC 2018
Hi,
from your log:
SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 255: Missing privilege separation directory: /run/sshd
Log:
Feb 21 18:47:43 turagit01 sshd[3829]: error: Bind to port 22 on 192.168.1.15 failed: Cannot assign requested address.
Feb 21 18:47:43 turagit01 sshd[3829]: fatal: Cannot bind any address.
Feb 21 18:47:43 turagit01 systemd[1]: ssh.service: Main process exited, code=exited, status=255/n/a
Those seem to be two separate issues, the one thing they share is that
they seem to be cusotm configuration that has gone wrong.
sshd -T is the "test my config" before it starts.
If you fix the configuration of your ssh server I'm pretty sure the upgrade will succeed.
See [1] for an example how to restore a conffile to the original version
if you don't want to edit your changes manually, but just revert.
[1]: https://askubuntu.com/questions/66533/how-can-i-restore-
configuration-files
--
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/1750754
Title:
package openssh-server 1:7.5p1-10ubuntu0.1 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
Status in openssh package in Ubuntu:
Incomplete
Bug description:
Not much to report there was an error when this package as to install
in the background
Description: Ubuntu 17.10
Release: 17.10
openssh-server:
Installed: 1:7.5p1-10ubuntu0.1
Candidate: 1:7.5p1-10ubuntu0.1
Version table:
*** 1:7.5p1-10ubuntu0.1 500
500 http://au.archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages
100 /var/lib/dpkg/status
1:7.5p1-10 500
500 http://au.archive.ubuntu.com/ubuntu artful/main amd64 Packages
This was automatically being updated and the error occurred
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: openssh-server 1:7.5p1-10ubuntu0.1
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.7
AptOrdering:
chromium-codecs-ffmpeg-extra:amd64: Install
NULL: ConfigurePending
Architecture: amd64
Date: Wed Feb 21 18:47:43 2018
DpkgHistoryLog:
Start-Date: 2018-02-21 18:47:41
Commandline: /usr/bin/unattended-upgrade
Upgrade: chromium-codecs-ffmpeg-extra:amd64 (64.0.3282.140-0ubuntu0.17.10.1, 64.0.3282.167-0ubuntu0.17.10.1)
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-11-03 (474 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageVersions:
dpkg 1.18.24ubuntu1
apt 1.5.1
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:7.5p1-10ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to artful on 2017-12-22 (61 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1750754/+subscriptions
More information about the foundations-bugs
mailing list