Add support for Debian repositories.
Fixup Debian compatibility.