Problem Description
When I run sudo apt update through ssh, I get several warnings that updates could not be retrieved because the links could not be resolved (in German below). I discovered the issue after re-runnig the setup for Matrix (in Plinth) and getting an error message about the apt command failing. So I checked to see what happens when manually running apt update.
Warnung: Fehlschlag beim Holen von http://deb.debian.org/debian/dists/trixie/InRelease »deb.debian.org« konnte nicht aufgelöst werden.
Warnung: Fehlschlag beim Holen von http://deb.debian.org/debian/dists/trixie-updates/InRelease »deb.debian.org« konnte nicht aufgelöst werden.
Warnung: Fehlschlag beim Holen von http://security.debian.org/debian-security/dists/trixie-security/InRelease »security.debian.org« konnte nicht aufgelöst werden.
Warnung: Fehlschlag beim Holen von http://deb.debian.org/debian/dists/unstable/InRelease »deb.debian.org« konnte nicht aufgelöst werden.
Warnung: Fehlschlag beim Holen von http://deb.debian.org/debian/dists/trixie-backports/InRelease »deb.debian.org« konnte nicht aufgelöst werden.
Warnung: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
I re-ran the setup for Matrix because I appear to be having federation problems, despite Matrix Federation Tester saying everything is working. The error message I receive in Plinth for Matrix is:
Error updating app: Apt command failed with return code: 100 Details
Error running action: plinth..install(app_id="matrixsynapse", packages=["matrix-synapse", "matrix-synapse-ldap3", "python3-psycopg2"], skip_recommends=false, force_configuration=null, reinstall=false, force_missing_configuration=false): RuntimeError("Apt command failed with return code: 100")
Stdout:
│ freedombox set on hold.
│ Canceled hold on freedombox.
Stderr:
║ E: Unable to correct problems, you have held broken packages.
║ E: The following information from --solver 3.0 may provide additional context:
║ Unable to satisfy dependencies. Reached two conflicting decisions:
║ 1. python3-rpds-py:armhf=0.28.0-1 is not selected for install
║ 2. python3-rpds-py:armhf=0.28.0-1 is selected as an upgrade because:
║ 1. matrix-synapse:armhf=1.146.0-3 is selected as an upgrade
║ 2. matrix-synapse:armhf=1.146.0-3 Depends python3-rpds-py (>= 0.25.0)
Action traceback:
╞ File "/usr/lib/python3/dist-packages/plinth/actions.py", line 501, in _privileged_call
╞ return_values = func(*arguments['args'], **arguments['kwargs'])
╞ File "/usr/lib/python3/dist-packages/plinth/privileged/packages.py", line 69, in install
╞ raise RuntimeError(
╞ f'Apt command failed with return code: {returncode}')
My sources list via $ less /etc/apt/sources.list:
deb http://deb.debian.org/debian trixie main
deb-src http://deb.debian.org/debian trixie main
deb http://deb.debian.org/debian trixie-updates main
deb-src http://deb.debian.org/debian trixie-updates main
deb http://security.debian.org/debian-security/ trixie-security main
deb-src http://security.debian.org/debian-security/ trixie-security main
Do I need to change my sources list? Or something else to resolve these update issues?
Information
- FreedomBox version: “You are running Debian GNU/Linux 13 (trixie) and FreedomBox version 26.4.1. FreedomBox is up to date.” (from Help → About page)
- Hardware: Olimex Pioneer Edition
- How did you install FreedomBox?: Downloaded image from freedombox.org many years ago.