GoogleContainerTools / kaniko

Build Container Images In Kubernetes
Apache License 2.0
14.78k stars 1.44k forks source link

Kaniko build fails on apt-get reporting "unable to fetch libraries" #793

Closed vguaglione closed 4 years ago

vguaglione commented 5 years ago

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

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"]

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?

tejal29 commented 5 years ago

Hey @vguaglione, We have an example of dockerfile which does apt install here and it does not need moving any files in /var/lib/apt

Can you do docker run botpress/server:v12_0_0 and try the apt command there?

andraxin commented 4 years ago

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
vguaglione commented 4 years ago

@andraxin Thanks for providing this example. We have a few container builds failing that similarly reflect what you present above.

hugokerstens commented 4 years ago

I'm having an issue similar to this one and I believe the cause is the same. My build fails when running apt-get update in a container that was built some time ago (+1 month). I'm running the following Dockerfile:

FROM continuumio/miniconda3 
# current latest tag is continuumio/miniconda:4.7.12
RUN apt-get update -y
...

This results in the following error:

Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Reading package lists...
E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is expired (invalid since 34d 4h 46min 28s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is expired (invalid since 34d 5h 53min 55s). Updates for this repository will not be applied.

When the same Dockerfile is run locally using docker build everything is fine and the build succeeds.

hugokerstens commented 4 years ago

Can this issue be assigned a priority level? I think the current evidence is quite clear.

I would say this issue has quite high priority, since basically apt-get update doesn't work with kaniko.

tejal29 commented 4 years ago

@hugokerstens Sorry we missed this in triage.

vguaglione commented 4 years ago

@tejal29 What's the ETA for release?

sandrich commented 4 years ago

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
cvgw commented 4 years ago

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

vguaglione commented 4 years ago

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

cvgw commented 4 years ago

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

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

vguaglione commented 4 years ago

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

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

Great news. Will this be merged into the latest and debug versions of the executor? We are currently using both version within our environment.

cvgw commented 4 years ago

Thanks @vguaglione I was able to repro with that example. I also tested it with Pr #981 and that seems to fix it

Great news. Will this be merged into the latest and debug versions of the executor? We are currently using both version within our environment.

Yes, AFAIK we always build both images with all changes

vguaglione commented 4 years ago

Thanks!

cvgw commented 4 years ago

@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

andraxin commented 4 years ago

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

Wow... wasn't that the exact same example as in the original thread starter?

vguaglione commented 4 years ago

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

Wow... wasn't that the exact same example as in the original thread starter?

Yes but I needed to test with the same version/tag that @cvgw was using to verify the error. Original results were obtained using the debug version of the executor.

tejal29 commented 4 years ago

@vguaglione I tried the below dockerfile inside kaniko conatiner with fix #981

/ # cat /workspace/dockerfiles/Dockerfile_test793
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"]
/ # 

The build was successful

/ # /kaniko/executor -f dockerfiles/Dockerfile_test1 --context=dir:///workspace --destination=gcr.io/tejal-test/test --tarPath=image.tar
INFO[0000] Resolved base name botpress/server:v12_0_0 to botpress/server:v12_0_0 
INFO[0000] Using dockerignore file: /workspace/.dockerignore 
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[0001] Retrieving image manifest botpress/server:v12_0_0 
INFO[0002] Built cross stage deps: map[]                
INFO[0002] Retrieving image manifest botpress/server:v12_0_0 
INFO[0002] Retrieving image manifest botpress/server:v12_0_0 
INFO[0003] Unpacking rootfs as cmd RUN chmod -R gou+rw /botpress requires it. 

...
...
+ activedirectory@0.7.2
added 29 packages from 80 contributors and audited 1342 packages in 3.496s
found 0 vulnerabilities

INFO[0140] Taking snapshot of full filesystem...        
INFO[0145] EXPOSE 3000-55000                            
INFO[0145] cmd: EXPOSE                                  
INFO[0145] Adding exposed port: 3000-55000/tcp          
INFO[0145] CMD ["./bp"]   

I just published the following images, Can you try this image on your end?

gcr.io/kaniko-project/executor:793
gcr.io/kaniko-project/executor:debug_793
gcr.io/kaniko-project/warmer:793
vguaglione commented 4 years ago

@tejal29

Both executor:793 and executor:debug_793 return the following error:

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] 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] Retrieving image manifest botpress/server:v12_0_0 
INFO[0000] 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] 
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [23.7 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [6779 B]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [781 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [804 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1338 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [37.4 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [10.8 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1078 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4241 B]
Fetched 4335 kB in 4s (1026 kB/s)
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 48 not upgraded.
Need to get 5126 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]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsqlite3-0 amd64 3.22.0-1ubuntu0.2 [498 kB]
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]
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]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldap-common all 2.4.45+dfsg-1ubuntu1.4 [16.9 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldap-2.4-2 amd64 2.4.45+dfsg-1ubuntu1.4 [155 kB]
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]
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.8 [214 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB]
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]
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]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 5126 kB in 2s (2281 kB/s)
(Reading database ... 6284 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgv (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Setting up gpgv (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package readline-common.
(Reading database ... 6284 files and directories currently installed.)
Preparing to unpack .../00-readline-common_7.0-3_all.deb ...
Unpacking readline-common (7.0-3) ...
Selecting previously unselected package libreadline7:amd64.
Preparing to unpack .../01-libreadline7_7.0-3_amd64.deb ...
Unpacking libreadline7:amd64 (7.0-3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../02-libsqlite3-0_3.22.0-1ubuntu0.2_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.22.0-1ubuntu0.2) ...
Selecting previously unselected package krb5-locales.
Preparing to unpack .../03-krb5-locales_1.16-2ubuntu0.1_all.deb ...
Unpacking krb5-locales (1.16-2ubuntu0.1) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../04-libkrb5support0_1.16-2ubuntu0.1_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.16-2ubuntu0.1) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../05-libk5crypto3_1.16-2ubuntu0.1_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.16-2ubuntu0.1) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../06-libkeyutils1_1.5.9-9.2ubuntu2_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.5.9-9.2ubuntu2) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../07-libkrb5-3_1.16-2ubuntu0.1_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.16-2ubuntu0.1) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../08-libgssapi-krb5-2_1.16-2ubuntu0.1_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.16-2ubuntu0.1) ...
Selecting previously unselected package libroken18-heimdal:amd64.
Preparing to unpack .../09-libroken18-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libroken18-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libasn1-8-heimdal:amd64.
Preparing to unpack .../10-libasn1-8-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libasn1-8-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libheimbase1-heimdal:amd64.
Preparing to unpack .../11-libheimbase1-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libheimbase1-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libhcrypto4-heimdal:amd64.
Preparing to unpack .../12-libhcrypto4-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libwind0-heimdal:amd64.
Preparing to unpack .../13-libwind0-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libwind0-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libhx509-5-heimdal:amd64.
Preparing to unpack .../14-libhx509-5-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libhx509-5-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libkrb5-26-heimdal:amd64.
Preparing to unpack .../15-libkrb5-26-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libheimntlm0-heimdal:amd64.
Preparing to unpack .../16-libheimntlm0-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libgssapi3-heimdal:amd64.
Preparing to unpack .../17-libgssapi3-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libgssapi3-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../18-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu2_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../19-libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu2_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../20-libldap-common_2.4.45+dfsg-1ubuntu1.4_all.deb ...
Unpacking libldap-common (2.4.45+dfsg-1ubuntu1.4) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../21-libldap-2.4-2_2.4.45+dfsg-1ubuntu1.4_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.4) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../22-libnghttp2-14_1.30.0-1ubuntu1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.30.0-1ubuntu1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../23-librtmp1_2.4+20151223.gitfa8646d.1-1_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../24-libcurl4_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Selecting previously unselected package curl.
Preparing to unpack .../25-curl_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking curl (7.58.0-2ubuntu3.8) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../26-libassuan0_2.5.1-2_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.1-2) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../27-gpgconf_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgconf (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../28-libksba8_1.3.5-2_amd64.deb ...
Unpacking libksba8:amd64 (1.3.5-2) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../29-libnpth0_1.5-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.5-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../30-dirmngr_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking dirmngr (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../31-gnupg-l10n_2.2.4-1ubuntu1.2_all.deb ...
Unpacking gnupg-l10n (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../32-gnupg-utils_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gnupg-utils (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg.
Preparing to unpack .../33-gpg_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../34-pinentry-curses_1.1.0-1_amd64.deb ...
Unpacking pinentry-curses (1.1.0-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../35-gpg-agent_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-agent (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../36-gpg-wks-client_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-wks-client (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../37-gpg-wks-server_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-wks-server (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../38-gpgsm_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgsm (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../39-gnupg_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gnupg (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../40-libsasl2-modules_2.1.27~101-g0780600+dfsg-3ubuntu2_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Setting up libnpth0:amd64 (1.5-3) ...
Setting up readline-common (7.0-3) ...
Setting up libnghttp2-14:amd64 (1.30.0-1ubuntu1) ...
Setting up libldap-common (2.4.45+dfsg-1ubuntu1.4) ...
Setting up libreadline7:amd64 (7.0-3) ...
Setting up libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Setting up libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Setting up libroken18-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libksba8:amd64 (1.3.5-2) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1) ...
Setting up libkrb5support0:amd64 (1.16-2ubuntu0.1) ...
Setting up gnupg-l10n (2.2.4-1ubuntu1.2) ...
Setting up krb5-locales (1.16-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libheimbase1-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libsqlite3-0:amd64 (3.22.0-1ubuntu0.2) ...
Setting up libkeyutils1:amd64 (1.5.9-9.2ubuntu2) ...
Setting up libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Setting up libassuan0:amd64 (2.5.1-2) ...
Setting up libk5crypto3:amd64 (1.16-2ubuntu0.1) ...
Setting up libwind0-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libasn1-8-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpgconf (2.2.4-1ubuntu1.2) ...
Setting up libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libhx509-5-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpgsm (2.2.4-1ubuntu1.2) ...
Setting up gnupg-utils (2.2.4-1ubuntu1.2) ...
Setting up pinentry-curses (1.1.0-1) ...
Setting up libkrb5-3:amd64 (1.16-2ubuntu0.1) ...
Setting up libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpg (2.2.4-1ubuntu1.2) ...
Setting up gpg-agent (2.2.4-1ubuntu1.2) ...
Setting up gpg-wks-server (2.2.4-1ubuntu1.2) ...
Setting up libgssapi-krb5-2:amd64 (1.16-2ubuntu0.1) ...
Setting up libgssapi3-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.4) ...
Setting up dirmngr (2.2.4-1ubuntu1.2) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Setting up gpg-wks-client (2.2.4-1ubuntu1.2) ...
Setting up curl (7.58.0-2ubuntu3.8) ...
Setting up gnupg (2.2.4-1ubuntu1.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

================================================================================
================================================================================

                              DEPRECATION WARNING                            

  Node.js 11.x is no longer actively supported!

  You will not receive security or critical stability updates for this version.

  You should migrate to a supported version of Node.js as soon as possible.
  Use the installation script that corresponds to the version of Node.js you
  wish to install. e.g.

   * https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium" (recommended)
   * https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium"

  Please see https://github.com/nodejs/Release for details about which
  version may be appropriate for you.

  The NodeSource Node.js distributions repository contains
  information both about supported versions of Node.js and supported Linux
  distributions. To learn more about usage, see the repository:
    https://github.com/nodesource/distributions

================================================================================
================================================================================

Continuing in 20 seconds ...

## Installing the NodeSource Node.js 11.x repo...

## Populating apt-get cache...

+ apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists...

## Installing packages required for setup: lsb-release...

+ apt-get install -y lsb-release > /dev/null 2>&1

## Confirming "bionic" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_11.x/dists/bionic/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
gpg: can't connect to the agent: IPC connect call failed
Error executing command, exiting
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1

The warmer:793 does not recognize the --dockerfile option so I was unable to test with this image, using the same command from above.

tejal29 commented 4 years ago

@vguaglione I re-verified your Dockerfile

tejaldesai@@kaniko (master)$ ./run_in_docker.sh dockerfiles/Dockerfile_test1 /usr/local/google/home/tejaldesai/workspace/kaniko/integration gcr.io/tejal-test/793
+ '[' 3 -lt 3 ']'
+ dockerfile=dockerfiles/Dockerfile_test1
+ context=/usr/local/google/home/tejaldesai/workspace/kaniko/integration
+ destination=gcr.io/tejal-test/793
+ cache=false
+ [[ ! -z '' ]]
+ [[ ! -e /usr/local/google/home/tejaldesai/.config/gcloud/application_default_credentials.json ]]
+ docker run -v /usr/local/google/home/tejaldesai/.config/gcloud:/root/.config/gcloud -v /usr/local/google/home/tejaldesai/workspace/kaniko/integration:/workspace gcr.io/kaniko-project/executor:793 --dockerfile dockerfiles/Dockerfile_test1 --destination gcr.io/tejal-test/793 --context dir:///workspace/ --cache=false
INFO[0000] Resolved base name botpress/server:v12_0_0 to botpress/server:v12_0_0 
INFO[0000] Using dockerignore file: /workspace/.dockerignore 
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[0001] Retrieving image manifest botpress/server:v12_0_0 
INFO[0002] Built cross stage deps: map[]                
INFO[0002] Retrieving image manifest botpress/server:v12_0_0 
INFO[0002] Retrieving image manifest botpress/server:v12_0_0 
INFO[0003] Unpacking rootfs as cmd RUN chmod -R gou+rw /botpress requires it. 
INFO[0019] Taking snapshot of full filesystem...        
INFO[0025] RUN chmod -R gou+rw /botpress                
INFO[0025] cmd: /bin/sh                                 
INFO[0025] args: [-c chmod -R gou+rw /botpress]         
INFO[0026] Taking snapshot of full filesystem...        
INFO[0049] WORKDIR /botpress                            
INFO[0049] cmd: workdir                                 
INFO[0049] Changed working directory to /botpress       
INFO[0049] 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[0049] cmd: /bin/sh                                 
INFO[0049] 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] 
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [23.7 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [804 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [6779 B]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [781 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1338 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [37.4 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [10.8 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1078 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4241 B]
Fetched 4336 kB in 2s (2259 kB/s)
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 48 not upgraded.
Need to get 5126 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]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsqlite3-0 amd64 3.22.0-1ubuntu0.2 [498 kB]
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]
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]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldap-common all 2.4.45+dfsg-1ubuntu1.4 [16.9 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldap-2.4-2 amd64 2.4.45+dfsg-1ubuntu1.4 [155 kB]
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]
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.8 [214 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB]
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]
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]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 5126 kB in 4s (1164 kB/s)
(Reading database ... 6284 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgv (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1.1) ...
Setting up gpgv (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package readline-common.
(Reading database ... 6284 files and directories currently installed.)
Preparing to unpack .../00-readline-common_7.0-3_all.deb ...
Unpacking readline-common (7.0-3) ...
Selecting previously unselected package libreadline7:amd64.
Preparing to unpack .../01-libreadline7_7.0-3_amd64.deb ...
Unpacking libreadline7:amd64 (7.0-3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../02-libsqlite3-0_3.22.0-1ubuntu0.2_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.22.0-1ubuntu0.2) ...
Selecting previously unselected package krb5-locales.
Preparing to unpack .../03-krb5-locales_1.16-2ubuntu0.1_all.deb ...
Unpacking krb5-locales (1.16-2ubuntu0.1) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../04-libkrb5support0_1.16-2ubuntu0.1_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.16-2ubuntu0.1) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../05-libk5crypto3_1.16-2ubuntu0.1_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.16-2ubuntu0.1) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../06-libkeyutils1_1.5.9-9.2ubuntu2_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.5.9-9.2ubuntu2) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../07-libkrb5-3_1.16-2ubuntu0.1_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.16-2ubuntu0.1) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../08-libgssapi-krb5-2_1.16-2ubuntu0.1_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.16-2ubuntu0.1) ...
Selecting previously unselected package libroken18-heimdal:amd64.
Preparing to unpack .../09-libroken18-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libroken18-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libasn1-8-heimdal:amd64.
Preparing to unpack .../10-libasn1-8-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libasn1-8-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libheimbase1-heimdal:amd64.
Preparing to unpack .../11-libheimbase1-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libheimbase1-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libhcrypto4-heimdal:amd64.
Preparing to unpack .../12-libhcrypto4-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libwind0-heimdal:amd64.
Preparing to unpack .../13-libwind0-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libwind0-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libhx509-5-heimdal:amd64.
Preparing to unpack .../14-libhx509-5-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libhx509-5-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libkrb5-26-heimdal:amd64.
Preparing to unpack .../15-libkrb5-26-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libheimntlm0-heimdal:amd64.
Preparing to unpack .../16-libheimntlm0-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libgssapi3-heimdal:amd64.
Preparing to unpack .../17-libgssapi3-heimdal_7.5.0+dfsg-1_amd64.deb ...
Unpacking libgssapi3-heimdal:amd64 (7.5.0+dfsg-1) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../18-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu2_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../19-libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu2_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../20-libldap-common_2.4.45+dfsg-1ubuntu1.4_all.deb ...
Unpacking libldap-common (2.4.45+dfsg-1ubuntu1.4) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../21-libldap-2.4-2_2.4.45+dfsg-1ubuntu1.4_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.4) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../22-libnghttp2-14_1.30.0-1ubuntu1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.30.0-1ubuntu1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../23-librtmp1_2.4+20151223.gitfa8646d.1-1_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../24-libcurl4_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Selecting previously unselected package curl.
Preparing to unpack .../25-curl_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking curl (7.58.0-2ubuntu3.8) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../26-libassuan0_2.5.1-2_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.1-2) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../27-gpgconf_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgconf (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../28-libksba8_1.3.5-2_amd64.deb ...
Unpacking libksba8:amd64 (1.3.5-2) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../29-libnpth0_1.5-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.5-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../30-dirmngr_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking dirmngr (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../31-gnupg-l10n_2.2.4-1ubuntu1.2_all.deb ...
Unpacking gnupg-l10n (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../32-gnupg-utils_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gnupg-utils (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg.
Preparing to unpack .../33-gpg_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../34-pinentry-curses_1.1.0-1_amd64.deb ...
Unpacking pinentry-curses (1.1.0-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../35-gpg-agent_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-agent (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../36-gpg-wks-client_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-wks-client (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../37-gpg-wks-server_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-wks-server (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../38-gpgsm_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgsm (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../39-gnupg_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gnupg (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../40-libsasl2-modules_2.1.27~101-g0780600+dfsg-3ubuntu2_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Setting up libnpth0:amd64 (1.5-3) ...
Setting up readline-common (7.0-3) ...
Setting up libnghttp2-14:amd64 (1.30.0-1ubuntu1) ...
Setting up libldap-common (2.4.45+dfsg-1ubuntu1.4) ...
Setting up libreadline7:amd64 (7.0-3) ...
Setting up libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Setting up libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Setting up libroken18-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libksba8:amd64 (1.3.5-2) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1) ...
Setting up libkrb5support0:amd64 (1.16-2ubuntu0.1) ...
Setting up gnupg-l10n (2.2.4-1ubuntu1.2) ...
Setting up krb5-locales (1.16-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libheimbase1-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libsqlite3-0:amd64 (3.22.0-1ubuntu0.2) ...
Setting up libkeyutils1:amd64 (1.5.9-9.2ubuntu2) ...
Setting up libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2) ...
Setting up libassuan0:amd64 (2.5.1-2) ...
Setting up libk5crypto3:amd64 (1.16-2ubuntu0.1) ...
Setting up libwind0-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libasn1-8-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpgconf (2.2.4-1ubuntu1.2) ...
Setting up libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libhx509-5-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpgsm (2.2.4-1ubuntu1.2) ...
Setting up gnupg-utils (2.2.4-1ubuntu1.2) ...
Setting up pinentry-curses (1.1.0-1) ...
Setting up libkrb5-3:amd64 (1.16-2ubuntu0.1) ...
Setting up libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up gpg (2.2.4-1ubuntu1.2) ...
Setting up gpg-agent (2.2.4-1ubuntu1.2) ...
Setting up gpg-wks-server (2.2.4-1ubuntu1.2) ...
Setting up libgssapi-krb5-2:amd64 (1.16-2ubuntu0.1) ...
Setting up libgssapi3-heimdal:amd64 (7.5.0+dfsg-1) ...
Setting up libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.4) ...
Setting up dirmngr (2.2.4-1ubuntu1.2) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Setting up gpg-wks-client (2.2.4-1ubuntu1.2) ...
Setting up curl (7.58.0-2ubuntu3.8) ...
Setting up gnupg (2.2.4-1ubuntu1.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

================================================================================
================================================================================

                              DEPRECATION WARNING                            

  Node.js 11.x is no longer actively supported!

  You will not receive security or critical stability updates for this version.

  You should migrate to a supported version of Node.js as soon as possible.
  Use the installation script that corresponds to the version of Node.js you
  wish to install. e.g.

   * https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium" (recommended)
   * https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium"

  Please see https://github.com/nodejs/Release for details about which
  version may be appropriate for you.

  The NodeSource Node.js distributions repository contains
  information both about supported versions of Node.js and supported Linux
  distributions. To learn more about usage, see the repository:
    https://github.com/nodesource/distributions

================================================================================
================================================================================

Continuing in 20 seconds ...

## Installing the NodeSource Node.js 11.x repo...

## Populating apt-get cache...

+ apt-get update
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...

## Installing packages required for setup: lsb-release...

+ apt-get install -y lsb-release > /dev/null 2>&1

## Confirming "bionic" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_11.x/dists/bionic/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK

## Creating apt sources list file for the NodeSource Node.js 11.x repo...

+ echo 'deb https://deb.nodesource.com/node_11.x bionic main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_11.x bionic main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Get:1 https://deb.nodesource.com/node_11.x bionic InRelease [4584 B]
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:3 https://deb.nodesource.com/node_11.x bionic/main amd64 Packages [768 B]
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 5352 B in 1s (7060 B/s)
Reading package lists...

## Run `sudo apt-get install -y nodejs` to install Node.js 11.x and npm
## You may also need development tools to build native addons:
     sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
     sudo apt-get update && sudo apt-get install yarn

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python
  python-minimal python2.7 python2.7-minimal
Suggested packages:
  python-doc python-tk python2.7-doc binutils binfmt-support
The following NEW packages will be installed:
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib nodejs python
  python-minimal python2.7 python2.7-minimal
0 upgraded, 8 newly installed, 0 to remove and 48 not upgraded.
Need to get 20.1 MB of archives.
After this operation, 94.7 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_11.x bionic/main amd64 nodejs amd64 11.15.0-1nodesource1 [16.2 MB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-minimal amd64 2.7.17-1~18.04 [335 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.17-1~18.04 [1294 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-minimal amd64 2.7.15~rc1-1 [28.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-stdlib amd64 2.7.17-1~18.04 [1915 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7 amd64 2.7.17-1~18.04 [248 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpython-stdlib amd64 2.7.15~rc1-1 [7620 B]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 python amd64 2.7.15~rc1-1 [140 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 20.1 MB in 2s (12.5 MB/s)
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 7485 files and directories currently installed.)
Preparing to unpack .../0-libpython2.7-minimal_2.7.17-1~18.04_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.17-1~18.04) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../1-python2.7-minimal_2.7.17-1~18.04_amd64.deb ...
Unpacking python2.7-minimal (2.7.17-1~18.04) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../2-python-minimal_2.7.15~rc1-1_amd64.deb ...
Unpacking python-minimal (2.7.15~rc1-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../3-libpython2.7-stdlib_2.7.17-1~18.04_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.17-1~18.04) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../4-python2.7_2.7.17-1~18.04_amd64.deb ...
Unpacking python2.7 (2.7.17-1~18.04) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../5-libpython-stdlib_2.7.15~rc1-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.15~rc1-1) ...
Setting up libpython2.7-minimal:amd64 (2.7.17-1~18.04) ...
Setting up python2.7-minimal (2.7.17-1~18.04) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.15~rc1-1) ...
Selecting previously unselected package python.
(Reading database ... 8234 files and directories currently installed.)
Preparing to unpack .../python_2.7.15~rc1-1_amd64.deb ...
Unpacking python (2.7.15~rc1-1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_11.15.0-1nodesource1_amd64.deb ...
Unpacking nodejs (11.15.0-1nodesource1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up nodejs (11.15.0-1nodesource1) ...
Setting up libpython2.7-stdlib:amd64 (2.7.17-1~18.04) ...
Setting up python2.7 (2.7.17-1~18.04) ...
Setting up libpython-stdlib:amd64 (2.7.15~rc1-1) ...
Setting up python (2.7.15~rc1-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpopt0
Suggested packages:
  openssh-client openssh-server
The following NEW packages will be installed:
  libpopt0 rsync
0 upgraded, 2 newly installed, 0 to remove and 48 not upgraded.
Need to get 360 kB of archives.
After this operation, 839 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpopt0 amd64 1.16-11 [26.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 rsync amd64 3.1.2-2.1ubuntu1 [334 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 360 kB in 1s (337 kB/s)
Selecting previously unselected package libpopt0:amd64.
(Reading database ... 12779 files and directories currently installed.)
Preparing to unpack .../libpopt0_1.16-11_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-11) ...
Selecting previously unselected package rsync.
Preparing to unpack .../rsync_3.1.2-2.1ubuntu1_amd64.deb ...
Unpacking rsync (3.1.2-2.1ubuntu1) ...
Setting up libpopt0:amd64 (1.16-11) ...
Setting up rsync (3.1.2-2.1ubuntu1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  apt base-files bash bsdutils bzip2 debconf dpkg e2fsprogs fdisk gcc-8-base
  grep libapt-pkg5.0 libblkid1 libbz2-1.0 libcom-err2 libdb5.3 libext2fs2
  libfdisk1 libgcc1 libgcrypt20 libgnutls30 libidn2-0 libmount1 libpam-modules
  libpam-modules-bin libpam-runtime libpam0g libprocps6 libseccomp2
  libsmartcols1 libss2 libssl1.1 libstdc++6 libsystemd0 libudev1 libunistring2
  libuuid1 libzstd1 login mount openssl passwd perl-base procps tar tzdata
  ubuntu-keyring util-linux
48 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.0 MB of archives.
After this operation, 171 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 base-files amd64 10.1ubuntu2.7 [60.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 bash amd64 4.4.18-2ubuntu1.2 [614 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 bsdutils amd64 1:2.31.1-0.4ubuntu3.4 [60.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tar amd64 1.29b-2ubuntu0.1 [234 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg amd64 1.19.0.5ubuntu2.3 [1136 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libext2fs2 amd64 1.44.1-1ubuntu1.2 [157 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 e2fsprogs amd64 1.44.1-1ubuntu1.2 [390 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 grep amd64 3.1-2build1 [159 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 login amd64 1:4.5-1ubuntu2 [308 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.3 [1390 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libuuid1 amd64 2.31.1-0.4ubuntu3.4 [20.0 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libblkid1 amd64 2.31.1-0.4ubuntu3.4 [124 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libfdisk1 amd64 2.31.1-0.4ubuntu3.4 [164 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmount1 amd64 2.31.1-0.4ubuntu3.4 [136 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsmartcols1 amd64 2.31.1-0.4ubuntu3.4 [83.7 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 fdisk amd64 2.31.1-0.4ubuntu3.4 [108 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 util-linux amd64 2.31.1-0.4ubuntu3.4 [902 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 bzip2 amd64 1.0.6-8.1ubuntu0.2 [33.9 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbz2-1.0 amd64 1.0.6-8.1ubuntu0.2 [31.2 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-8-base amd64 8.3.0-6ubuntu1~18.04.1 [18.7 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc1 amd64 1:8.3.0-6ubuntu1~18.04.1 [40.7 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++6 amd64 8.3.0-6ubuntu1~18.04.1 [400 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsystemd0 amd64 237-3ubuntu10.33 [205 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libudev1 amd64 237-3ubuntu10.33 [54.6 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libzstd1 amd64 1.3.3+dfsg-2ubuntu1.1 [189 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libapt-pkg5.0 amd64 1.6.12 [806 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 ubuntu-keyring all 2018.09.18.1~18.04.0 [22.4 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libunistring2 amd64 0.9.9-0ubuntu2 [368 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libidn2-0 amd64 2.0.4-1.1ubuntu0.2 [48.7 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgnutls30 amd64 3.5.18-1ubuntu1.2 [645 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libseccomp2 amd64 2.4.1-0ubuntu0.18.04.2 [39.1 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apt amd64 1.6.12 [1200 kB]
Get:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 debconf all 1.5.66ubuntu1 [124 kB]
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpam0g amd64 1.1.8-3.6ubuntu2.18.04.1 [55.1 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpam-modules-bin amd64 1.1.8-3.6ubuntu2.18.04.1 [36.7 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpam-modules amd64 1.1.8-3.6ubuntu2.18.04.1 [242 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mount amd64 2.31.1-0.4ubuntu3.4 [107 kB]
Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcom-err2 amd64 1.44.1-1ubuntu1.2 [8912 B]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdb5.3 amd64 5.3.28-13.1ubuntu1.1 [672 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcrypt20 amd64 1.8.1-4ubuntu1.2 [417 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpam-runtime all 1.1.8-3.6ubuntu2.18.04.1 [37.1 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libss2 amd64 1.44.1-1ubuntu1.2 [11.1 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 passwd amd64 1:4.5-1ubuntu2 [816 kB]
Get:44 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libprocps6 amd64 2:3.3.12-3ubuntu1.2 [31.8 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 procps amd64 2:3.3.12-3ubuntu1.2 [225 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1~18.04.5 [1300 kB]
Get:47 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssl amd64 1.1.1-1ubuntu2.1~18.04.5 [613 kB]
Get:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2019c-0ubuntu0.18.04 [190 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 15.0 MB in 5s (2964 kB/s)
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../base-files_10.1ubuntu2.7_amd64.deb ...
Unpacking base-files (10.1ubuntu2.7) over (10.1ubuntu2.3) ...
Setting up base-files (10.1ubuntu2.7) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
Installing new version of config file /etc/update-motd.d/50-motd-news ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../bash_4.4.18-2ubuntu1.2_amd64.deb ...
Unpacking bash (4.4.18-2ubuntu1.2) over (4.4.18-2ubuntu1) ...
Setting up bash (4.4.18-2ubuntu1.2) ...
update-alternatives: error: alternative path /usr/share/man/man7/bash-builtins.7.gz doesn't exist
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking bsdutils (1:2.31.1-0.4ubuntu3.4) over (1:2.31.1-0.4ubuntu3.2) ...
Setting up bsdutils (1:2.31.1-0.4ubuntu3.4) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../tar_1.29b-2ubuntu0.1_amd64.deb ...
Unpacking tar (1.29b-2ubuntu0.1) over (1.29b-2) ...
Setting up tar (1.29b-2ubuntu0.1) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../dpkg_1.19.0.5ubuntu2.3_amd64.deb ...
Unpacking dpkg (1.19.0.5ubuntu2.3) over (1.19.0.5ubuntu2.1) ...
Setting up dpkg (1.19.0.5ubuntu2.3) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libext2fs2_1.44.1-1ubuntu1.2_amd64.deb ...
Unpacking libext2fs2:amd64 (1.44.1-1ubuntu1.2) over (1.44.1-1) ...
Setting up libext2fs2:amd64 (1.44.1-1ubuntu1.2) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../e2fsprogs_1.44.1-1ubuntu1.2_amd64.deb ...
Unpacking e2fsprogs (1.44.1-1ubuntu1.2) over (1.44.1-1) ...
Setting up e2fsprogs (1.44.1-1ubuntu1.2) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../grep_3.1-2build1_amd64.deb ...
Unpacking grep (3.1-2build1) over (3.1-2) ...
Setting up grep (3.1-2build1) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../login_1%3a4.5-1ubuntu2_amd64.deb ...
Unpacking login (1:4.5-1ubuntu2) over (1:4.5-1ubuntu1) ...
Setting up login (1:4.5-1ubuntu2) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../perl-base_5.26.1-6ubuntu0.3_amd64.deb ...
Unpacking perl-base (5.26.1-6ubuntu0.3) over (5.26.1-6ubuntu0.2) ...
Setting up perl-base (5.26.1-6ubuntu0.3) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking libuuid1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.2) ...
Setting up libuuid1:amd64 (2.31.1-0.4ubuntu3.4) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libblkid1_2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking libblkid1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.2) ...
Setting up libblkid1:amd64 (2.31.1-0.4ubuntu3.4) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libfdisk1_2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking libfdisk1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.2) ...
Setting up libfdisk1:amd64 (2.31.1-0.4ubuntu3.4) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libmount1_2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking libmount1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.2) ...
Setting up libmount1:amd64 (2.31.1-0.4ubuntu3.4) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking libsmartcols1:amd64 (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.2) ...
Setting up libsmartcols1:amd64 (2.31.1-0.4ubuntu3.4) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../fdisk_2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking fdisk (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.2) ...
Setting up fdisk (2.31.1-0.4ubuntu3.4) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../util-linux_2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking util-linux (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.2) ...
Setting up util-linux (2.31.1-0.4ubuntu3.4) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../bzip2_1.0.6-8.1ubuntu0.2_amd64.deb ...
Unpacking bzip2 (1.0.6-8.1ubuntu0.2) over (1.0.6-8.1) ...
Preparing to unpack .../libbz2-1.0_1.0.6-8.1ubuntu0.2_amd64.deb ...
Unpacking libbz2-1.0:amd64 (1.0.6-8.1ubuntu0.2) over (1.0.6-8.1) ...
Setting up libbz2-1.0:amd64 (1.0.6-8.1ubuntu0.2) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../gcc-8-base_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking gcc-8-base:amd64 (8.3.0-6ubuntu1~18.04.1) over (8.2.0-1ubuntu2~18.04) ...
Setting up gcc-8-base:amd64 (8.3.0-6ubuntu1~18.04.1) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libgcc1_1%3a8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libgcc1:amd64 (1:8.3.0-6ubuntu1~18.04.1) over (1:8.2.0-1ubuntu2~18.04) ...
Setting up libgcc1:amd64 (1:8.3.0-6ubuntu1~18.04.1) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libstdc++6_8.3.0-6ubuntu1~18.04.1_amd64.deb ...
Unpacking libstdc++6:amd64 (8.3.0-6ubuntu1~18.04.1) over (8.2.0-1ubuntu2~18.04) ...
Setting up libstdc++6:amd64 (8.3.0-6ubuntu1~18.04.1) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libsystemd0_237-3ubuntu10.33_amd64.deb ...
Unpacking libsystemd0:amd64 (237-3ubuntu10.33) over (237-3ubuntu10.6) ...
Setting up libsystemd0:amd64 (237-3ubuntu10.33) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libudev1_237-3ubuntu10.33_amd64.deb ...
Unpacking libudev1:amd64 (237-3ubuntu10.33) over (237-3ubuntu10.6) ...
Setting up libudev1:amd64 (237-3ubuntu10.33) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libzstd1_1.3.3+dfsg-2ubuntu1.1_amd64.deb ...
Unpacking libzstd1:amd64 (1.3.3+dfsg-2ubuntu1.1) over (1.3.3+dfsg-2ubuntu1) ...
Setting up libzstd1:amd64 (1.3.3+dfsg-2ubuntu1.1) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../libapt-pkg5.0_1.6.12_amd64.deb ...
Unpacking libapt-pkg5.0:amd64 (1.6.12) over (1.6.6) ...
Setting up libapt-pkg5.0:amd64 (1.6.12) ...
(Reading database ... 12815 files and directories currently installed.)
Preparing to unpack .../ubuntu-keyring_2018.09.18.1~18.04.0_all.deb ...
Unpacking ubuntu-keyring (2018.09.18.1~18.04.0) over (2018.02.28) ...
Setting up ubuntu-keyring (2018.09.18.1~18.04.0) ...
(Reading database ... 12816 files and directories currently installed.)
Preparing to unpack .../libunistring2_0.9.9-0ubuntu2_amd64.deb ...
Unpacking libunistring2:amd64 (0.9.9-0ubuntu2) over (0.9.9-0ubuntu1) ...
Setting up libunistring2:amd64 (0.9.9-0ubuntu2) ...
(Reading database ... 12816 files and directories currently installed.)
Preparing to unpack .../libidn2-0_2.0.4-1.1ubuntu0.2_amd64.deb ...
Unpacking libidn2-0:amd64 (2.0.4-1.1ubuntu0.2) over (2.0.4-1.1build2) ...
Setting up libidn2-0:amd64 (2.0.4-1.1ubuntu0.2) ...
(Reading database ... 12816 files and directories currently installed.)
Preparing to unpack .../libgnutls30_3.5.18-1ubuntu1.2_amd64.deb ...
Unpacking libgnutls30:amd64 (3.5.18-1ubuntu1.2) over (3.5.18-1ubuntu1) ...
Setting up libgnutls30:amd64 (3.5.18-1ubuntu1.2) ...
(Reading database ... 12816 files and directories currently installed.)
Preparing to unpack .../libseccomp2_2.4.1-0ubuntu0.18.04.2_amd64.deb ...
Unpacking libseccomp2:amd64 (2.4.1-0ubuntu0.18.04.2) over (2.3.1-2.1ubuntu4) ...
Setting up libseccomp2:amd64 (2.4.1-0ubuntu0.18.04.2) ...
(Reading database ... 12816 files and directories currently installed.)
Preparing to unpack .../archives/apt_1.6.12_amd64.deb ...
Unpacking apt (1.6.12) over (1.6.6) ...
Setting up apt (1.6.12) ...
Installing new version of config file /etc/apt/apt.conf.d/01autoremove ...
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../debconf_1.5.66ubuntu1_all.deb ...
Unpacking debconf (1.5.66ubuntu1) over (1.5.66) ...
Setting up debconf (1.5.66ubuntu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../libpam0g_1.1.8-3.6ubuntu2.18.04.1_amd64.deb ...
Unpacking libpam0g:amd64 (1.1.8-3.6ubuntu2.18.04.1) over (1.1.8-3.6ubuntu2) ...
Setting up libpam0g:amd64 (1.1.8-3.6ubuntu2.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../libpam-modules-bin_1.1.8-3.6ubuntu2.18.04.1_amd64.deb ...
Unpacking libpam-modules-bin (1.1.8-3.6ubuntu2.18.04.1) over (1.1.8-3.6ubuntu2) ...
Setting up libpam-modules-bin (1.1.8-3.6ubuntu2.18.04.1) ...
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../libpam-modules_1.1.8-3.6ubuntu2.18.04.1_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking libpam-modules:amd64 (1.1.8-3.6ubuntu2.18.04.1) over (1.1.8-3.6ubuntu2) ...
Setting up libpam-modules:amd64 (1.1.8-3.6ubuntu2.18.04.1) ...
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../mount_2.31.1-0.4ubuntu3.4_amd64.deb ...
Unpacking mount (2.31.1-0.4ubuntu3.4) over (2.31.1-0.4ubuntu3.2) ...
Preparing to unpack .../libcom-err2_1.44.1-1ubuntu1.2_amd64.deb ...
Unpacking libcom-err2:amd64 (1.44.1-1ubuntu1.2) over (1.44.1-1) ...
Setting up libcom-err2:amd64 (1.44.1-1ubuntu1.2) ...
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../libdb5.3_5.3.28-13.1ubuntu1.1_amd64.deb ...
Unpacking libdb5.3:amd64 (5.3.28-13.1ubuntu1.1) over (5.3.28-13.1ubuntu1) ...
Setting up libdb5.3:amd64 (5.3.28-13.1ubuntu1.1) ...
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../libgcrypt20_1.8.1-4ubuntu1.2_amd64.deb ...
Unpacking libgcrypt20:amd64 (1.8.1-4ubuntu1.2) over (1.8.1-4ubuntu1.1) ...
Setting up libgcrypt20:amd64 (1.8.1-4ubuntu1.2) ...
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../libpam-runtime_1.1.8-3.6ubuntu2.18.04.1_all.deb ...
Unpacking libpam-runtime (1.1.8-3.6ubuntu2.18.04.1) over (1.1.8-3.6ubuntu2) ...
Setting up libpam-runtime (1.1.8-3.6ubuntu2.18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../libss2_1.44.1-1ubuntu1.2_amd64.deb ...
Unpacking libss2:amd64 (1.44.1-1ubuntu1.2) over (1.44.1-1) ...
Setting up libss2:amd64 (1.44.1-1ubuntu1.2) ...
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../passwd_1%3a4.5-1ubuntu2_amd64.deb ...
Unpacking passwd (1:4.5-1ubuntu2) over (1:4.5-1ubuntu1) ...
Setting up passwd (1:4.5-1ubuntu2) ...
(Reading database ... 12823 files and directories currently installed.)
Preparing to unpack .../libprocps6_2%3a3.3.12-3ubuntu1.2_amd64.deb ...
Unpacking libprocps6:amd64 (2:3.3.12-3ubuntu1.2) over (2:3.3.12-3ubuntu1.1) ...
Preparing to unpack .../procps_2%3a3.3.12-3ubuntu1.2_amd64.deb ...
Unpacking procps (2:3.3.12-3ubuntu1.2) over (2:3.3.12-3ubuntu1.1) ...
Preparing to unpack .../libssl1.1_1.1.1-1ubuntu2.1~18.04.5_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.5) over (1.1.1-1ubuntu2.1~18.04.3) ...
Preparing to unpack .../openssl_1.1.1-1ubuntu2.1~18.04.5_amd64.deb ...
Unpacking openssl (1.1.1-1ubuntu2.1~18.04.5) over (1.1.1-1ubuntu2.1~18.04.3) ...
Preparing to unpack .../tzdata_2019c-0ubuntu0.18.04_all.deb ...
Unpacking tzdata (2019c-0ubuntu0.18.04) over (2019a-0ubuntu0.18.04) ...
Setting up tzdata (2019c-0ubuntu0.18.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype

Current default time zone: 'America/New_York'
Local time is now:      Tue Jan 21 13:46:11 EST 2020.
Universal Time is now:  Tue Jan 21 18:46:11 UTC 2020.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up mount (2.31.1-0.4ubuntu3.4) ...
Setting up libprocps6:amd64 (2:3.3.12-3ubuntu1.2) ...
Setting up bzip2 (1.0.6-8.1ubuntu0.2) ...
Setting up procps (2:3.3.12-3ubuntu1.2) ...
Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.5) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up openssl (1.1.1-1ubuntu2.1~18.04.5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
INFO[0123] Taking snapshot of full filesystem...        
INFO[0123] Adding whiteout for /lib/x86_64-linux-gnu/libseccomp.so.2.3.1 
INFO[0132] RUN cd /botpress && npm install && npm install node-sp-auth --save-dev && npm install sp-request --save-dev && npm install activedirectory --save-dev 
INFO[0132] cmd: /bin/sh                                 
INFO[0132] args: [-c cd /botpress && npm install && npm install node-sp-auth --save-dev && npm install sp-request --save-dev && npm install activedirectory --save-dev] 
npm WARN saveError ENOENT: no such file or directory, open '/botpress/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/botpress/package.json'
npm WARN botpress No description
npm WARN botpress No repository field.
npm WARN botpress No README data
npm WARN botpress No license field.

up to date in 0.289s
found 0 vulnerabilities

npm WARN saveError ENOENT: no such file or directory, open '/botpress/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/botpress/package.json'
npm WARN botpress No description
npm WARN botpress No repository field.
npm WARN botpress No README data
npm WARN botpress No license field.

+ node-sp-auth@2.5.7
added 125 packages from 148 contributors and audited 235 packages in 3.953s
found 0 vulnerabilities

npm WARN deprecated @types/form-data@2.5.0: This is a stub types definition. form-data provides its own type definitions, so you do not need this installed.
npm WARN saveError ENOENT: no such file or directory, open '/botpress/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/botpress/package.json'
npm WARN botpress No description
npm WARN botpress No repository field.
npm WARN botpress No README data
npm WARN botpress No license field.

+ sp-request@2.1.3
added 6 packages from 12 contributors and audited 1261 packages in 1.113s
found 0 vulnerabilities

> dtrace-provider@0.8.8 install /botpress/node_modules/dtrace-provider
> node-gyp rebuild || node suppress-error.js

gyp ERR! build error 
gyp ERR! stack Error: not found: make
gyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:158:21)
gyp ERR! System Linux 5.2.17-1rodete3-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /botpress/node_modules/dtrace-provider
gyp ERR! node -v v11.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm WARN saveError ENOENT: no such file or directory, open '/botpress/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/botpress/package.json'
npm WARN botpress No description
npm WARN botpress No repository field.
npm WARN botpress No README data
npm WARN botpress No license field.

+ activedirectory@0.7.2
added 29 packages from 80 contributors and audited 1342 packages in 3.346s
found 0 vulnerabilities

INFO[0142] Taking snapshot of full filesystem...        
INFO[0148] EXPOSE 3000-55000                            
INFO[0148] cmd: EXPOSE                                  
INFO[0148] Adding exposed port: 3000-55000/tcp          
INFO[0148] CMD ["./bp"]                                 
tejaldesai@@kaniko (master)$ 

The dockerfile i used it

tejaldesai@@kaniko (master)$ cat integration/dockerfiles/Dockerfile_test1 
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"]

From the logs looks like your have issues with apt-key. Are you running the kaniko pod in k8 cluster? https://stackoverflow.com/questions/46673717/gpg-cant-connect-to-the-agent-ipc-connect-call-failed

vguaglione commented 4 years ago

@vguaglione I tried the below dockerfile inside kaniko conatiner with fix #981

/ # cat /workspace/dockerfiles/Dockerfile_test793
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"]
/ # 

The build was successful

/ # /kaniko/executor -f dockerfiles/Dockerfile_test1 --context=dir:///workspace --destination=gcr.io/tejal-test/test --tarPath=image.tar
INFO[0000] Resolved base name botpress/server:v12_0_0 to botpress/server:v12_0_0 
INFO[0000] Using dockerignore file: /workspace/.dockerignore 
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[0001] Retrieving image manifest botpress/server:v12_0_0 
INFO[0002] Built cross stage deps: map[]                
INFO[0002] Retrieving image manifest botpress/server:v12_0_0 
INFO[0002] Retrieving image manifest botpress/server:v12_0_0 
INFO[0003] Unpacking rootfs as cmd RUN chmod -R gou+rw /botpress requires it. 

...
...
+ activedirectory@0.7.2
added 29 packages from 80 contributors and audited 1342 packages in 3.496s
found 0 vulnerabilities

INFO[0140] Taking snapshot of full filesystem...        
INFO[0145] EXPOSE 3000-55000                            
INFO[0145] cmd: EXPOSE                                  
INFO[0145] Adding exposed port: 3000-55000/tcp          
INFO[0145] CMD ["./bp"]   

I just published the following images, Can you try this image on your end?

gcr.io/kaniko-project/executor:793
gcr.io/kaniko-project/executor:debug_793
gcr.io/kaniko-project/warmer:793

For this test, as with all previous tests, I am running on a mac workstation. I can, however, test this for you in a k8s cluster, if you'd like. Not sure if this is a valid test considering the same Dockerfile works when building the image via 'docker build' on this mac workstation. Please advise.

tejal29 commented 4 years ago

@vguaglione i am running this using the run_in_docker.sh script on linux. when you say, you are running this on a mac workstation do you mean you are running kaniko executor directly?

vguaglione commented 4 years ago

@vguaglione i am running this using the run_in_docker.sh script on linux. when you say, you are running this on a mac workstation do you mean you are running kaniko executor directly?

I am using the docker run command on my local workstation, which is a MacBook Pro running Mojave 10.14.6.

docker run -v $(pwd):/tmp gcr.io/kaniko-project/executor:latest ... etc

cvgw commented 4 years ago

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"]
olivierboudet commented 4 years ago

I can confirm that the image gcr.io/kaniko-project/executor:debug_793 fix the issue in my case.

tejal29 commented 4 years ago

ok cool! Thanks @olivierboudet !

vguaglione commented 4 years ago

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"]

Yes, changing the context to something other than /tmp fixed the problem. Tested with :793 and :debug_793.

cvgw commented 4 years ago

Thanks @vguaglione :+1:

Are we ok to close this issue now?

Opened #999 to track issue with mounting context at /tmp

vguaglione commented 4 years ago

Thanks @vguaglione 👍

Are we ok to close this issue now?

Opened #999 to track issue with mounting context at /tmp

I believe so. Will this be merged into executor:debug?

cvgw commented 4 years ago

Thanks @vguaglione 👍 Are we ok to close this issue now? Opened #999 to track issue with mounting context at /tmp

I believe so. Will this be merged into executor:debug?

Yes it will

vguaglione commented 4 years ago

Same dockerfile as used previously to provide an example of failure:

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"]

@cvgw @tejal29 Executor:debug_793 is successful, executor:debug fails with this 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] Retrieving image manifest botpress/server:v12_0_0 INFO[0001] Built cross stage deps: map[]
INFO[0001] Retrieving image manifest botpress/server:v12_0_0 INFO[0001] Retrieving image manifest botpress/server:v12_0_0 INFO[0002] Unpacking rootfs as cmd RUN chmod -R gou+rw /botpress requires it. INFO[0034] Taking snapshot of full filesystem...
INFO[0043] RUN chmod -R gou+rw /botpress
INFO[0043] cmd: /bin/sh
INFO[0043] args: [-c chmod -R gou+rw /botpress]
INFO[0044] Taking snapshot of full filesystem...
INFO[0063] WORKDIR /botpress
INFO[0063] cmd: workdir
INFO[0063] Changed working directory to /botpress
INFO[0063] 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[0063] cmd: /bin/sh
INFO[0063] 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] 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] 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.162 80] 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.162 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.162 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.162 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.162 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 3s (1407 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.162 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.162 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.162 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.162 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.162 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

cvgw commented 4 years ago

@vguaglione can you share the command you are using to run kaniko?

Not able to repro with tag

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"]

command

docker run -v `pwd`/context:/workspace  $IMAGE --context dir:///workspace/ \
  --dockerfile Dockerfile --no-push
vguaglione commented 4 years ago

@cvgw Ok, I learned that the 0.15.x version fails as does the debug version. The 0.17.0 and 0.17.1 versions complete successfully. Command is:

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

Can you tell me when the 0.17.1 version will be merged into debug? For now, we will point to 0.17.1.

Vince

cvgw commented 4 years ago

@vguaglione

Can you tell me when the 0.17.1 version will be merged into debug? For now, we will point to 0.17.1.

It has already been merged into debug. debug and debug-v0.17.1 point to the same image.

vguaglione commented 4 years ago

@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.