Skip to content

fix: docker build fails installing git #605

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

Merged
merged 1 commit into from
Jun 15, 2023
Merged

fix: docker build fails installing git #605

merged 1 commit into from
Jun 15, 2023

Conversation

SvenStaehs
Copy link
Contributor

@SvenStaehs SvenStaehs commented Jun 15, 2023

git was installed from bullseye-backports,
but base image is referencing latest python:3.10
since bookworm was recently released,
this now points at bookworm and installing the backport of git
is actually trying to downgrade, resulting in this error:

E: Packages were downgraded and -y was used without --allow-downgrades.

ERROR: failed to solve: process "/bin/sh -c echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list; apt-get update; apt-get install -y git/bullseye-backports" did not complete successfully: exit code: 100

Closes #606

git was installed from bullseye-backports, but base image is referencing latest python:3.10
since bookworm was recently released, this now points at bookworm and installing the backport of git is actually trying to downgrade, resulting in this error:

> E: Packages were downgraded and -y was used without --allow-downgrades.

> ERROR: failed to solve: process "/bin/sh -c echo \"deb http://deb.debian.org/debian bullseye-backports main\" >> /etc/apt/sources.list;     apt-get update;    apt-get install -y git/bullseye-backports" did not complete successfully: exit code: 100
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.

action fails since bookworm release
2 participants