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)
```
This commit is contained in:
Vasilii Iakliushin 2020-10-20 12:28:05 +02:00
parent 290ebc7aaf
commit 722983bf6b

View file

@ -40,6 +40,9 @@ YARN_INSTALL_VERSION=1.21.1-1
YAMLLINT_VERSION=1.24.2
echo "deb http://deb.debian.org/debian testing main" | tee -a /etc/apt/sources.list.d/testing.list
apt update
# Fix for immediate configuration error - https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/332
apt -t testing install -o APT::Immediate-Configure=false -yq libcrypt1
apt -t testing install -yq yamllint=${YAMLLINT_VERSION}-1
# Install gitlab-runner