Ubuntu is the only Linux system I had that – after installing a text-mode console setup – gets itself in the below state with only running apt update
and apt-get upgrade
.
Preparing to unpack .../archives/apt_1.2.19_armhf.deb ...
Failed to stop apt-daily.timer: Connection timed out
See system logs and 'systemctl status apt-daily.timer' for details.
Failed to get load state of apt-daily.timer: Connection timed out
dpkg: warning: subprocess old pre-removal script returned error exit status 1
I could not find meaningful search results for the above thing, nor did systemctl status apt-daily.timer
return anything better than
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out
Heck, it doesn’t even reboot any more (no helpful search results either):
# reboot
Failed to start reboot.target: Failed to activate service 'org.freedesktop.systemd1': timed out
See system logs and 'systemctl status reboot.target' for details.
Failed to open /dev/initctl: No such device or address
Failed to talk to init daemon.
Nor did systemctl status reboot.target
return anything better than
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out
From the ubuntu-16.04-minimal-odroid-c1-20160817.img.xz base system, it only had these extra packages installed:
etckeeper
tmux
speedtest-cli
sendemail
Workaround found, but still unsure why this happened in the first place
Despite the workaround below, I still don’t know why I got into this situation and this leaves me with a very uncomfortable feeling.
Too bad some systems (like ODroid) only have Ubuntu based distributions as sorting out stuff like above took me way too much effort.
Read the rest of this entry »