The following script replaces repository URLs to allow installation of apps on this legacy Debian version.
sed -i \
-e 's|deb.debian.org/debian-security|archive.debian.org/debian-security|g' \
-e 's|deb.debian.org/debian|archive.debian.org/debian|g' \
/etc/apt/sources.list