I’ve been using OSMC for ages and have been able to fix all my problems with the help of google. However, this one has stumped me so I was hoping someone could help me please!
I installed CRON via MyOSMC and when the Pi rebooted (Pi3) I was stuck in the load with the following messages:
(Bluetooth load info - loads fine)
(Samba load info - loads fine)
(Checks time)
Reached target Multi-User System
Reached target Graphical Interface
Starting Update UTMP about System Runlevel Changes…
Started Update UTMP about System Runlevel Changes.
and there I am stuck.
I can login via Putty and have run any upgrades but this hasnt helped.
Provide logs please. To get a better understanding of the problem you are experiencing we need more information, including logs from you. Please see How to submit a useful support request - General - OSMC for advice on how to help us.
The root cause of your problem seems to be that you tried to uninstall python-requests, which is a requirement for My OSMC which is in turn a requirement for Kodi, so this caused Kodi to get uninstalled:
Removing rbp2-device-osmc (1.2.9) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: error processing package rbp2-device-osmc (--remove):
subprocess installed pre-removal script returned error exit status 1
Removing python-pip (1.5.6-5) ...
dpkg: python-requests: dependency problems, but removing anyway as you requested:
mediacenter-addon-osmc depends on python-requests.
Removing python-requests (2.4.3-6) ...
dpkg: ca-certificates: dependency problems, but removing anyway as you requested:
armv7-network-osmc depends on ca-certificates.
Removing ca-certificates (20141019+deb8u1) ...
Removing dangling symlinks from /etc/ssl/certs... done.
Removing openssl (1.0.1k-3+deb8u4) ...
dpkg: armv7-network-osmc: dependency problems, but removing anyway as you requested:
rbp2-device-osmc depends on armv7-network-osmc.
Removing armv7-network-osmc (1.6.1) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: error processing package armv7-network-osmc (--remove):
subprocess installed pre-removal script returned error exit status 1
dpkg: rbp2-mediacenter-osmc: dependency problems, but removing anyway as you requested:
rbp2-device-osmc depends on rbp2-mediacenter-osmc.
Removing rbp2-mediacenter-osmc (16.0.0-1) ...
It looks like you ran the command to reinstall rbp2-device-osmc, and mediacenter-osmc is re-installed, so the issue is probably just that the mediacenter service is no longer enabled on boot. So just do:
Prior to this you have installed and removed all sorts of Python related packages. The problem was nothing to do with cron, but do with a required python package, as I mentioned previously. Be careful with what packages you remove as some are required by OSMC.
Whilst I can see from the logs that this has happened, I can assure you I have no idea how this happened. I have never removed a component and don’t even know the command to do so. All I did with the pi on that day was install cron.