I clicked on software updater, I got package updater failed, Installation or removal of a software package...











up vote
0
down vote

favorite












I clicked on the updater, there were several packages. I believe this one to be from the last one, the ubuntu base (or core) -- I don't remember the wording.



Questions:
Which package exactly did not install?
Is there some kind of log I can find to attach?



-- edit by JM added results of apt instructions



joe@joeslinux:~$ sudo apt-get update
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Ign:7 http://dl.google.com/linux/earth/deb stable InRelease
Hit:8 http://dl.google.com/linux/earth/deb stable Release
Hit:9 https://deb.opera.com/opera-stable stable InRelease
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:11 https://deb.nodesource.com/node_10.x xenial InRelease
Hit:12 http://ppa.launchpad.net/akhavr/dash-electrum/ubuntu xenial InRelease
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,100 B]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [109 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [149 kB]
Hit:20 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial InRelease
Hit:21 http://ppa.launchpad.net/pj-assis/ppa/ubuntu xenial InRelease
Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [248 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [337 kB]
Hit:26 http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease
Get:27 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
Fetched 1,876 kB in 1s (1,714 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
joe@joeslinux:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
containerd libllvm5.0 python3-rlp runc swarm
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up openssh-server (1:7.2p2-4ubuntu2.6) ...
insserv: warning: script 'S02ssh-start.sh' missing LSB tags and overrides
insserv: warning: script 'ssh-start.sh' missing LSB tags and overrides
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: enabled)
Active: failed (Result: exit-code) since Sat 2018-12-01 17:06:32 EST; 4ms ago
Process: 89500 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
Process: 89489 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 89500 (code=exited, status=255)

Dec 01 17:06:32 joeslinux systemd[1]: Starting OpenBSD Secure Shell server...
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Main process exited, cod.../a
Dec 01 17:06:32 joeslinux systemd[1]: Failed to start OpenBSD Secure Shell ...r.
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Unit entered failed state.
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Failed with result 'exit...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


One note I may add, I notice that there are a lot of error lines referencing openssh. I installed ssh pretty much on day 1 of this computer. And it worked! At least it used to word the last time I needed it.



Today, when I check the status like this:



sudo service ssh status


I get:



> joe@joeslinux:~$ ./ssh-status.sh  [sudo] password for joe:  ●
> ssh.service - OpenBSD Secure Shell server Loaded: loaded
> (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
> Active: failed (Result: exit-code) since Sat 2018-12-01 17:06:32 EST;
> 27min a Process: 89500 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
> (code=exited, status=255 Process: 89489 ExecStartPre=/usr/sbin/sshd
> -t (code=exited, status=0/SUCCESS) Main PID: 89500 (code=exited, status=255)
>
> Dec 01 17:06:32 joeslinux systemd[1]: Starting OpenBSD Secure Shell
> server... Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Main
> process exited, code=exi Dec 01 17:06:32 joeslinux systemd[1]: Failed
> to start OpenBSD Secure Shell serve Dec 01 17:06:32 joeslinux
> systemd[1]: ssh.service: Unit entered failed state. Dec 01 17:06:32
> joeslinux systemd[1]: ssh.service: Failed with result 'exit-code


Something happened, and ssh server stopped working. Could this have anything to do with not being able to my automated updates?










share|improve this question
























  • Open terminal and run sudo apt-get update followed by sudo apt-get upgrade and/or sudo apt-get install -f. Then add full error output to the question.
    – N0rbert
    Nov 30 at 20:40















up vote
0
down vote

favorite












I clicked on the updater, there were several packages. I believe this one to be from the last one, the ubuntu base (or core) -- I don't remember the wording.



Questions:
Which package exactly did not install?
Is there some kind of log I can find to attach?



-- edit by JM added results of apt instructions



joe@joeslinux:~$ sudo apt-get update
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Ign:7 http://dl.google.com/linux/earth/deb stable InRelease
Hit:8 http://dl.google.com/linux/earth/deb stable Release
Hit:9 https://deb.opera.com/opera-stable stable InRelease
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:11 https://deb.nodesource.com/node_10.x xenial InRelease
Hit:12 http://ppa.launchpad.net/akhavr/dash-electrum/ubuntu xenial InRelease
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,100 B]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [109 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [149 kB]
Hit:20 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial InRelease
Hit:21 http://ppa.launchpad.net/pj-assis/ppa/ubuntu xenial InRelease
Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [248 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [337 kB]
Hit:26 http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease
Get:27 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
Fetched 1,876 kB in 1s (1,714 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
joe@joeslinux:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
containerd libllvm5.0 python3-rlp runc swarm
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up openssh-server (1:7.2p2-4ubuntu2.6) ...
insserv: warning: script 'S02ssh-start.sh' missing LSB tags and overrides
insserv: warning: script 'ssh-start.sh' missing LSB tags and overrides
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: enabled)
Active: failed (Result: exit-code) since Sat 2018-12-01 17:06:32 EST; 4ms ago
Process: 89500 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
Process: 89489 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 89500 (code=exited, status=255)

Dec 01 17:06:32 joeslinux systemd[1]: Starting OpenBSD Secure Shell server...
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Main process exited, cod.../a
Dec 01 17:06:32 joeslinux systemd[1]: Failed to start OpenBSD Secure Shell ...r.
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Unit entered failed state.
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Failed with result 'exit...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


One note I may add, I notice that there are a lot of error lines referencing openssh. I installed ssh pretty much on day 1 of this computer. And it worked! At least it used to word the last time I needed it.



Today, when I check the status like this:



sudo service ssh status


I get:



> joe@joeslinux:~$ ./ssh-status.sh  [sudo] password for joe:  ●
> ssh.service - OpenBSD Secure Shell server Loaded: loaded
> (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
> Active: failed (Result: exit-code) since Sat 2018-12-01 17:06:32 EST;
> 27min a Process: 89500 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
> (code=exited, status=255 Process: 89489 ExecStartPre=/usr/sbin/sshd
> -t (code=exited, status=0/SUCCESS) Main PID: 89500 (code=exited, status=255)
>
> Dec 01 17:06:32 joeslinux systemd[1]: Starting OpenBSD Secure Shell
> server... Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Main
> process exited, code=exi Dec 01 17:06:32 joeslinux systemd[1]: Failed
> to start OpenBSD Secure Shell serve Dec 01 17:06:32 joeslinux
> systemd[1]: ssh.service: Unit entered failed state. Dec 01 17:06:32
> joeslinux systemd[1]: ssh.service: Failed with result 'exit-code


Something happened, and ssh server stopped working. Could this have anything to do with not being able to my automated updates?










share|improve this question
























  • Open terminal and run sudo apt-get update followed by sudo apt-get upgrade and/or sudo apt-get install -f. Then add full error output to the question.
    – N0rbert
    Nov 30 at 20:40













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I clicked on the updater, there were several packages. I believe this one to be from the last one, the ubuntu base (or core) -- I don't remember the wording.



Questions:
Which package exactly did not install?
Is there some kind of log I can find to attach?



-- edit by JM added results of apt instructions



joe@joeslinux:~$ sudo apt-get update
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Ign:7 http://dl.google.com/linux/earth/deb stable InRelease
Hit:8 http://dl.google.com/linux/earth/deb stable Release
Hit:9 https://deb.opera.com/opera-stable stable InRelease
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:11 https://deb.nodesource.com/node_10.x xenial InRelease
Hit:12 http://ppa.launchpad.net/akhavr/dash-electrum/ubuntu xenial InRelease
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,100 B]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [109 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [149 kB]
Hit:20 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial InRelease
Hit:21 http://ppa.launchpad.net/pj-assis/ppa/ubuntu xenial InRelease
Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [248 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [337 kB]
Hit:26 http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease
Get:27 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
Fetched 1,876 kB in 1s (1,714 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
joe@joeslinux:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
containerd libllvm5.0 python3-rlp runc swarm
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up openssh-server (1:7.2p2-4ubuntu2.6) ...
insserv: warning: script 'S02ssh-start.sh' missing LSB tags and overrides
insserv: warning: script 'ssh-start.sh' missing LSB tags and overrides
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: enabled)
Active: failed (Result: exit-code) since Sat 2018-12-01 17:06:32 EST; 4ms ago
Process: 89500 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
Process: 89489 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 89500 (code=exited, status=255)

Dec 01 17:06:32 joeslinux systemd[1]: Starting OpenBSD Secure Shell server...
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Main process exited, cod.../a
Dec 01 17:06:32 joeslinux systemd[1]: Failed to start OpenBSD Secure Shell ...r.
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Unit entered failed state.
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Failed with result 'exit...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


One note I may add, I notice that there are a lot of error lines referencing openssh. I installed ssh pretty much on day 1 of this computer. And it worked! At least it used to word the last time I needed it.



Today, when I check the status like this:



sudo service ssh status


I get:



> joe@joeslinux:~$ ./ssh-status.sh  [sudo] password for joe:  ●
> ssh.service - OpenBSD Secure Shell server Loaded: loaded
> (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
> Active: failed (Result: exit-code) since Sat 2018-12-01 17:06:32 EST;
> 27min a Process: 89500 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
> (code=exited, status=255 Process: 89489 ExecStartPre=/usr/sbin/sshd
> -t (code=exited, status=0/SUCCESS) Main PID: 89500 (code=exited, status=255)
>
> Dec 01 17:06:32 joeslinux systemd[1]: Starting OpenBSD Secure Shell
> server... Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Main
> process exited, code=exi Dec 01 17:06:32 joeslinux systemd[1]: Failed
> to start OpenBSD Secure Shell serve Dec 01 17:06:32 joeslinux
> systemd[1]: ssh.service: Unit entered failed state. Dec 01 17:06:32
> joeslinux systemd[1]: ssh.service: Failed with result 'exit-code


Something happened, and ssh server stopped working. Could this have anything to do with not being able to my automated updates?










share|improve this question















I clicked on the updater, there were several packages. I believe this one to be from the last one, the ubuntu base (or core) -- I don't remember the wording.



Questions:
Which package exactly did not install?
Is there some kind of log I can find to attach?



-- edit by JM added results of apt instructions



joe@joeslinux:~$ sudo apt-get update
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Ign:7 http://dl.google.com/linux/earth/deb stable InRelease
Hit:8 http://dl.google.com/linux/earth/deb stable Release
Hit:9 https://deb.opera.com/opera-stable stable InRelease
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:11 https://deb.nodesource.com/node_10.x xenial InRelease
Hit:12 http://ppa.launchpad.net/akhavr/dash-electrum/ubuntu xenial InRelease
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,100 B]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [109 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [149 kB]
Hit:20 http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial InRelease
Hit:21 http://ppa.launchpad.net/pj-assis/ppa/ubuntu xenial InRelease
Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [248 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [337 kB]
Hit:26 http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease
Get:27 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
Fetched 1,876 kB in 1s (1,714 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
joe@joeslinux:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
containerd libllvm5.0 python3-rlp runc swarm
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up openssh-server (1:7.2p2-4ubuntu2.6) ...
insserv: warning: script 'S02ssh-start.sh' missing LSB tags and overrides
insserv: warning: script 'ssh-start.sh' missing LSB tags and overrides
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: enabled)
Active: failed (Result: exit-code) since Sat 2018-12-01 17:06:32 EST; 4ms ago
Process: 89500 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
Process: 89489 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 89500 (code=exited, status=255)

Dec 01 17:06:32 joeslinux systemd[1]: Starting OpenBSD Secure Shell server...
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Main process exited, cod.../a
Dec 01 17:06:32 joeslinux systemd[1]: Failed to start OpenBSD Secure Shell ...r.
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Unit entered failed state.
Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Failed with result 'exit...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


One note I may add, I notice that there are a lot of error lines referencing openssh. I installed ssh pretty much on day 1 of this computer. And it worked! At least it used to word the last time I needed it.



Today, when I check the status like this:



sudo service ssh status


I get:



> joe@joeslinux:~$ ./ssh-status.sh  [sudo] password for joe:  ●
> ssh.service - OpenBSD Secure Shell server Loaded: loaded
> (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
> Active: failed (Result: exit-code) since Sat 2018-12-01 17:06:32 EST;
> 27min a Process: 89500 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
> (code=exited, status=255 Process: 89489 ExecStartPre=/usr/sbin/sshd
> -t (code=exited, status=0/SUCCESS) Main PID: 89500 (code=exited, status=255)
>
> Dec 01 17:06:32 joeslinux systemd[1]: Starting OpenBSD Secure Shell
> server... Dec 01 17:06:32 joeslinux systemd[1]: ssh.service: Main
> process exited, code=exi Dec 01 17:06:32 joeslinux systemd[1]: Failed
> to start OpenBSD Secure Shell serve Dec 01 17:06:32 joeslinux
> systemd[1]: ssh.service: Unit entered failed state. Dec 01 17:06:32
> joeslinux systemd[1]: ssh.service: Failed with result 'exit-code


Something happened, and ssh server stopped working. Could this have anything to do with not being able to my automated updates?







updates update-manager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 1 at 23:38

























asked Nov 30 at 15:04









Joe Molnar

114




114












  • Open terminal and run sudo apt-get update followed by sudo apt-get upgrade and/or sudo apt-get install -f. Then add full error output to the question.
    – N0rbert
    Nov 30 at 20:40


















  • Open terminal and run sudo apt-get update followed by sudo apt-get upgrade and/or sudo apt-get install -f. Then add full error output to the question.
    – N0rbert
    Nov 30 at 20:40
















Open terminal and run sudo apt-get update followed by sudo apt-get upgrade and/or sudo apt-get install -f. Then add full error output to the question.
– N0rbert
Nov 30 at 20:40




Open terminal and run sudo apt-get update followed by sudo apt-get upgrade and/or sudo apt-get install -f. Then add full error output to the question.
– N0rbert
Nov 30 at 20:40















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097436%2fi-clicked-on-software-updater-i-got-package-updater-failed-installation-or-rem%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097436%2fi-clicked-on-software-updater-i-got-package-updater-failed-installation-or-rem%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕