-
Notifications
You must be signed in to change notification settings - Fork 262
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
Docker development environment does not work (Ubuntu 24.04.1), cannot find all repos. #1254
Comments
Hello @Syonyk ; can you try |
It took longer to fail, but appears to have failed on a similar issue later on.
|
@Syonyk Maybe Perhaps there is a networking / VPN or firewall issue |
I don't believe it's a transient issue. There is no I don't know enough about Docker to know where that out of date apt sources.list file is coming from. |
Odd, it works for me using
|
I got the same result using the official docker packages. Maybe check the instructions at https://docs.docker.com/engine/install/ubuntu/ ?
|
whoops, I take that back, with the official docker packages I can reproduce your error. I suggest switching to podman :-) |
I think it is the diff --git a/docker/Dockerfile b/docker/Dockerfile
index 70d91b77..d1f83a92 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -7,14 +7,6 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG QEMU_GIT=n
ARG ARCHS="arm64 armel armhf i386 mips64el ppc64el s390x riscv64"
-RUN \
- apt-get update -y && \
- apt-get upgrade -y && \
- apt-get install -y netselect-apt && \
- if netselect-apt -n ${release}; then \
- mv sources.list /etc/apt/sources.list; \
- fi
-
COPY docker/bin /tmp/simde-bin
RUN \
for script in simde-reset-build.sh; do \ |
Yes, netselect is to blame: https://bugs.debian.org/1012313 |
Is there an easy fix to not use it/work around it? I'll try podman, though. |
Remove the |
I'm attempting to use the Docker development environment on Ubuntu 24.04, and it does not properly update the environment. The issue seems to be a change in a path for Debian security repos.
Error log:
The primary issue seems to be the Debian security repo:
Per https://serverfault.com/questions/1074688/security-debian-org-does-not-have-a-release-file-on-with-debian-docker-images the path has changed from
deb http://security.debian.org/debian-security stable/updates main
todeb http://security.debian.org/debian-security stable-security/updates main
- and this is also mentioned in a note in the Debian handbook: https://debian-handbook.info/browse/en-US/stable/apt.html#sect.apt-sources.list.testingI'm not familiar enough with Docker to know how to go about fixing this, but if someone can point me in the right direction, I'm happy to create a PR to fix it.
The text was updated successfully, but these errors were encountered: