PowerDNS-Admin will not run on Debian 13. This is due to the following dependencies being upgraded and PDNS-Admin not supporting them:
python3.11 upgrades to python3.13libldap-2.5 upgrades to libldap2-2.6To re-install the two dependencies, follow these steps:
Use pyenv to install Python v3.11. The system will continue to use the newer version provided by APT.
The new version should be installed to a path that looks similar to /usr/share/pyenv/versions/3.11.11/bin/python3.11
pyenv install 3.11.11
The venv in the PDNS-Admin project directory needs to be rebuilt with the new instance of Python 3.11
cd /opt/web/powerdns-admin/ && \
rm -r venv && \
/usr/share/pyenv/versions/3.11.11/bin/python3.11 -m venv venv
Enter the new venv and use pip to install project dependencies again
source venv/bin/activate && \
pip install -r requirements.txt
This should fix the Python versioning issue.
Download libldap-2.5 from the Debian Packages Website
wget http://http.us.debian.org/debian/pool/main/o/openldap/libldap-2.5-0_2.5.13+dfsg-5_amd64.deb
Use APT to install the package
apt install ./libldap-2.5-0_2.5.13+dfsg-5_amd64.deb