mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
This is to recover from a situation where the package is held, and then plinth process is interrupted so it cannot release the hold. We check for and recover from this situation when installing new apps, and when running dist upgrade. This provides another way to recover from the problem, by running manual update. Tests: - (normal) No hold on freedombox package, and flag is not set. Run manual update. Afterwards, there is no hold, and flag is not set. - (admin preference) Place hold on freedombox package, but flag is not set. Run manual update. Afterwards, there is still a hold, but flag is not set. - (recovery) Place hold on freedombox package, but flag is set. Run manual update. Afterwards, there is no hold, and flag is not set. Signed-off-by: James Valleroy <jvalleroy@mailbox.org>