Deployment Troubleshooting for IronPdf on Debian 10 (Buster)
When building a Docker image for an IronPDF deployment using a Debian 10 (Buster) base image, the Docker build fails during the apt-get update step with 404 errors.
0.648 Err:4 http://deb.debian.org/debian buster Release
0.648 404 Not Found [IP: 151.101.162.132 80]
0.657 Err:5 http://deb.debian.org/debian-security buster/updates Release
0.657 404 Not Found [IP: 151.101.162.132 80]
0.708 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
0.708 E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file.
Debian 10 (Buster) is End of Life. Its repositories were removed from deb.debian.org, so any Docker image that calls apt-get update against the default Buster mirrors will fail with these 404 errors. The error is not caused by IronPDF's dependency install command itself but by the missing repository metadata.
Solution
Option 1: Upgrade to Debian 12 with .NET 8 (Recommended)
Migrate the Dockerfile base image to mcr.microsoft.com/dotnet/aspnet:8.0 or another Debian 12-based image. IronPDF fully supports Debian 12 and .NET 8. See the IronPDF Docker guide for a complete working Dockerfile.
Option 2: Redirect APT to the Debian archive in the Dockerfile
Add sed commands before apt-get update to rewrite sources.list to point at archive.debian.org:
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
RUN sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list \
&& sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y \
libgobject-2.0-0 libglib2.0-0 libnss3 libatk1.0-0 libatk-bridge2.0-0 \
libcups2 libxcomposite1 libxrandr2 libxdamage1 libxfixes3 \
libxkbcommon0 libxshmfence1 libgbm1 libasound2 \
libpangocairo-1.0-0 libpango-1.0-0 libgtk-3-0 \
fonts-liberation ca-certificates \
&& rm -rf /var/lib/apt/lists/*
This approach works for existing .NET Core 3.1 deployments that cannot yet migrate to .NET 8. Note that Debian 10 receives no further security patches, so migrating to Debian 12 remains the recommended path.

