kaniko: Kaniko build fails on apt-get reporting "unable to fetch libraries"

Actual behavior Kaniko build fails on apt-get reporting “unable to fetch libraries” while the same build succeed under ‘docker build’.

A changing the docker file to rebuild the package cache per this documentation (https://sites.google.com/site/longphanwiki/basic-skills/ubuntu-linux) will solve the problem, however, these directives are not needed when running the build via docker build.

Expected behavior The container is built successfully.

To Reproduce Steps to reproduce the behavior:

  1. Perform a kaniko build of the docker file listed below
  2. Perform a docker build of this same file
  3. Compare output

Additional Information

  • Dockerfile

The dockerfile that’s failing under kaniko is defined below:

FROM botpress/server:v12_0_0
RUN chmod -R gou+rw /botpress
WORKDIR /botpress

RUN apt-get update \
&& apt-get -y install curl gnupg \
&& curl -sL https://deb.nodesource.com/setup_11.x | bash \
&& apt-get -y install nodejs \
&& apt-get -y install rsync \
&& apt-get upgrade -y
 
RUN cd /botpress && npm install && npm install node-sp-auth --save-dev && npm install sp-request --save-dev && npm install activedirectory --save-dev
 
EXPOSE 3000-55000
CMD ["./bp"]
  • Build Context N/A
  • Kaniko Image (fully qualified with digest) gcr.io/kaniko-project/executor:debug

Notes: If you add the following directives before the apt-get install, kaniko will build the container:

RUN apt-get clean \
 && cd /var/lib/apt \
 && mv lists lists.old \
 && mkdir -p lists/partial \
 && apt-get update \
 && apt-get upgrade -y 

Question:

Is this behavior anticipated? If not, is this a bug in kaniko?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 4
  • Comments: 35 (15 by maintainers)

Most upvoted comments

@andraxin that kind of comment is uncalled for. Refer to the code of conduct for more info

https://github.com/GoogleContainerTools/kaniko/blob/master/code-of-conduct.md

got the same issue

INFO[0138] args: [-c apt-get update && apt-get install -y 	graphicsmagick 	graphicsmagick-imagemagick-compat && apt-get clean && rm -rf /var/lib/apt/lists/*]
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Reading package lists...
E: Release file for http://security.debian.org/debian-security/dists/stretch/updates/InRelease is expired (invalid since 18d 23h 47min 32s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/stretch-updates/InRelease is expired (invalid since 21d 8h 24min 39s). Updates for this repository will not be applied.
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 100

Hi @tejal29

I’m not sure in what way one isolated example that happens to work is supposed to help in solving the original problem, but since the issue is tagged as awaiting evidence, I thought I’d provide more evidence and slightly more insight into what’s actually broken and why the mostly irrelevant example provided happens to still work.

The evidence shows that kaniko resets all timestamps in the original image to the current date and time, resulting in apt update not fetching any updates, which has a reasonable chance of producing the kind of errors reported above (and seen below). Recent image builds that happen to have those exact same InRelease files in the image that are hosted on the servers are unaffected; and so are install commands that do not reference packages whose version has not changed between the InRelease files embedded in the image and those on the server…

Here’s a simple Dockerfile that should allow anyone to reproduce the issue:

FROM tensorflow/tensorflow:2.0.0-py3 

RUN set -ex; \
    date; \
    ls -l /var/lib/apt/lists; \
    export DEBIAN_FRONTEND=noninteractive; \
    apt-get update; \
    apt-get install -y tzdata

Passing this to kaniko results in the following output culminating in a version mismatch error:

# docker run --rm -v $PWD:/ctx gcr.io/kaniko-project/executor -c /ctx --no-push                                            
Unable to find image 'gcr.io/kaniko-project/executor:latest' locally                                                                    
latest: Pulling from kaniko-project/executor                        
7ceec777bfab: Pull complete                                         
89b1463f7047: Pull complete                                         
cc4afb9771ac: Pull complete                                         
ea2021d64bdf: Pull complete                                         
8b5a8dfd3fc6: Pull complete                                         
6025730b4535: Pull complete                                         
78f26cbad0a5: Pull complete                                         
Digest: sha256:9c40a04cf1bc9d886f7f000e0b7fa5300c31c89e2ad001e97eeeecdce9f07a29                                                         
Status: Downloaded newer image for gcr.io/kaniko-project/executor:latest                                                                
INFO[0000] Resolved base name tensorflow/tensorflow:2.0.0-py3 to tensorflow/tensorflow:2.0.0-py3                                        
INFO[0000] Resolved base name tensorflow/tensorflow:2.0.0-py3 to tensorflow/tensorflow:2.0.0-py3                                        
INFO[0000] Downloading base image tensorflow/tensorflow:2.0.0-py3                                                                       
INFO[0001] Error while retrieving image from cache: getting file info: stat /cache/sha256:0b236338fac6c3361cf3ae1448f8c053994e260c1edc4fa63ed80adb3045abb2: no such file or directory 
INFO[0001] Downloading base image tensorflow/tensorflow:2.0.0-py3                                                                       
INFO[0002] Built cross stage deps: map[]                            
INFO[0002] Downloading base image tensorflow/tensorflow:2.0.0-py3                                                                       
INFO[0002] Error while retrieving image from cache: getting file info: stat /cache/sha256:0b236338fac6c3361cf3ae1448f8c053994e260c1edc4fa63ed80adb3045abb2: no such file or directory 
INFO[0002] Downloading base image tensorflow/tensorflow:2.0.0-py3                                                                       
INFO[0003] Unpacking rootfs as cmd RUN set -ex;     date;     ls -l /var/lib/apt/lists;     export DEBIAN_FRONTEND=noninteractive;     apt-get update;     apt-get install -y tzdata requires it. 
INFO[0032] Taking snapshot of full filesystem...                    
INFO[0164] RUN set -ex;     date;     ls -l /var/lib/apt/lists;     export DEBIAN_FRONTEND=noninteractive;     apt-get update;     apt-get install -y tzdata 
INFO[0164] cmd: /bin/sh                                             
INFO[0164] args: [-c set -ex;     date;     ls -l /var/lib/apt/lists;     export DEBIAN_FRONTEND=noninteractive;     apt-get update;     apt-get install -y tzdata] 
+ date                                                              
Thu Nov 14 01:28:32 UTC 2019                                        
+ ls -l /var/lib/apt/lists                                          
total 26652                                                         
-rw-r--r-- 1 root root    74562 Nov 14 01:26 archive.ubuntu.com_ubuntu_dists_bionic-backports_InRelease                                 
-rw-r--r-- 1 root root     3676 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic-backports_main_binary-amd64_Packages.lz4            
-rw-r--r-- 1 root root     6359 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic-backports_universe_binary-amd64_Packages.lz4        
-rw-r--r-- 1 root root    88722 Nov 14 01:26 archive.ubuntu.com_ubuntu_dists_bionic-updates_InRelease                                   
-rw-r--r-- 1 root root  1575339 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic-updates_main_binary-amd64_Packages.lz4              
-rw-r--r-- 1 root root    13073 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic-updates_multiverse_binary-amd64_Packages.lz4        
-rw-r--r-- 1 root root    32771 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic-updates_restricted_binary-amd64_Packages.lz4        
-rw-r--r-- 1 root root  2120004 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic-updates_universe_binary-amd64_Packages.lz4          
-rw-r--r-- 1 root root   242048 Nov 14 01:26 archive.ubuntu.com_ubuntu_dists_bionic_InRelease                                           
-rw-r--r-- 1 root root  2165377 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages.lz4                      
-rw-r--r-- 1 root root   292075 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic_multiverse_binary-amd64_Packages.lz4                
-rw-r--r-- 1 root root    20606 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic_restricted_binary-amd64_Packages.lz4                
-rw-r--r-- 1 root root 18132054 Nov 14 01:25 archive.ubuntu.com_ubuntu_dists_bionic_universe_binary-amd64_Packages.lz4                  
drwxr-xr-x 2 _apt root     4096 Nov 14 01:25 auxfiles               
-rw-r----- 1 root root        0 Nov 14 01:26 lock                   
drwx------ 2 _apt root     4096 Nov 14 01:25 partial                
-rw-r--r-- 1 root root    88724 Nov 14 01:26 security.ubuntu.com_ubuntu_dists_bionic-security_InRelease                                 
-rw-r--r-- 1 root root  1093781 Nov 14 01:25 security.ubuntu.com_ubuntu_dists_bionic-security_main_binary-amd64_Packages.lz4            
-rw-r--r-- 1 root root     8255 Nov 14 01:25 security.ubuntu.com_ubuntu_dists_bionic-security_multiverse_binary-amd64_Packages.lz4      
-rw-r--r-- 1 root root    16374 Nov 14 01:25 security.ubuntu.com_ubuntu_dists_bionic-security_restricted_binary-amd64_Packages.lz4      
-rw-r--r-- 1 root root  1266988 Nov 14 01:25 security.ubuntu.com_ubuntu_dists_bionic-security_universe_binary-amd64_Packages.lz4        
+ export DEBIAN_FRONTEND=noninteractive                             
+ apt-get update                                                    
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease             
Hit:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease     
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease   
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease   
Reading package lists...                                            
+ apt-get install -y tzdata                                         
Reading package lists...                                            
Building dependency tree...                                         
Reading state information...                                        
The following NEW packages will be installed:                       
  tzdata                                                            
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.      
Need to get 190 kB of archives.                                     
After this operation, 3106 kB of additional disk space will be used.                                                                    
Ign:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2019b-0ubuntu0.18.04                                        
Err:1 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2019b-0ubuntu0.18.04                                       
  404  Not Found [IP: 91.189.88.31 80]                              
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/t/tzdata/tzdata_2019b-0ubuntu0.18.04_all.deb  404  Not Found [IP: 91.189.88.31 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?                                                   
error building image: error building stage: waiting for process to exit: exit status 100

For comparison, Docker preserves the original timestamps, which is obviously the sane thing to do and allows apt-get update and the entire build to succeed as expected. For brevity, I post only the relevant directory listing here:

# docker run --rm tensorflow/tensorflow:2.0.0-py3 ls -l /var/lib/apt/lists
total 26652
-rw-r--r-- 1 root root    74562 Sep 26 18:55 archive.ubuntu.com_ubuntu_dists_bionic-backports_InRelease
-rw-r--r-- 1 root root     3676 May 29 13:40 archive.ubuntu.com_ubuntu_dists_bionic-backports_main_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root     6359 Sep 14 06:13 archive.ubuntu.com_ubuntu_dists_bionic-backports_universe_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root    88722 Oct  2 16:07 archive.ubuntu.com_ubuntu_dists_bionic-updates_InRelease
-rw-r--r-- 1 root root  1575339 Oct  2 13:17 archive.ubuntu.com_ubuntu_dists_bionic-updates_main_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root    13073 Oct  2 13:01 archive.ubuntu.com_ubuntu_dists_bionic-updates_multiverse_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root    32771 Sep 30 22:25 archive.ubuntu.com_ubuntu_dists_bionic-updates_restricted_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root  2120004 Oct  2 13:17 archive.ubuntu.com_ubuntu_dists_bionic-updates_universe_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root   242048 Apr 26  2018 archive.ubuntu.com_ubuntu_dists_bionic_InRelease
-rw-r--r-- 1 root root  2165377 Apr 26  2018 archive.ubuntu.com_ubuntu_dists_bionic_main_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root   292075 Apr 26  2018 archive.ubuntu.com_ubuntu_dists_bionic_multiverse_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root    20606 Apr 24  2018 archive.ubuntu.com_ubuntu_dists_bionic_restricted_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root 18132054 Apr 26  2018 archive.ubuntu.com_ubuntu_dists_bionic_universe_binary-amd64_Packages.lz4
drwxr-xr-x 1 _apt root     4096 Oct  2 17:35 auxfiles
-rw-r----- 1 root root        0 Oct  2 17:35 lock
drwx------ 1 _apt root     4096 Oct  2 17:36 partial
-rw-r--r-- 1 root root    88724 Oct  2 16:59 security.ubuntu.com_ubuntu_dists_bionic-security_InRelease
-rw-r--r-- 1 root root  1093781 Oct  2 11:39 security.ubuntu.com_ubuntu_dists_bionic-security_main_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root     8255 Oct  2 11:39 security.ubuntu.com_ubuntu_dists_bionic-security_multiverse_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root    16374 Oct  1 13:02 security.ubuntu.com_ubuntu_dists_bionic-security_restricted_binary-amd64_Packages.lz4
-rw-r--r-- 1 root root  1266988 Oct  2 11:39 security.ubuntu.com_ubuntu_dists_bionic-security_universe_binary-amd64_Packages.lz4

@cvgw Ok, I got it. I had to nuke the executor:debug version on my machine and pull a new one and that solved the issue. I think we’re good and we can put this issue to rest.

I think this has something to do with mounting the context at /tmp (I have no idea why)

IMAGE=gcr.io/kaniko-project/executor:793

This fails

docker run \
    -v  `pwd`/context:/tmp \
    $IMAGE \
          --context dir:///tmp/ \
          --dockerfile Dockerfile \
          -v trace \
          --no-push

This succeeds

docker run \
    -v  `pwd`/context:/workspace \
    $IMAGE \
          --context dir:///workspace/ \
          --dockerfile Dockerfile \
          -v trace \
          --no-push

@vguaglione can you try mounting your context at /workspace instead of /tmp?

Dockerfile used

FROM botpress/server:v12_0_0
RUN chmod -R gou+rw /botpress
WORKDIR /botpress

RUN apt-get update \
&& apt-get -y install curl gnupg \
&& curl -sL https://deb.nodesource.com/setup_11.x | bash \
&& apt-get -y install nodejs \
&& apt-get -y install rsync \
&& apt-get upgrade -y
 
RUN cd /botpress && npm install && npm install node-sp-auth --save-dev && npm install sp-request --save-dev && npm install activedirectory --save-dev
 
EXPOSE 3000-55000
CMD ["./bp"]

Thanks @vguaglione I was able to repro with that example.

I also tested it with Pr #981 and that seems to fix it

I’m not able to repro this issue using v0.15.0, can someone please supply an example?

  • Dockerfile with no dependencies on local filesystem
  • Arguments passed to kaniko
  • Kaniko image used

I can repo it using v0.15.0. Same behavior observed using v0.16.0 also:

Dockerfile:

FROM botpress/server:v12_0_0 RUN chmod -R gou+rw /botpress WORKDIR /botpress

RUN apt-get update
&& apt-get -y install curl gnupg
&& curl -sL https://deb.nodesource.com/setup_11.x | bash
&& apt-get -y install nodejs
&& apt-get -y install rsync
&& apt-get upgrade -y

RUN cd /botpress && npm install && npm install node-sp-auth --save-dev && npm install sp-request --save-dev && npm install activedirectory --save-dev

EXPOSE 3000-55000 CMD [“./bp”]

Kaniko build command:

docker run -v $(pwd):/tmp gcr.io/kaniko-project/executor:v0.15.0 --dockerfile=/tmp/Dockerfile --context=/tmp --no-push

Kaniko Output:

INFO[0000] Resolved base name botpress/server:v12_0_0 to botpress/server:v12_0_0 INFO[0000] Resolved base name botpress/server:v12_0_0 to botpress/server:v12_0_0 INFO[0000] Retrieving image manifest botpress/server:v12_0_0 INFO[0000] Image botpress/server:v12_0_0 not found in cache INFO[0000] Retrieving image manifest botpress/server:v12_0_0 INFO[0000] Built cross stage deps: map[]
INFO[0000] Retrieving image manifest botpress/server:v12_0_0 INFO[0000] Image botpress/server:v12_0_0 not found in cache INFO[0000] Retrieving image manifest botpress/server:v12_0_0 INFO[0001] Unpacking rootfs as cmd RUN chmod -R gou+rw /botpress requires it. INFO[0048] Taking snapshot of full filesystem…
INFO[0054] RUN chmod -R gou+rw /botpress
INFO[0054] cmd: /bin/sh
INFO[0054] args: [-c chmod -R gou+rw /botpress]
INFO[0055] Taking snapshot of full filesystem…
INFO[0076] WORKDIR /botpress
INFO[0076] cmd: workdir
INFO[0076] Changed working directory to /botpress
INFO[0076] RUN apt-get update && apt-get -y install curl gnupg && curl -sL https://deb.nodesource.com/setup_11.x | bash && apt-get -y install nodejs && apt-get -y install rsync && apt-get upgrade -y INFO[0076] cmd: /bin/sh
INFO[0076] args: [-c apt-get update && apt-get -y install curl gnupg && curl -sL https://deb.nodesource.com/setup_11.x | bash && apt-get -y install nodejs && apt-get -y install rsync && apt-get upgrade -y] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists… Reading package lists… Building dependency tree… Reading state information… The following additional packages will be installed: dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv krb5-locales libasn1-8-heimdal libassuan0 libcurl4 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 libldap-common libnghttp2-14 libnpth0 libreadline7 libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libwind0-heimdal pinentry-curses readline-common Suggested packages: dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage scdaemon krb5-doc krb5-user libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql pinentry-doc readline-doc The following NEW packages will be installed: curl dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm krb5-locales libasn1-8-heimdal libassuan0 libcurl4 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 libldap-common libnghttp2-14 libnpth0 libreadline7 libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libwind0-heimdal pinentry-curses readline-common The following packages will be upgraded: gpgv 1 upgraded, 41 newly installed, 0 to remove and 38 not upgraded. Need to get 5124 kB of archives. After this operation, 15.2 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgv amd64 2.2.4-1ubuntu1.2 [198 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 readline-common all 7.0-3 [52.9 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libreadline7 amd64 7.0-3 [124 kB] Ign:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsqlite3-0 amd64 3.22.0-1ubuntu0.1 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 krb5-locales all 1.16-2ubuntu0.1 [13.5 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkrb5support0 amd64 1.16-2ubuntu0.1 [30.9 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libk5crypto3 amd64 1.16-2ubuntu0.1 [85.6 kB] Err:4 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libsqlite3-0 amd64 3.22.0-1ubuntu0.1 404 Not Found [IP: 91.189.88.174 80] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libkeyutils1 amd64 1.5.9-9.2ubuntu2 [8720 B] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkrb5-3 amd64 1.16-2ubuntu0.1 [279 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgssapi-krb5-2 amd64 1.16-2ubuntu0.1 [122 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 libroken18-heimdal amd64 7.5.0+dfsg-1 [41.3 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libasn1-8-heimdal amd64 7.5.0+dfsg-1 [175 kB] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libheimbase1-heimdal amd64 7.5.0+dfsg-1 [29.3 kB] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhcrypto4-heimdal amd64 7.5.0+dfsg-1 [85.9 kB] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 libwind0-heimdal amd64 7.5.0+dfsg-1 [47.8 kB] Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhx509-5-heimdal amd64 7.5.0+dfsg-1 [107 kB] Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 libkrb5-26-heimdal amd64 7.5.0+dfsg-1 [206 kB] Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libheimntlm0-heimdal amd64 7.5.0+dfsg-1 [14.8 kB] Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgssapi3-heimdal amd64 7.5.0+dfsg-1 [96.5 kB] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsasl2-modules-db amd64 2.1.27~101-g0780600+dfsg-3ubuntu2 [14.8 kB] Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsasl2-2 amd64 2.1.27~101-g0780600+dfsg-3ubuntu2 [49.2 kB] Err:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldap-common all 2.4.45+dfsg-1ubuntu1.2 404 Not Found [IP: 91.189.88.174 80] Err:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldap-2.4-2 amd64 2.4.45+dfsg-1ubuntu1.2 404 Not Found [IP: 91.189.88.174 80] Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnghttp2-14 amd64 1.30.0-1ubuntu1 [77.8 kB] Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-1 [54.2 kB] Ign:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.7 Ign:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.7 Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libassuan0 amd64 2.5.1-2 [35.0 kB] Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgconf amd64 2.2.4-1ubuntu1.2 [123 kB] Err:26 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.7 404 Not Found [IP: 91.189.88.174 80] Err:27 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.7 404 Not Found [IP: 91.189.88.174 80] Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libksba8 amd64 1.3.5-2 [92.6 kB] Get:31 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnpth0 amd64 1.5-3 [7668 B] Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dirmngr amd64 2.2.4-1ubuntu1.2 [316 kB] Get:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-l10n all 2.2.4-1ubuntu1.2 [49.6 kB] Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-utils amd64 2.2.4-1ubuntu1.2 [127 kB] Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg amd64 2.2.4-1ubuntu1.2 [467 kB] Get:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 pinentry-curses amd64 1.1.0-1 [35.8 kB] Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-agent amd64 2.2.4-1ubuntu1.2 [227 kB] Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-client amd64 2.2.4-1ubuntu1.2 [91.9 kB] Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-server amd64 2.2.4-1ubuntu1.2 [84.9 kB] Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgsm amd64 2.2.4-1ubuntu1.2 [215 kB] Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg amd64 2.2.4-1ubuntu1.2 [249 kB] Get:42 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsasl2-modules amd64 2.1.27~101-g0780600+dfsg-3ubuntu2 [48.7 kB] Fetched 4083 kB in 2s (1784 kB/s) E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/s/sqlite3/libsqlite3-0_3.22.0-1ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.88.174 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-common_2.4.45+dfsg-1ubuntu1.2_all.deb 404 Not Found [IP: 91.189.88.174 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.4-2_2.4.45+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 91.189.88.174 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4_7.58.0-2ubuntu3.7_amd64.deb 404 Not Found [IP: 91.189.88.174 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.58.0-2ubuntu3.7_amd64.deb 404 Not Found [IP: 91.189.88.174 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? error building image: error building stage: failed to execute command: waiting for process to exit: exit status 100

@hugokerstens Sorry we missed this in triage.