Remove and forget downloaded update?

My OSMC recently downloaded an update I don’t want to install (Krypton, I presume), I’ve turned off automatic updates, but OSMC keeps nagging me about restarting to apply the update.

How can I remove that downloaded update or at least get OSMC to forget it’s there?

sudo apt clean

1 Like

Thanks, Toast. The command finished instantly and produced no output so I’ll hope it worked. Those nags seem to pop up pretty randomly but if I haven’t seen one by Friday, I’ll return to the thread and check the “Solves the problem” checkbox.

For those playing along at home, the command was:

sudo apt-get clean

Thanks again, much appreciated.

imho its always better to update but cant force every user to do so

You can disable update checks in My OSMC -> Updater.

1 Like

@Toast: I ran the Krypton update on my previous OSMC installation, but it didn’t create its databases on my MySQL server and, as I had two other Kodi boxes in the house sharing the same database and limited available time, I decided to revert to a saved OSMC image rather than dig into the update issues.

@sam_nazarko: Thanks, and I’ve already done that. I’m on satellite internet with a tiny data cap, so I have to shut off automatic updates on all my devices to keep them from eating up my paltry data allowance.

Speaking of which, does anyone know how I can restrict OSMC’s automatic update downloads to a particular window of time? I have unmetered data from 3A-8A, and it’d be great if I could get OSMC to only download during those hours.

Well there is such an option in MyOSMC to put the time of the day when to check for updates, didn’t you see it? Only alternative is to create a respective cronjob

1 Like

@fzinken: Good to know, I hadn’t seen that before. A cron job would actually be better since I can use the timeout binary to run the update with a time limit (not that an OSMC update would run five hours but with a 5GB monthly data cap, it never hurts to be sure.)

Great idea, thanks!