-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not configure 'libc6:amd64' #1131
Comments
Here's a minimal Dockerfile that reproduces this for me: FROM debian
RUN echo "deb http://ftp.us.debian.org/debian testing main" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y curl docker build . Full output
One workaround (xref) is to disable "immediate configuration" in the apt-get install: FROM debian
RUN echo "deb http://ftp.us.debian.org/debian testing main" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y curl -o APT::Immediate-Configure=0 Removing the |
Thanks, this worked for me. Will be closing it now. |
I wouldn't close it, the bug is still reproducible, the workaround is not a fix. |
Since the system is a chimera of Stable and Testing, would a more appropriate fix not be |
I agree. Please reopen it if possible. |
I have a similar issue and the workaround doesn't fix it. This is my code and error
Error
|
You should imply the workaround while running
|
That worked! Thanks |
This is still an issue please re-open (if not I will open a mirroring issue) |
Workaround the following failure I have with "docker build" on Docker Desktop on macOS. It might be related to docker/for-linux#1131. E: Could not configure 'libc6:i386'. E: Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) The command '/bin/sh -c apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -qq --no-install-recommends avr-libc build-essential ccache curl gcc gcc-avr gcc-multilib gettext git lib32z1-dev libc6-dev-i386 libasound2-dev libasound2-dev:i386 libcurl4-openssl-dev libpulse-dev libpulse-dev:i386 libpython2.7 libx11-dev libx11-dev:i386 libxext-dev libxext-dev:i386 linux-libc-dev:i386 linux-headers-generic python3 python3-pip python-is-python3 u-boot-tools unzip wget xxd && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
Workaround the following failure I have with "docker build" on Docker Desktop on macOS. It might be related to docker/for-linux#1131. E: Could not configure 'libc6:i386'. E: Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) The command '/bin/sh -c apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -qq --no-install-recommends avr-libc build-essential ccache curl gcc gcc-avr gcc-multilib gettext git lib32z1-dev libc6-dev-i386 libasound2-dev libasound2-dev:i386 libcurl4-openssl-dev libpulse-dev libpulse-dev:i386 libpython2.7 libx11-dev libx11-dev:i386 libxext-dev libxext-dev:i386 linux-libc-dev:i386 linux-headers-generic python3 python3-pip python-is-python3 u-boot-tools unzip wget xxd && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
Taken from an issue on the Docker for linux repo and a few other places: docker/for-linux#1131 Ubuntu bug report also seems to indicate this is safe: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1871268
Taken from an issue on the Docker for linux repo and a few other places: docker/for-linux#1131 Ubuntu bug report also seems to indicate this is safe: https://bugs.launchpad.net/ubuntu-cdimage/+bug/1871268
If you are comming here from googling something like "/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28 not found' or even "Docker GLIBC_2.28 not found", heres your solution. Also, if you are using a Dotnet Core docker container, heres some example code (for the base image of the Dockerfile):
|
sudo yum intsall gcc make sudo yum install gcc make or |
That should be: |
This is not a a Docker bug it is a packaging issue with the distro. There is nothing we can change in Docker to resolve this. Closing because there does not appear to be anything actionable here. Please track this issue upstream. Thanks😇 |
The following command
RUN apt-get install libfontconfig --yes
The following command gives the following error
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)
Tried on node version 14.11.0 docker version 19.03.13 os version 20.04 LTS
Expected behavior
Actual behavior
Steps to reproduce the behavior
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
The text was updated successfully, but these errors were encountered: