Apt-get can't connect when trying to update after upgrading Whonix 15 TemplateVM and apparmor-profile-everything.

Did you enable onion sources?

Be aware that enabling onion repositories may cause system updates to periodically fail due to their unreliability [archive]. If this becomes an issue, it is encouraged to Re-enable Clearnet Repositories so packages can be updated.