Skip to content

Instantly share code, notes, and snippets.

@zoonderkins
Last active September 11, 2025 05:20
Show Gist options
  • Save zoonderkins/59d08362fb9187a00303d3dec824fb6b to your computer and use it in GitHub Desktop.
Save zoonderkins/59d08362fb9187a00303d3dec824fb6b to your computer and use it in GitHub Desktop.
dnsdist-2.1-master install on debian 13

Error

The following packages have unmet dependencies:
 dnsdist : Depends: libre2-9 (>= 20131024+dfsg) but it is not installable
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. dnsdist:amd64=2.1.0~alpha0+master.717.g1fe1273bc-1pdns.debian12 is selected for install
   2. dnsdist:amd64=2.1.0~alpha0+master.717.g1fe1273bc-1pdns.debian12 Depends libre2-9 (>= 20131024+dfsg)

Solution

# Add bullseye temporarily
echo "deb http://deb.debian.org/debian bullseye main" | sudo tee /etc/apt/sources.list.d/bullseye-temp.list

# Pin low so it doesn't downgrade your system
sudo tee /etc/apt/preferences.d/99-bullseye-re2 <<'EOF'
Package: *
Pin: release n=bullseye
Pin-Priority: 100
EOF

sudo apt update
sudo apt -t bullseye install libre2-9
sudo apt install dnsdist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment