Skip to content

Installation of gcc 10 on python:3.8-slim started failing recently #555

@yhf8377

Description

@yhf8377

I have a Dockerfile like this:

FROM python:3.8-slim

RUN echo 'deb http://deb.debian.org/debian testing main' >> /etc/apt/sources.list \
    && apt-get update && apt-get install --no-install-recommends -y gcc g++
...

I used this docker file to install gcc 10 to my build environment. This worked fine until recently (I have a nightly build that started failing since yesterday).

The error messages are:

Setting up g++ (4:10.2.0-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Processing triggers for libc-bin (2.31-4) ...
E: Could not configure 'libc6:amd64'.
E: Could not perform immediate configuration on 'libnss-nis:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

Is there any work around for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions