Matrix-synapse fails to install

You can try following. This will bring you to a special development branch.

G_DEV_BRANCH matrix
dietpi-software install 125

It will take some time to compile all modules if all goes well.