Skip to content
English
  • There are no suggestions because the search field is empty.

[Public] Fixing Missing Package Dependencies on Azure App Service (Debian 10 Buster)

How to Update APT Sources on End-of-Life Debian Containers

Overview

Azure App Service on Linux often runs on Debian-based distributions. If your app is hosted on a Debian 10 (buster) environment, you may face issues installing certain libraries—especially when integrating PDF rendering tools like IronPDF.

Here’s the typical OS version found in such environments:

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
VERSION="10 (buster)"
 

Since Debian 10 has reached End of Life, its default package mirrors no longer serve all required dependencies, causing installation failures.

Symptoms

Installing IronPDF or similar packages may result in errors related to missing libraries:

libc6-dev libgtk-3-0 libnss3 libatk-bridge2.0-0 libx11-xcb1
libxcb-dri3-0 libdrm2 libgbm1 libasound2 libxkbcommon-x11-0
libxrender1 libfontconfig1 libxshmfence1

Solution

To restore package availability, switch your APT sources to the Debian archive, which retains packages for deprecated distributions.

Run the following commands in your container or startup script:

sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list
sed -i 's|http://deb.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list
# echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99no-check-valid-until

Final Steps

After updating the source list, run:

apt-get update
 

You can now proceed to install IronPDF or any other packages without missing dependency issues.