Synapse Matrix install error

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version

cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=10
G_DIETPI_VERSION_SUB=0
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
root@DietPi:~#

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN

trixie 0

  • Kernel version | uname --all

Linux DietPi 6.12.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.62-1+rpt1 (2025-12-18) aarch64 GNU/Linux

  • Architecture | dpkg --print-architecture

arm64

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

RPi 4 Model B (aarch64)

  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Hello, I’m back to ask for help from the forum again with a problem installing a Synapse (Matrix) server.

I obviously went through dietpi-software, but during installation I got an error message

× Cannot uninstall typing_extensions 4.13.2
╰─> The package’s contents are unknown: no RECORD file was found for typing_extensions.

hint: The package was installed by debian. You should check if it can uninstall the package.

[FAILED] DietPi-Software | pip3 install -U matrix-synapse psycopg2
[FAILED] DietPi-Software | Unable to continue, DietPi-Software will now terminate.

Do you have a solution for me?

Thank you

<!-- Explain Successfully built psycopg2
                                │ Installing collected packages: typing-extensions, semantic_version, rpds-py, pyyaml, python-multipart, pyrsistent,
                                │ pyparsing, psycopg2, prometheus-client, phonenumbers, netaddr, multipart, msgpack, matrix-common, immutabledict,
                                │ ijson, canonicaljson, bleach, setuptools-rust, referencing, pynacl, signedjson, pymacaroons,
                                │ jsonschema-specifications, treq, jsonschema, matrix-synapse
                                │   Attempting uninstall: typing-extensions
                                │     Found existing installation: typing_extensions 4.13.2
                                │ error: uninstall-no-record-file
                                │
                                │ × Cannot uninstall typing_extensions 4.13.2
                                │ ╰─> The package's contents are unknown: no RECORD file was found for typing_extensions.
                                │
                                │ hint: The package was installed by debian. You should check if it can uninstall the package. how to reproduce the issue -->