[SOLVED] How to upgrade matrix-synapse from stable to buster-backports?

Problem Description
Matrix Synapse application page > Configure > “The application needs to be updated! Update now?” tries to download and install

matrix-synapse, matrix-synapse-ldap3  

but gives > Error during installation E: Unable to correct problems, you have held broken packages.

$ apt list --upgradable -a
Listing… Done
matrix-synapse/buster-backports 1.5.1-1~bpo10+1 all [upgradable from: 0.99.2-6]
matrix-synapse/stable,now 0.99.2-6 all [installed,upgradable to: 1.5.1-1~bpo10+1]

Steps to Reproduce

  1. Login to FreedomBox.
  2. Go to Matrix Synapse application page.
  3. Click on the Configure button.
  4. “The application needs to be updated! Update now?”
  5. Click on ‘Submit data’ button.

Expected Results
I expected matrix-synapse and matrix-synapse-ldap3 to be upgraded.

Actual results
I get an error with the following message:

Error during installation E: Unable to correct problems, you have held broken packages.

$ apt list --upgradable -a
Listing… Done
matrix-synapse/buster-backports 1.5.1-1~bpo10+1 all [upgradable from: 0.99.2-6]
matrix-synapse/stable,now 0.99.2-6 all [installed,upgradable to: 1.5.1-1~bpo10+1]

Screenshot

Information

  • FreedomBox version: 19.21 on Raspbian GNU/Linux 10 (buster)
  • Hardware: Raspberry Pi 4 Model B
  • How did you install FreedomBox?: Raspbian with ‘apt install freedombox’ and manual upgrade via cockpit then upgrade via FreedomBox UI

Found Debian Backports ›› Instructions at Instructions and installed the matrix-synapse package from backports with

apt-get -t buster-backports install matrix-synapse

Under ’ Package configuration’, I had to enter the name of the home server and answer ‘Report anonymous statistics?’ with No.

So, this one could be marked [SOLVED].

1 Like

Thanks for documenting your work! I have marked this topic as [SOLVED].

This has been recently fixed and should be available to all users through the upcoming release this week. https://salsa.debian.org/freedombox-team/plinth/merge_requests/1637