After an SD card went bad on me – you can read all about it here – I found the last full SD backup I have from a few years back, but I cannot seem to update from it.
It’s running Kodi 16.1, OS VERSION_ID=“2017.01-1”
Both “My OSMC” and the command line tell me I’m up to date. This is the output from sudo apt-get dist-upgrade:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I know I previously upgraded from the original copy of this SD card. And I have made no changes since restoring it. So I’m completely stumped.
A redacted version of the logs has been uploaded here.
I’d appreciate any pointers or suggestions.
Thanks in advance.
Your system is pointing to Debian (and OSMC) Jessie repositories, which are old:
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb http://apt.osmc.tv jessie main
You can either edit the file
/etc/apt/sources.list and change all occurrences of
stretch then follow that with:
sudo apt-get update
sudo apt-get dist-upgrade
or, snce you seem to be using a non-standard installation, possibly something like NOOBS, it might be easier and safer to install a new image of OSMC onto a fresh SD card.
Thanks for the feedback and suggestions.
I honestly can’t remember whether my original install was done using something called NOOBS. But given the name, it would not surprise me if I did.
I’ll try the manual edits you suggest first. I’m planning to get a Pi 4 very soon, and I’m willing to limp along if I can with my current setup, and save the full re-install until then.
Thank you again.
Just remember that OSMC currently doesn’t support the Pi 4 – and it’s likely to be a while before it does.
Oh, I didn’t know that. Will have to rethink those plans then.
And the dist-upgrade is giving me a lot more action now. Thanks again.
Pi 4 should be ready for Kodi v19, which in theory, will be available at the end of the year. If you check Git, a lot of progress has been made.
We don’t support updating from Jessie to Stretch anymore. We gave users two years to do so (from December 2017 to December 2019). Supporting an upgrade path after this time period became unfeasible. It might work, but isn’t supported.