mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- If an app declares dependency on package that is also a dependency for freedombox, then during the app's uninstall, the dependency is attempt to be removed and will fail (because freedombox package will be held state). - Add freedombox (and thus its dependencies) to the list packages that should be removed from list of packages to be removed during app uninstall. - In test case, update list of packages attempted removal as the 'freedombox' package is installed only in some environments. Tests: - Uninstall janus works. Log messages show that libjs-bootstrap5 and node-popper2 are in the list of packages originally set to removed during app uninstall but are later filtered out. - Run pytest with 'freedombox' package installed and ensure all tests pass. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>