Debian Trixie enforces PEP 668 (externally-managed-environment),
blocking system-wide pip installs. Export PIP_BREAK_SYSTEM_PACKAGES=1
to allow pip to install sabyenc and other Python deps in the container.
python3-yenc was removed from Debian Trixie. SABnzbd uses sabyenc
(via pip) as the replacement. Uncomment the pip install line and
remove python3-yenc from apt RUNTIME_PACKAGES.
Debian Trixie uses the new deb822 format (/etc/apt/sources.list.d/debian.sources)
instead of the old /etc/apt/sources.list file. The two sed commands that target
sources.list need updating:
- Remove archive.debian.org redirect (Trixie is still active on main mirrors)
- Add contrib/non-free to the deb822-format sources file