deb http://deb.debian.org/debian bookworm main contrib non-free
deb-src http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free
deb-src http://security.debian.org/debian-security/ bookworm-security main contrib non-free
deb http://ftp.de.debian.org/debian bookworm-backports main contrib non-free
This is /etc/apt/sources.list.d/freedombox2.list:
# This file is managed by FreedomBox, do not edit.
# Allow carefully selected updates to 'freedombox' from backports.
deb http://deb.debian.org/debian bookworm-backports main
deb-src http://deb.debian.org/debian bookworm-backports main
The original apt sources files for Bookworm look somewhat like this:
deb http://deb.debian.org/debian bookworm main
deb-src http://deb.debian.org/debian bookworm main
deb http://deb.debian.org/debian bookworm-updates main
deb-src http://deb.debian.org/debian bookworm-updates main
deb http://security.debian.org/debian-security/ bookworm-security main
deb-src http://security.debian.org/debian-security/ bookworm-security main
and
deb http://deb.debian.org/debian bookworm-backports main
deb-src http://deb.debian.org/debian bookworm-backports main
When FreedomBox says that the current distribution is “Unknown or mixed”, then it is trying to parse all the files in the /etc/apt/sources.list and /etc/apt/sources.list.d. Then it extracts all the “distribution” parts from there. In your case it is “bookworm”, “bookworm-updates” and “bookworm-security”. Then it strips the ‘-updates’ and ‘-security’. Then there should only one be one distribution code remaining. If multiple distribution codes are present, it shows “unknown or mixed”. From your posting, everything looks okay with your sources files. Are there any other sources files in the /etc/apt/sources.list.d directory? If so, temporarily move them. Let FreedomBox complete the distribution upgrade to Trixie and then setup those sources again.
So now it seems to be okay again. The only thing I changed was, I removed the double entry for bookworm-backports in /etc/apt/sources.list (last line).
There are no other source files apart from the standard two.
Now the original problem unfortunately still persists. I checked the backport packages for bookworm and could not find matrix-synapse in it. I don’t understand, where does Freedombox source the package files from?