-
Notifications
You must be signed in to change notification settings - Fork 453
Docker image 21.04 (rolling) - apt update error #207
Comments
I'm unable to reproduce. 😕 $ docker pull ubuntu:rolling
rolling: Pulling from library/ubuntu
c830499a6a92: Pull complete
b38f134463e2: Pull complete
2fd6a415fd8e: Pull complete
Digest: sha256:be154cc2b1211a9f98f4d708f4266650c9129784d0485d4507d9b0fa05d928b6
Status: Downloaded newer image for ubuntu:rolling
docker.io/library/ubuntu:rolling
$ docker run -it --rm ubuntu:rolling
root@076520bcf464:/# apt update
Get:1 http://security.ubuntu.com/ubuntu hirsute-security InRelease [101 kB]
Get:2 http://archive.ubuntu.com/ubuntu hirsute InRelease [269 kB]
Get:3 http://security.ubuntu.com/ubuntu hirsute-security/multiverse amd64 Packages [1725 B]
Get:4 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages [29.4 kB]
Get:5 http://security.ubuntu.com/ubuntu hirsute-security/universe amd64 Packages [10.8 kB]
Get:6 http://security.ubuntu.com/ubuntu hirsute-security/restricted amd64 Packages [97.2 kB]
Get:7 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease [109 kB]
Get:8 http://archive.ubuntu.com/ubuntu hirsute-backports InRelease [90.7 kB]
Get:9 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages [16.8 MB]
Get:10 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 Packages [252 kB]
Get:11 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 Packages [111 kB]
Get:12 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages [1791 kB]
Get:13 http://archive.ubuntu.com/ubuntu hirsute-updates/multiverse amd64 Packages [1725 B]
Get:14 http://archive.ubuntu.com/ubuntu hirsute-updates/restricted amd64 Packages [97.2 kB]
Get:15 http://archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages [17.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages [41.2 kB]
Fetched 19.8 MB in 9s (2257 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@076520bcf464:/# |
That's very weird! I have the exact same image IDs pulled, and yet I still have the error. I'm running Docker version 18.09.1, build 4c52b90 on a Debian Buster. I'll try from a Ubuntu device later. |
Nope, I confirm the same problem on a Ubuntu 20.10, strange... |
This looks very similar to debuerreotype/docker-debian-artifacts#122; if using
See moby/moby#40734 for more details around this (and similar issues). |
@tianon , indeed, adding |
After a few tries I was able to find a workaround. The problem is Warning So my Dockerfile starts like that:
The file sources.list:
And the file 99own:
|
When I pull the docker image ubuntu:rolling, the command
apt update
is on error and makes it impossible to upgrade or install any package:Is there something I did wrong?
The text was updated successfully, but these errors were encountered: