From d1379530dbecca3241603a7578c1ac081e45c4da Mon Sep 17 00:00:00 2001 From: nbenedek Date: Thu, 8 Sep 2022 23:27:18 +0200 Subject: [PATCH] matrixsynapse: Allow matrix-synapse >= 1.65 to install successfully Closes: #2263 - matrix-synapse >= 1.65.0-1 requires python3-canonicaljson >= 1.6.2~ Tests: - On a stable Vagrant Box, matrixsynapse app is not installable. - With the changes, start FreedomBox service, setup will run on the upgrades module and /etc/apt/preferences.d/51freedombox-apps.conf will be changed to include the new entry. After this, matrix-synapse app is installable. Signed-off-by: nbenedek Reviewed-by: Sunil Mohan Adapa --- actions/upgrades | 6 ++++++ plinth/modules/upgrades/__init__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/actions/upgrades b/actions/upgrades index b4d46f207..3f12ea4f7 100755 --- a/actions/upgrades +++ b/actions/upgrades @@ -74,6 +74,12 @@ Explanation: python3-unpaddedbase64 >= 2.1.0~ Package: python3-unpaddedbase64 Pin: release a=bullseye-backports Pin-Priority: 500 + +Explanation: matrix-synapse >= 1.65.0-1 requires +Explanation: python3-canonicaljson >= 1.6.2~ +Package: python3-canonicaljson +Pin: release a=bullseye-backports +Pin-Priority: 500 ''' DIST_UPGRADE_OBSOLETE_PACKAGES: List[str] = [] diff --git a/plinth/modules/upgrades/__init__.py b/plinth/modules/upgrades/__init__.py index c58e2bbe3..a530f868e 100644 --- a/plinth/modules/upgrades/__init__.py +++ b/plinth/modules/upgrades/__init__.py @@ -60,7 +60,7 @@ class UpgradesApp(app_module.App): app_id = 'upgrades' - _version = 14 + _version = 15 can_be_disabled = False