[Bug 1798884] Re: Upgrade or install fails 1:7.2p2-4ubuntu2.5

Andreas Hasenack andreas at canonical.com
Fri Oct 26 19:43:53 UTC 2018


Well, restarting sshd remotely has been done for quite some time:

$ ssh root at duo
...
root at duo:~# pidof sshd
14132 2374
root at duo:~# systemctl restart sshd
root at duo:~# pidof sshd
14286 14132
root at duo:~# 

Of course, now that your system is in a state where it's showing that
error, care must be taken to not lose access. I'd start another ssh
server in a different port just to be safe.

That being said, there is no obvious issue to be fixed at the moment,
since as shown above, logging in remotely and restarting ssh works just
fine in the common case.

-- 
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/1798884

Title:
  Upgrade or install fails 1:7.2p2-4ubuntu2.5

Status in openssh package in Ubuntu:
  Incomplete

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-4ubuntu2.5) wird eingerichtet ...
  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/system/ssh.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fr 2018-10-19 20:53:49 CEST; 12ms ago
    Process: 29682 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
    Process: 29678 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
   Main PID: 29682 (code=exited, status=255)

  Okt 19 20:53:48 zulu1451.server4you.de systemd[1]: Starting OpenBSD Secure Shell server...
  Okt 19 20:53:49 zulu1451.server4you.de systemd[1]: ssh.service: Main process exited, code=code=exited, status=255/n/a
  Okt 19 20:53:49 zulu1451.server4you.de systemd[1]: Failed to start OpenBSD Secure Shell server.
  Okt 19 20:53:49 zulu1451.server4you.de systemd[1]: ssh.service: Unit entered failed state.
  Okt 19 20:53:49 zulu1451.server4you.de systemd[1]: ssh.service: Failed with result 'exit-code'.
  Hint: Some lines were ellipsized, use -l to show in full.
  dpkg: Fehler beim Bearbeiten des Paketes openssh-server (--configure):
   Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
  dpkg: Abhängigkeitsprobleme verhindern Konfiguration von ssh:
   ssh hängt ab von openssh-server (>= 1:7.2p2-4ubuntu2.5); aber:
    Paket openssh-server ist noch nicht konfiguriert.

  dpkg: Fehler beim Bearbeiten des Paketes ssh (--configure):
   Abhängigkeitsprobleme - verbleibt unkonfiguriert
  Fehler traten auf beim Bearbeiten von:
   openssh-server
   ssh

  
  The system is:
  Description:    Ubuntu 16.04.5 LTS
  Release:        16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1798884/+subscriptions



More information about the foundations-bugs mailing list