Fix: Could not perform immediate configuration on 'libcrypt1:amd64'
https://gitlab.com/gitlab-org/gitlab-build-images/-/jobs/801097436#L1727
Error message:
E: Could not configure 'libc6:amd64'.
E: Could not perform immediate configuration on'libcrypt1:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
I've used a workaround from here: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/990740/comments/8