Upgrade or install fails 1:7.2p2-4ubuntu2.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Today I've got an update to openssh-server version 1:7.2p2-4ubuntu2.5 but installation fails. Also when I purge the package and install it again, I get the same error message:
openssh-server (1:7.2p2-
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `screen-cleanup'
Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ssh, action "start" failed.
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Fr 2018-10-19 20:53:49 CEST; 12ms ago
Process: 29682 ExecStart=
Process: 29678 ExecStartPre=
Main PID: 29682 (code=exited, status=255)
Okt 19 20:53:48 zulu1451.
Okt 19 20:53:49 zulu1451.
Okt 19 20:53:49 zulu1451.
Okt 19 20:53:49 zulu1451.
Okt 19 20:53:49 zulu1451.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: Fehler beim Bearbeiten des Paketes openssh-server (--configure):
Unterprozess installiertes post-installati
dpkg: Abhängigkeitspr
ssh hängt ab von openssh-server (>= 1:7.2p2-
Paket openssh-server ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes ssh (--configure):
Abhängigkeitsp
Fehler traten auf beim Bearbeiten von:
openssh-server
ssh
The system is:
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Thanks for filing this bug in Ubuntu.
The 1:7.2p2-4ubuntu2.5 openssh update introduced a check in the systemd service file to prevent the daemon from stopping if there is a configuration syntax error (bug #1771340). This is done by calling "/usr/sbin/sshd -t".
It looks like this call worked, from the information you provided:
Process: 29678 ExecStartPre= /usr/sbin/ sshd -t (code=exited, status=0/SUCCESS)
The real failure must have come after.
Could you please attach more logs? You can inspect /var/log/syslog for sshd messages, same for /var/log/auth, or just run:
sudo apport-collect -p openssh 1798884
to attach a default set of logs to this bug.