[HOWTO] Self updating OSMC Distribution (Not recommended for inexperienced users)

I’m a bit concerned about this. The reason we don’t support unattended upgrades currently is because they’re not reliable enough to work. Furthermore, a lot of people will say their device suddenly stopped working, when the actual issue is that their system was updated. This will confuse people.

It’s also worth mentioning that without disabling updates in My OSMC, both unattended upgrades and My OSMC will fight for the lock.

If logs show unattended-upgrades as installed and they post logs, we will only ask them to reinstall. I don’t plan to support this feature at this time, so won’t go to lengths to debug any issues caused by it.

This is not a good idea. I can see you’ve hardcoded the packages, but if we introduce new packages or other Debian packages signal that a reboot is required, there may be no prompt. Instead, you should simply check for the /var/run/reboot-required flag.