I followed a fix for another issue but now the reboot and shutdown executables are missing. I have tried
sudo apt-get install --reinstall upstart
But I get this line at the end
/var/lib/dpkg/info/upstart.postinst: 38:
/var/lib/dpkg/info/upstart.postinst: telinit: not found
And the executables are still missing.
This is the output of /bin/sh -e -x /var/lib/dpkg/info/upstart.postinst
+ ischroot
+ initctl+ tr -d )
version
+ awk {print $3}
+ UPSTART_VERSION_RUNNING=1.12.1
+ dpkg --compare-versions 1.12.1 ge 1.9
+ telinit u
/var/lib/dpkg/info/upstart.postinst: 38:
/var/lib/dpkg/info/upstart.postinst: te linit: not found
+ :
+ [ = configure ]
+ dpkg-maintscript-helper rm_conffile /etc/init/upstart-dbus-bridge.conf
1.9.1-0 ubuntu4 --
dpkg-maintscript-helper: error: couldn't identify the package
ran sudo apt-get install --reinstall systemd-sysv upstart and got the following warning in the output
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
/run/lvm/lvmetad.socket: connect failed: No such file or directory
then had kernel panic when starting the machine including the line
Target filesystem doesn't have requested /sbin/init.
managed to get to login by choosing 3.13.0.65 (upstart)
at login I am shown this message
[24.187631] system-logind[1553]: Failed to start user service, ignoring: Unknown unit: user@1000.service
I cannot connect remotely to the machine, nor to the plex server running on it
/bin/sh -e -x /var/lib/dpkg/info/upstart.postinst
– J. Starnes Dec 27 '17 at 08:18