On 5/16/22 09:42, Lena Voytek wrote:
> You noted that this may be due to update-manager having two instances
> running. Were you able to try again with one running to get it updated?
> If not, does updating with:
>
> sudo apt update
> sudo apt upgrade
>
> cause any errors?

Yes, errors persist:

apt install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
   libfwupdplugin1
Use 'sudo apt autoremove' to remove it.
Suggested packages:
   molly-guard monkeysphere ssh-askpass
The following NEW packages will be installed:
   openssh-server
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/377 kB of archives.
After this operation, 1,527 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package openssh-server.
(Reading database ... 298345 files and directories currently installed.)
Preparing to unpack .../openssh-server_1%3a8.2p1-4ubuntu0.5_amd64.deb ...
Unpacking openssh-server (1:8.2p1-4ubuntu0.5) ...
Setting up openssh-server (1:8.2p1-4ubuntu0.5) ...
rescue-ssh.target is a disabled or a static unit, not starting it.
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 "restart" failed.
● ssh.service - OpenBSD Secure Shell server
      Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor 
preset: en
abled)
      Active: activating (auto-restart) (Result: exit-code) since Fri 
2022-05-13
06:47:48 PDT; 3ms ago
        Docs: man:sshd(8)
              man:sshd_config(5)
     Process: 6402 ExecStartPre=/usr/sbin/sshd -t (code=exited, 
status=255/EXCEPT
ION)
dpkg: error processing package openssh-server (--configure):
  installed openssh-server package post-installation script subprocess 
returned e
rror exit status 1
Processing triggers for systemd (245.4-4ubuntu3.17) ...


and then:

systemctl status ssh.service

ssh.service - OpenBSD Secure Shell server
      Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor 
preset: enabled)
      Active: failed (Result: exit-code) since Mon 2022-05-16 06:26:11 
PDT; 4h 48min ago
        Docs: man:sshd(8)
              man:sshd_config(5)
     Process: 140702 ExecStartPre=/usr/sbin/sshd -t (code=exited, 
status=255/EXCEPTION)

May 16 06:26:11 paradise systemd[1]: ssh.service: Scheduled restart job, 
restart counter is at 5.
May 16 06:26:11 paradise systemd[1]: Stopped OpenBSD Secure Shell server.
May 16 06:26:11 paradise systemd[1]: ssh.service: Start request repeated 
too quickly.
May 16 06:26:11 paradise systemd[1]: ssh.service: Failed with result 
'exit-code'.
May 16 06:26:11 paradise systemd[1]: Failed to start OpenBSD Secure 
Shell server.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973217

Title:
  package openssh-server 1:8.2p1-4ubuntu0.5 failed to install/upgrade:
  installed openssh-server package post-installation script subprocess
  returned error exit status 1

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to