Unattended upgrade on arm64 NanoPi system failed for openssh-serverUbuntu 12.04 and openssh-serverOpenSSH defaults (sshd_config) on root serverCan not install openssh-serverHow to run armhf executables on an arm64 system?openssh-server can't connect remotelyWhy can't I install 'arm64' packages on an 'amd64' system when I can install 'armhf' packages?Installation problem of openssh client and openssh server and some packages during system updateDownload ARM64 package (e.g.) liblmdb-dev on amd64 systemInstall ARM64 based Ubuntu server via install image on NVMe SSDHow do I download a deb file for arm64 from Ubuntu Packages website?
Should I apply for my boss's promotion?
What should I do when a paper is published similar to my PhD thesis without citation?
Is there a math expression equivalent to the conditional ternary operator?
Why is there an extra space when I type "ls" on the Desktop?
Exempt portion of equation line from aligning?
Has a sovereign Communist government ever run, and conceded loss, on a fair election?
Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?
How would an energy-based "projectile" blow up a spaceship?
How does a sound wave propagate?
Why isn't P and P/poly trivially the same?
How to distinguish easily different soldier of ww2?
Should we avoid writing fiction about historical events without extensive research?
How can I have x-axis ticks that show ticks scaled in powers of ten?
Generating a list with duplicate entries
Why does a car's steering wheel get lighter with increasing speed
After Brexit, will the EU recognize British passports that are valid for more than ten years?
Is it appropriate to ask a former professor to order a library book for me through ILL?
In Diabelli's "Duet in D" for piano, what are these brackets on chords that look like vertical slurs?
Can I negotiate a patent idea for a raise, under French law?
Why do phishing e-mails use faked e-mail addresses instead of the real one?
What is the purpose of a disclaimer like "this is not legal advice"?
Mixed Feelings - What am I
Can the Witch Sight warlock invocation see through the Mirror Image spell?
Why do we call complex numbers “numbers” but we don’t consider 2-vectors numbers?
Unattended upgrade on arm64 NanoPi system failed for openssh-server
Ubuntu 12.04 and openssh-serverOpenSSH defaults (sshd_config) on root serverCan not install openssh-serverHow to run armhf executables on an arm64 system?openssh-server can't connect remotelyWhy can't I install 'arm64' packages on an 'amd64' system when I can install 'armhf' packages?Installation problem of openssh client and openssh server and some packages during system updateDownload ARM64 package (e.g.) liblmdb-dev on amd64 systemInstall ARM64 based Ubuntu server via install image on NVMe SSDHow do I download a deb file for arm64 from Ubuntu Packages website?
My NanoPi, named Kirke is a arm64 machine similar to Raspberry Pi. Its
running Ubuntu 16.04.3 LTS and was installed from the FriendlyARM distibution.
Updates run unattendedly since installation on October 2017. Application is
a local server for home applications, maybe some automation too some day.
But now such an unattended upgrade (security fix) for pkg openssh-server
failed on march 5, 2019 rendering the system inaccessible for management using ssh. The web services are not affected. For looking at the logs Kirke is powered off and the system disk, i.e. a micro flash card is looked at on
Laptop "walter", as there is no console nor display on Kirke and sshd is
no more listening.
systemd or dpkg seem to insist on a direct console communication. therefore
I seem to be losing my system sooner or later. Since the first post I tried
using Cron for reinstallation but ended up in the same situation now. My
root cron entry fails the same way as the unattended-upgrades pyton-script.
Log files from March 5:
[root@walter ~]# cat /media/9a463503-3ec8-4cb9-aa50-aaaeae3a9e97/etc/issue
Ubuntu 16.04.3 LTS n l
[root@walter ~]# cat /media/9a463503-3ec8-4cb9-aa50-aaaeae3a9e97/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
Log started: 2019-03-05 06:41:24
Preconfiguring packages ...
(Reading database ... 101242 files and directories currently installed.)
Preparing to unpack .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-sftp-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Preparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Preparing to unpack .../openssh-client_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-client (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu21.16) ...
Setting up openssh-client (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-server (1:7.2p2-4ubuntu2.8) ...
Failed to validate path /var/run/sshd: Bad file descriptor
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: activating (auto-restart) (Result: exit-code) since Tue 2019-03-05 06:41:46 CET; 74ms ago
Process: 5028 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)
Mar 05 06:41:46 kirke systemd[1]: Failed to start OpenBSD Secure Shell server.
Mar 05 06:41:46 kirke systemd[1]: ssh.service: Unit entered failed state.
Mar 05 06:41:46 kirke systemd[1]: ssh.service: Failed with result 'exit-code'.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
Log ended: 2019-03-05 06:41:59
Is the old upgrade already retracted or replaced by something new?
How can I get to the previous version? I will have to use a boot appendage
command or cron entry that runs without a console.
Thanks for any help.
ssh arm64
New contributor
add a comment |
My NanoPi, named Kirke is a arm64 machine similar to Raspberry Pi. Its
running Ubuntu 16.04.3 LTS and was installed from the FriendlyARM distibution.
Updates run unattendedly since installation on October 2017. Application is
a local server for home applications, maybe some automation too some day.
But now such an unattended upgrade (security fix) for pkg openssh-server
failed on march 5, 2019 rendering the system inaccessible for management using ssh. The web services are not affected. For looking at the logs Kirke is powered off and the system disk, i.e. a micro flash card is looked at on
Laptop "walter", as there is no console nor display on Kirke and sshd is
no more listening.
systemd or dpkg seem to insist on a direct console communication. therefore
I seem to be losing my system sooner or later. Since the first post I tried
using Cron for reinstallation but ended up in the same situation now. My
root cron entry fails the same way as the unattended-upgrades pyton-script.
Log files from March 5:
[root@walter ~]# cat /media/9a463503-3ec8-4cb9-aa50-aaaeae3a9e97/etc/issue
Ubuntu 16.04.3 LTS n l
[root@walter ~]# cat /media/9a463503-3ec8-4cb9-aa50-aaaeae3a9e97/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
Log started: 2019-03-05 06:41:24
Preconfiguring packages ...
(Reading database ... 101242 files and directories currently installed.)
Preparing to unpack .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-sftp-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Preparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Preparing to unpack .../openssh-client_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-client (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu21.16) ...
Setting up openssh-client (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-server (1:7.2p2-4ubuntu2.8) ...
Failed to validate path /var/run/sshd: Bad file descriptor
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: activating (auto-restart) (Result: exit-code) since Tue 2019-03-05 06:41:46 CET; 74ms ago
Process: 5028 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)
Mar 05 06:41:46 kirke systemd[1]: Failed to start OpenBSD Secure Shell server.
Mar 05 06:41:46 kirke systemd[1]: ssh.service: Unit entered failed state.
Mar 05 06:41:46 kirke systemd[1]: ssh.service: Failed with result 'exit-code'.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
Log ended: 2019-03-05 06:41:59
Is the old upgrade already retracted or replaced by something new?
How can I get to the previous version? I will have to use a boot appendage
command or cron entry that runs without a console.
Thanks for any help.
ssh arm64
New contributor
It's Ubuntu 16.04.3 LTS according to /etc/issue. And the the upgrade tried to install "Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...". I don't know if versions are the same for amd64.
– Paul
yesterday
Please edit your question and add the new information in the original question. Not everyone reads comments.
– user68186
yesterday
This might be more suited for Unix & Linux SE.
– Aaron Franke
yesterday
add a comment |
My NanoPi, named Kirke is a arm64 machine similar to Raspberry Pi. Its
running Ubuntu 16.04.3 LTS and was installed from the FriendlyARM distibution.
Updates run unattendedly since installation on October 2017. Application is
a local server for home applications, maybe some automation too some day.
But now such an unattended upgrade (security fix) for pkg openssh-server
failed on march 5, 2019 rendering the system inaccessible for management using ssh. The web services are not affected. For looking at the logs Kirke is powered off and the system disk, i.e. a micro flash card is looked at on
Laptop "walter", as there is no console nor display on Kirke and sshd is
no more listening.
systemd or dpkg seem to insist on a direct console communication. therefore
I seem to be losing my system sooner or later. Since the first post I tried
using Cron for reinstallation but ended up in the same situation now. My
root cron entry fails the same way as the unattended-upgrades pyton-script.
Log files from March 5:
[root@walter ~]# cat /media/9a463503-3ec8-4cb9-aa50-aaaeae3a9e97/etc/issue
Ubuntu 16.04.3 LTS n l
[root@walter ~]# cat /media/9a463503-3ec8-4cb9-aa50-aaaeae3a9e97/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
Log started: 2019-03-05 06:41:24
Preconfiguring packages ...
(Reading database ... 101242 files and directories currently installed.)
Preparing to unpack .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-sftp-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Preparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Preparing to unpack .../openssh-client_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-client (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu21.16) ...
Setting up openssh-client (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-server (1:7.2p2-4ubuntu2.8) ...
Failed to validate path /var/run/sshd: Bad file descriptor
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: activating (auto-restart) (Result: exit-code) since Tue 2019-03-05 06:41:46 CET; 74ms ago
Process: 5028 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)
Mar 05 06:41:46 kirke systemd[1]: Failed to start OpenBSD Secure Shell server.
Mar 05 06:41:46 kirke systemd[1]: ssh.service: Unit entered failed state.
Mar 05 06:41:46 kirke systemd[1]: ssh.service: Failed with result 'exit-code'.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
Log ended: 2019-03-05 06:41:59
Is the old upgrade already retracted or replaced by something new?
How can I get to the previous version? I will have to use a boot appendage
command or cron entry that runs without a console.
Thanks for any help.
ssh arm64
New contributor
My NanoPi, named Kirke is a arm64 machine similar to Raspberry Pi. Its
running Ubuntu 16.04.3 LTS and was installed from the FriendlyARM distibution.
Updates run unattendedly since installation on October 2017. Application is
a local server for home applications, maybe some automation too some day.
But now such an unattended upgrade (security fix) for pkg openssh-server
failed on march 5, 2019 rendering the system inaccessible for management using ssh. The web services are not affected. For looking at the logs Kirke is powered off and the system disk, i.e. a micro flash card is looked at on
Laptop "walter", as there is no console nor display on Kirke and sshd is
no more listening.
systemd or dpkg seem to insist on a direct console communication. therefore
I seem to be losing my system sooner or later. Since the first post I tried
using Cron for reinstallation but ended up in the same situation now. My
root cron entry fails the same way as the unattended-upgrades pyton-script.
Log files from March 5:
[root@walter ~]# cat /media/9a463503-3ec8-4cb9-aa50-aaaeae3a9e97/etc/issue
Ubuntu 16.04.3 LTS n l
[root@walter ~]# cat /media/9a463503-3ec8-4cb9-aa50-aaaeae3a9e97/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
Log started: 2019-03-05 06:41:24
Preconfiguring packages ...
(Reading database ... 101242 files and directories currently installed.)
Preparing to unpack .../openssh-sftp-server_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-sftp-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Preparing to unpack .../openssh-server_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Preparing to unpack .../openssh-client_1%3a7.2p2-4ubuntu2.8_armhf.deb ...
Unpacking openssh-client (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu21.16) ...
Setting up openssh-client (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.8) ...
Setting up openssh-server (1:7.2p2-4ubuntu2.8) ...
Failed to validate path /var/run/sshd: Bad file descriptor
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: activating (auto-restart) (Result: exit-code) since Tue 2019-03-05 06:41:46 CET; 74ms ago
Process: 5028 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)
Mar 05 06:41:46 kirke systemd[1]: Failed to start OpenBSD Secure Shell server.
Mar 05 06:41:46 kirke systemd[1]: ssh.service: Unit entered failed state.
Mar 05 06:41:46 kirke systemd[1]: ssh.service: Failed with result 'exit-code'.
dpkg: error processing package openssh-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openssh-server
Log ended: 2019-03-05 06:41:59
Is the old upgrade already retracted or replaced by something new?
How can I get to the previous version? I will have to use a boot appendage
command or cron entry that runs without a console.
Thanks for any help.
ssh arm64
ssh arm64
New contributor
New contributor
edited 10 hours ago
Paul
New contributor
asked yesterday
PaulPaul
12
12
New contributor
New contributor
It's Ubuntu 16.04.3 LTS according to /etc/issue. And the the upgrade tried to install "Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...". I don't know if versions are the same for amd64.
– Paul
yesterday
Please edit your question and add the new information in the original question. Not everyone reads comments.
– user68186
yesterday
This might be more suited for Unix & Linux SE.
– Aaron Franke
yesterday
add a comment |
It's Ubuntu 16.04.3 LTS according to /etc/issue. And the the upgrade tried to install "Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...". I don't know if versions are the same for amd64.
– Paul
yesterday
Please edit your question and add the new information in the original question. Not everyone reads comments.
– user68186
yesterday
This might be more suited for Unix & Linux SE.
– Aaron Franke
yesterday
It's Ubuntu 16.04.3 LTS according to /etc/issue. And the the upgrade tried to install "Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...". I don't know if versions are the same for amd64.
– Paul
yesterday
It's Ubuntu 16.04.3 LTS according to /etc/issue. And the the upgrade tried to install "Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...". I don't know if versions are the same for amd64.
– Paul
yesterday
Please edit your question and add the new information in the original question. Not everyone reads comments.
– user68186
yesterday
Please edit your question and add the new information in the original question. Not everyone reads comments.
– user68186
yesterday
This might be more suited for Unix & Linux SE.
– Aaron Franke
yesterday
This might be more suited for Unix & Linux SE.
– Aaron Franke
yesterday
add a comment |
0
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',
autoActivateHeartbeat: false,
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
);
);
Paul is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123873%2funattended-upgrade-on-arm64-nanopi-system-failed-for-openssh-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Paul is a new contributor. Be nice, and check out our Code of Conduct.
Paul is a new contributor. Be nice, and check out our Code of Conduct.
Paul is a new contributor. Be nice, and check out our Code of Conduct.
Paul is a new contributor. Be nice, and check out our Code of Conduct.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123873%2funattended-upgrade-on-arm64-nanopi-system-failed-for-openssh-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
It's Ubuntu 16.04.3 LTS according to /etc/issue. And the the upgrade tried to install "Unpacking openssh-server (1:7.2p2-4ubuntu2.8) over (1:7.2p2-4ubuntu2.7) ...". I don't know if versions are the same for amd64.
– Paul
yesterday
Please edit your question and add the new information in the original question. Not everyone reads comments.
– user68186
yesterday
This might be more suited for Unix & Linux SE.
– Aaron Franke
yesterday