Skip to content

Fix: Could not perform immediate configuration on 'libcrypt1:amd64'

Vasilii Iakliushin requested to merge fix_immediate_configuration_error into master

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)

The last pipeline executed successfully, however today it started failing on master branch without changes to the code. It raises an error when we try to install dependencies for yamllint package.

I've used a workaround from here: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/990740/comments/8

Testing

I built a docker image locally, mounted it to the www-gitlab-com repository, executed bundle install and ./bin/rake lint:yamllint. All steps were successful.

root@fc50c1e2c2c2:/home# ./bin/rake lint:yamllint

=> Lint all YAML files under data/ with yamllint
/usr/bin/yamllint
root@fc50c1e2c2c2:/home#

/cc @cwoolley-gitlab FYI

Edited by Vasilii Iakliushin

Merge request reports

Loading