Hi all,
I just logged in to my NC Box with ssh and it said a reboot was required. So I thought I would first run an apt update and apt upgrade but the apt update failed so I then issued the the command sudo reboot and now it appears to have bricked itself. I have tried unplugging it and plugging it back in and have tried connecting a monitor and keyboard but just get a blank screen. No lights on the ethernet port, normally they come on when it boots. If I pull all the power the rpi turns on the red led and briefly flashes the green led. If I just pull the power lead from the rpi only and reconnect then both red and green led stays lit. Led on the hard disc flashes about once a second.
Is there a known bug?
What is the best way to recover this, luckily no data on it yet and I have a backup of the sd card image but I would like to be able to recover this without starting over?
Is there something I did that I shouldnāt have?
Below is my ssh session.
greg@greg-6360b ~ $ ssh ubuntu@nextcloud
ubuntu@nextcloud's password:
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-1017-raspi2 armv7l)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
98 packages can be updated.
49 updates are security updates.
*** System restart required ***
Last login: Tue Jan 10 19:33:38 2017 from 192.168.1.58
ubuntu@nextcloud:~$ sudo apt update
[sudo] password for ubuntu:
Ign:1 http://cesg.archive.canonical.com/updates xenial-wd-nextcloud InRelease
Hit:2 http://ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu xenial InRelease
Hit:3 http://ports.ubuntu.com xenial InRelease
Get:4 http://ports.ubuntu.com xenial-updates InRelease [102 kB]
Hit:5 http://cesg.archive.canonical.com/updates xenial-wd-nextcloud Release
Get:6 http://ports.ubuntu.com xenial-security InRelease [102 kB]
Get:7 http://ports.ubuntu.com xenial-backports InRelease [102 kB]
Get:9 http://ports.ubuntu.com xenial-updates/main Sources [213 kB]
Get:10 http://ports.ubuntu.com xenial-updates/universe Sources [117 kB]
Get:11 http://ports.ubuntu.com xenial-updates/multiverse Sources [4016 B]
Get:12 http://ports.ubuntu.com xenial-updates/main armhf Packages [416 kB]
Get:13 http://ports.ubuntu.com xenial-updates/main Translation-en [177 kB]
Get:14 http://ports.ubuntu.com xenial-updates/universe armhf Packages [340 kB]
Get:15 http://ports.ubuntu.com xenial-updates/universe Translation-en [139 kB]
Get:16 http://ports.ubuntu.com xenial-security/main Sources [54.5 kB]
Get:17 http://ports.ubuntu.com xenial-security/universe Sources [16.9 kB]
Get:18 http://ports.ubuntu.com xenial-security/multiverse Sources [724 B]
Get:19 http://ports.ubuntu.com xenial-security/main armhf Packages [176 kB]
Get:20 http://ports.ubuntu.com xenial-security/main Translation-en [84.3 kB]
Get:21 http://ports.ubuntu.com xenial-security/universe armhf Packages [69.9 kB]
Get:22 http://ports.ubuntu.com xenial-security/universe Translation-en [37.9 kB]
Fetched 2153 kB in 8s (255 kB/s)
N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
ubuntu@nextcloud:~$ sudo reboot
Connection to nextcloud closed by remote host.
Connection to nextcloud closed.
greg@greg-6360b ~ $ ssh ubuntu@nextcloud
ssh: connect to host nextcloud port 22: Connection timed out
greg@greg-6360b ~ $