From bba9068158c8e62172cb7dea79d38063ac1d3d45 Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Fri, 12 Jun 2026 08:08:11 -0400 Subject: [PATCH] fix: replace python3-yenc with pip sabyenc for Trixie compatibility 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. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ae7fbb9..f05b2e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,12 +25,12 @@ ENV LANG C.UTF-8 RUN export SABNZBD_VERSION=3.7.2 PAR2CMDLINE_VERSION=v0.6.14-mt1 && \ export DEBIAN_FRONTEND=noninteractive && \ export BUILD_PACKAGES="automake build-essential python3-dev libffi-dev" && \ - export RUNTIME_PACKAGES="ca-certificates p7zip-full python3-yenc unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \ + export RUNTIME_PACKAGES="ca-certificates p7zip-full unrar unzip libgomp1 openssl python3-openssl curl python3-pip" && \ export PIP_PACKAGES="sabyenc" && \ sed -i "s/Components: main/Components: main contrib non-free/" /etc/apt/sources.list.d/debian.sources && \ apt-get -qq update && \ apt-get -qq --yes install $BUILD_PACKAGES $RUNTIME_PACKAGES && \ - #pip3 install $PIP_PACKAGES && \ + pip3 install $PIP_PACKAGES && \ curl -SL -o /tmp/sabnzbd.tar.gz https://github.com/sabnzbd/sabnzbd/releases/download/${SABNZBD_VERSION}/SABnzbd-${SABNZBD_VERSION}-src.tar.gz && \ tar xzf /tmp/sabnzbd.tar.gz && \ mv SABnzbd-* sabnzbd && \