Skip to content
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

Dockerfile: APT::Immediate-Configure=0 to workaround failures #86

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

yamt
Copy link
Contributor

@yamt yamt commented Jan 12, 2021

Summary

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

Impact

Testing

build and tested locally (with #87)

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
@btashton
Copy link
Contributor

Makes sense since that is the section that we pull in the 32bit version of libc. Usually this goes away when the base image gets updated, but no harm here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants