Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: No in-place update ?
#8
(10-21-2022, 02:41 PM)TheOldPresbyope Wrote: @Falconcrest

If writing custom code on a moOde player, then it's generally a good idea to use apt update.

OTOH, it's generally not a good idea to run apt upgrade since each released moOde image has been built against a specific version of Raspberry Pi OS and its libraries. Frequently the changes to system libraries, etc., incurred in an upgrade are benign, but once in a while things break because of incompatible changes. Use at your own risk. The worst that can happen is you have to flash a new moOde image and configure it for your circumstances.

Regards,
Kent

I would agree that doing apt upgrade or dist-upgrade could cause breakage. 

Many of the packages that moOde directly depends on are "held" and so they can't be upgraded via apt without explicitly removing the holds. This can further complicate an apt upgrade though because if a package being upgraded is dependent on one of the held packages that particular upgrade won't be done. What you can end up with is a partially upgraded system in an unknown state :-0

If all the moOde package holds are removed then an upgrade can cause other types of problems for example if the upgrade bumps the Linux kernel then the four custom drivers that we compile two of which are for the Allo SIG won't be present. If the upgrade bumps the version of PHP then moOde won't work at all.

Given that our project releases a new version of moOde every quarter and each version includes the latest upgrades you will only be a few months behind the latest upgrades from the Raspberry Pi crew. This assumes you go with a fresh image and restore settings from a backup. We don't do any apt upgrades in the in-place updates.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
No in-place update ? - by Falconcrest - 10-21-2022, 11:18 AM
RE: No in-place update ? - by Tim Curtis - 10-21-2022, 12:12 PM
RE: No in-place update ? - by Falconcrest - 10-21-2022, 02:30 PM
RE: No in-place update ? - by Tim Curtis - 10-21-2022, 03:11 PM
RE: No in-place update ? - by Falconcrest - 10-21-2022, 03:37 PM
RE: No in-place update ? - by TheOldPresbyope - 10-21-2022, 02:41 PM
RE: No in-place update ? - by Falconcrest - 10-21-2022, 03:34 PM
RE: No in-place update ? - by Tim Curtis - 10-21-2022, 03:40 PM
RE: No in-place update ? - by Falconcrest - 10-22-2022, 08:00 PM

Forum Jump: