Resolve package dependencies for unattended build.

Dependent packages are automatically downloaded to allow the build to
complete without user intervention.
Use cdn.debian.net instead of http.debian.net.

http.debian.net seems flakier than cdn.debian.net, so use the more
reliable alternative.