There are various security issues when using apt-get update in scripts:
- apt: Provide meaningful exit codes for gpg failures
- provide meaningful exit codes for network failures
- audit 'apt-get update' exit codes
TODO:
Check if Qubes' build script for building Debian and/or Whonix templates catch those issues and fix them if necessary.