docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.18k stars 1.13k forks source link

starting container process caused "exec: \"docker-entrypoint.sh\": executable file not found in $PATH" #386

Closed evm-andrey closed 6 years ago

evm-andrey commented 6 years ago

summary:

While building an image, no rights are given to the file docker-entrypoint.sh

steps reproduce:

git clone https://github.com/docker-library/postgres.git . cd 9.6 docker build . --tag postgres-9.6 docker run --name postgres postgres-9.6

expected result:


LOG:  database system was shut down at 2017-12-08 13:10:46 UTC
LOG:  MultiXact member wraparound protections are now enabled
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections

actual result

docker: Error response from daemon: oci runtime error: container_linux.go:247: 
starting container process caused "exec: \"docker-entrypoint.sh\": 
executable file not found  in $PATH".
ERRO[0000] error getting events from daemon: net/http: request canceled 
tianon commented 6 years ago

I cannot reproduce -- the chmod +x bit is applied to the docker-entrypoint.sh file in Git, which Git tracks.

See also https://github.com/docker-library/postgres/issues/296.

tianon commented 6 years ago

$ git clone https://github.com/docker-library/postgres.git .
Cloning into '.'...
remote: Counting objects: 1952, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 1952 (delta 28), reused 46 (delta 26), pack-reused 1899
Receiving objects: 100% (1952/1952), 298.34 KiB | 922.00 KiB/s, done.
Resolving deltas: 100% (808/808), done.

$ cd 9.6

$ ls -l docker-entrypoint.sh
-rwxrwxr-x 1 tianon tianon 3969 Dec  8 10:37 docker-entrypoint.sh

$ docker build . --tag postgres-9.6
Sending build context to Docker daemon  23.55kB
Step 1/23 : FROM debian:jessie
 ---> 25fc9eb3417f
Step 2/23 : RUN set -ex;    if ! command -v gpg > /dev/null; then       apt-get update;         apt-get install -y --no-install-recommends      gnupg           dirmngr         ;       rm -rf /var/lib/apt/lists/*;    fi
 ---> Running in 2286308bb4a0
+ command -v gpg
Removing intermediate container 2286308bb4a0
 ---> 51ac47e8f694
Step 3/23 : RUN groupadd -r postgres --gid=999 && useradd -r -g postgres --uid=999 postgres
 ---> Running in dfee69a624fe
Removing intermediate container dfee69a624fe
 ---> cb45d6acec03
Step 4/23 : ENV GOSU_VERSION 1.10
 ---> Running in 902bb555354f
Removing intermediate container 902bb555354f
 ---> 08e82a33a103
Step 5/23 : RUN set -x  && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/*     && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)"   && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc"   && export GNUPGHOME="$(mktemp -d)"  && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4  && gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu     && rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc  && chmod +x /usr/local/bin/gosu && gosu nobody true     && apt-get purge -y --auto-remove ca-certificates wget
 ---> Running in 7591a404b0f3
+ apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:3 http://deb.debian.org jessie Release.gpg [2373 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [597 kB]
Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [23.2 kB]
Get:7 http://deb.debian.org jessie/main amd64 Packages [9063 kB]
Fetched 10.0 MB in 5s (1819 kB/s)
Reading package lists...
+ apt-get install -y --no-install-recommends ca-certificates wget
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libffi6 libgmp10 libgnutls-deb0-28 libhogweed2 libicu52 libidn11 libnettle4
  libp11-kit0 libpsl0 libssl1.0.0 libtasn1-6 openssl
Suggested packages:
  gnutls-bin
The following NEW packages will be installed:
  ca-certificates libffi6 libgmp10 libgnutls-deb0-28 libhogweed2 libicu52
  libidn11 libnettle4 libp11-kit0 libpsl0 libssl1.0.0 libtasn1-6 openssl wget
0 upgraded, 14 newly installed, 0 to remove and 1 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 39.1 MB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libssl1.0.0 amd64 1.0.1t-1+deb8u7 [1046 kB]
Get:2 http://security.debian.org/ jessie/updates/main wget amd64 1.16-1+deb8u4 [496 kB]
Get:3 http://deb.debian.org/debian/ jessie/main libgmp10 amd64 2:6.0.0+dfsg-6 [253 kB]
Get:4 http://security.debian.org/ jessie/updates/main openssl amd64 1.0.1t-1+deb8u7 [665 kB]
Get:5 http://deb.debian.org/debian/ jessie/main libnettle4 amd64 2.7.1-5+deb8u2 [176 kB]
Get:6 http://deb.debian.org/debian/ jessie/main libhogweed2 amd64 2.7.1-5+deb8u2 [125 kB]
Get:7 http://deb.debian.org/debian/ jessie/main libffi6 amd64 3.1-2+deb8u1 [20.2 kB]
Get:8 http://deb.debian.org/debian/ jessie/main libp11-kit0 amd64 0.20.7-1 [81.2 kB]
Get:9 http://deb.debian.org/debian/ jessie/main libtasn1-6 amd64 4.2-3+deb8u3 [49.2 kB]
Get:10 http://deb.debian.org/debian/ jessie/main libgnutls-deb0-28 amd64 3.3.8-6+deb8u7 [696 kB]
Get:11 http://deb.debian.org/debian/ jessie/main libidn11 amd64 1.29-1+deb8u2 [136 kB]
Get:12 http://deb.debian.org/debian/ jessie/main libicu52 amd64 52.1-8+deb8u5 [6801 kB]
Get:13 http://deb.debian.org/debian/ jessie/main libpsl0 amd64 0.5.1-1 [41.6 kB]
Get:14 http://deb.debian.org/debian/ jessie/main ca-certificates all 20141019+deb8u3 [207 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 10.8 MB in 3s (3252 kB/s)
Selecting previously unselected package libssl1.0.0:amd64.
(Reading database ... 7566 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u7) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a6.0.0+dfsg-6_amd64.deb ...
Unpacking libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Selecting previously unselected package libnettle4:amd64.
Preparing to unpack .../libnettle4_2.7.1-5+deb8u2_amd64.deb ...
Unpacking libnettle4:amd64 (2.7.1-5+deb8u2) ...
Selecting previously unselected package libhogweed2:amd64.
Preparing to unpack .../libhogweed2_2.7.1-5+deb8u2_amd64.deb ...
Unpacking libhogweed2:amd64 (2.7.1-5+deb8u2) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.1-2+deb8u1_amd64.deb ...
Unpacking libffi6:amd64 (3.1-2+deb8u1) ...
Selecting previously unselected package libp11-kit0:amd64.
Preparing to unpack .../libp11-kit0_0.20.7-1_amd64.deb ...
Unpacking libp11-kit0:amd64 (0.20.7-1) ...
Selecting previously unselected package libtasn1-6:amd64.
Preparing to unpack .../libtasn1-6_4.2-3+deb8u3_amd64.deb ...
Unpacking libtasn1-6:amd64 (4.2-3+deb8u3) ...
Selecting previously unselected package libgnutls-deb0-28:amd64.
Preparing to unpack .../libgnutls-deb0-28_3.3.8-6+deb8u7_amd64.deb ...
Unpacking libgnutls-deb0-28:amd64 (3.3.8-6+deb8u7) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../libidn11_1.29-1+deb8u2_amd64.deb ...
Unpacking libidn11:amd64 (1.29-1+deb8u2) ...
Selecting previously unselected package libicu52:amd64.
Preparing to unpack .../libicu52_52.1-8+deb8u5_amd64.deb ...
Unpacking libicu52:amd64 (52.1-8+deb8u5) ...
Selecting previously unselected package libpsl0:amd64.
Preparing to unpack .../libpsl0_0.5.1-1_amd64.deb ...
Unpacking libpsl0:amd64 (0.5.1-1) ...
Selecting previously unselected package wget.
Preparing to unpack .../wget_1.16-1+deb8u4_amd64.deb ...
Unpacking wget (1.16-1+deb8u4) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.1t-1+deb8u7_amd64.deb ...
Unpacking openssl (1.0.1t-1+deb8u7) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20141019+deb8u3_all.deb ...
Unpacking ca-certificates (20141019+deb8u3) ...
Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u7) ...
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.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Setting up libnettle4:amd64 (2.7.1-5+deb8u2) ...
Setting up libhogweed2:amd64 (2.7.1-5+deb8u2) ...
Setting up libffi6:amd64 (3.1-2+deb8u1) ...
Setting up libp11-kit0:amd64 (0.20.7-1) ...
Setting up libtasn1-6:amd64 (4.2-3+deb8u3) ...
Setting up libgnutls-deb0-28:amd64 (3.3.8-6+deb8u7) ...
Setting up libidn11:amd64 (1.29-1+deb8u2) ...
Setting up libicu52:amd64 (52.1-8+deb8u5) ...
Setting up libpsl0:amd64 (0.5.1-1) ...
Setting up wget (1.16-1+deb8u4) ...
Setting up openssl (1.0.1t-1+deb8u7) ...
Setting up ca-certificates (20141019+deb8u3) ...
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.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs... 174 added, 0 removed; done.
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for ca-certificates (20141019+deb8u3) ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
+ rm -rf /var/lib/apt/lists/deb.debian.org_debian_dists_jessie-updates_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_jessie-updates_main_binary-amd64_Packages.gz /var/lib/apt/lists/deb.debian.org_debian_dists_jessie_Release /var/lib/apt/lists/deb.debian.org_debian_dists_jessie_Release.gpg /var/lib/apt/lists/deb.debian.org_debian_dists_jessie_main_binary-amd64_Packages.gz /var/lib/apt/lists/lock /var/lib/apt/lists/partial /var/lib/apt/lists/security.debian.org_dists_jessie_updates_InRelease /var/lib/apt/lists/security.debian.org_dists_jessie_updates_main_binary-amd64_Packages.gz
+ dpkg --print-architecture
+ wget -O /usr/local/bin/gosu https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64
converted 'https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64' (ANSI_X3.4-1968) -> 'https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64' (UTF-8)
--2017-12-08 18:38:23--  https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64
Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb9a88-8591-11e6-9802-291a1e7e3b2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20171208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20171208T183823Z&X-Amz-Expires=300&X-Amz-Signature=8e39b440aeea8b271377364b7c496037bcbf60b1837190d70a3082998f97f5f7&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgosu-amd64&response-content-type=application%2Foctet-stream [following]
converted 'https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb9a88-8591-11e6-9802-291a1e7e3b2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20171208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20171208T183823Z&X-Amz-Expires=300&X-Amz-Signature=8e39b440aeea8b271377364b7c496037bcbf60b1837190d70a3082998f97f5f7&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgosu-amd64&response-content-type=application%2Foctet-stream' (ANSI_X3.4-1968) -> 'https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb9a88-8591-11e6-9802-291a1e7e3b2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20171208/us-east-1/s3/aws4_request&X-Amz-Date=20171208T183823Z&X-Amz-Expires=300&X-Amz-Signature=8e39b440aeea8b271377364b7c496037bcbf60b1837190d70a3082998f97f5f7&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment; filename=gosu-amd64&response-content-type=application/octet-stream' (UTF-8)
--2017-12-08 18:38:23--  https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb9a88-8591-11e6-9802-291a1e7e3b2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20171208/us-east-1/s3/aws4_request&X-Amz-Date=20171208T183823Z&X-Amz-Expires=300&X-Amz-Signature=8e39b440aeea8b271377364b7c496037bcbf60b1837190d70a3082998f97f5f7&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment;%20filename=gosu-amd64&response-content-type=application/octet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.21.35
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.21.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1286720 (1.2M) [application/octet-stream]
Saving to: '/usr/local/bin/gosu'

     0K .......... .......... .......... .......... ..........  3%  226K 5s
    50K .......... .......... .......... .......... ..........  7%  347K 4s
   100K .......... .......... .......... .......... .......... 11%  347K 4s
   150K .......... .......... .......... .......... .......... 15%  681K 3s
   200K .......... .......... .......... .......... .......... 19%  685K 3s
   250K .......... .......... .......... .......... .......... 23%  695K 2s
   300K .......... .......... .......... .......... .......... 27%  683K 2s
   350K .......... .......... .......... .......... .......... 31% 4.44M 2s
   400K .......... .......... .......... .......... .......... 35%  801K 2s
   450K .......... .......... .......... .......... .......... 39%  793K 1s
   500K .......... .......... .......... .......... .......... 43% 3.12M 1s
   550K .......... .......... .......... .......... .......... 47%  739K 1s
   600K .......... .......... .......... .......... .......... 51% 11.2M 1s
   650K .......... .......... .......... .......... .......... 55%  732K 1s
   700K .......... .......... .......... .......... .......... 59% 13.3M 1s
   750K .......... .......... .......... .......... .......... 63%  735K 1s
   800K .......... .......... .......... .......... .......... 67% 34.3M 1s
   850K .......... .......... .......... .......... .......... 71% 4.60M 0s
   900K .......... .......... .......... .......... .......... 75%  825K 0s
   950K .......... .......... .......... .......... .......... 79% 12.1M 0s
  1000K .......... .......... .......... .......... .......... 83%  737K 0s
  1050K .......... .......... .......... .......... .......... 87% 23.5M 0s
  1100K .......... .......... .......... .......... .......... 91% 5.06M 0s
  1150K .......... .......... .......... .......... .......... 95%  823K 0s
  1200K .......... .......... .......... .......... .......... 99% 35.4M 0s
  1250K ......                                                100% 48.9M=1.4s

2017-12-08 18:38:25 (908 KB/s) - '/usr/local/bin/gosu' saved [1286720/1286720]

+ dpkg --print-architecture
+ wget -O /usr/local/bin/gosu.asc https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc
converted 'https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc' (ANSI_X3.4-1968) -> 'https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc' (UTF-8)
--2017-12-08 18:38:25--  https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc
Resolving github.com (github.com)... 192.30.255.113, 192.30.255.112
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb862e-8591-11e6-8c1a-503ca4b54c7c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20171208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20171208T183826Z&X-Amz-Expires=300&X-Amz-Signature=53407a099ee20ae4ce2ba847dfe0cd8eb46849ba5f526428b42240d159dfe0e3&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgosu-amd64.asc&response-content-type=application%2Foctet-stream [following]
converted 'https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb862e-8591-11e6-8c1a-503ca4b54c7c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20171208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20171208T183826Z&X-Amz-Expires=300&X-Amz-Signature=53407a099ee20ae4ce2ba847dfe0cd8eb46849ba5f526428b42240d159dfe0e3&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgosu-amd64.asc&response-content-type=application%2Foctet-stream' (ANSI_X3.4-1968) -> 'https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb862e-8591-11e6-8c1a-503ca4b54c7c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20171208/us-east-1/s3/aws4_request&X-Amz-Date=20171208T183826Z&X-Amz-Expires=300&X-Amz-Signature=53407a099ee20ae4ce2ba847dfe0cd8eb46849ba5f526428b42240d159dfe0e3&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment; filename=gosu-amd64.asc&response-content-type=application/octet-stream' (UTF-8)
--2017-12-08 18:38:26--  https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb862e-8591-11e6-8c1a-503ca4b54c7c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20171208/us-east-1/s3/aws4_request&X-Amz-Date=20171208T183826Z&X-Amz-Expires=300&X-Amz-Signature=53407a099ee20ae4ce2ba847dfe0cd8eb46849ba5f526428b42240d159dfe0e3&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment;%20filename=gosu-amd64.asc&response-content-type=application/octet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.226.184
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.226.184|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 543 [application/octet-stream]
Saving to: '/usr/local/bin/gosu.asc'

     0K                                                       100% 7.89M=0s

2017-12-08 18:38:26 (7.89 MB/s) - '/usr/local/bin/gosu.asc' saved [543/543]

+ mktemp -d
+ export GNUPGHOME=/tmp/tmp.wkPqfU3CfW
+ gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
gpg: keyring `/tmp/tmp.wkPqfU3CfW/secring.gpg' created
gpg: keyring `/tmp/tmp.wkPqfU3CfW/pubring.gpg' created
gpg: requesting key BF357DD4 from hkp server ha.pool.sks-keyservers.net
gpg: /tmp/tmp.wkPqfU3CfW/trustdb.gpg: trustdb created
gpg: key BF357DD4: public key "Tianon Gravi <tianon@tianon.xyz>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu
gpg: Signature made Wed Sep 28 22:22:56 2016 UTC using RSA key ID BF357DD4
gpg: Good signature from "Tianon Gravi <tianon@tianon.xyz>"
gpg:                 aka "Tianon Gravi <tianon@debian.org>"
gpg:                 aka "Tianon Gravi <tianon@dockerproject.org>"
gpg:                 aka "Andrew Page (tianon) <andrew@infosiftr.com>"
gpg:                 aka "Andrew Page (tianon) <andrew@vitalroute.com>"
gpg:                 aka "Andrew Page (Tianon Gravi) <admwiggin@gmail.com>"
gpg:                 aka "Tianon Gravi (Andrew Page) <tianon@infosiftr.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4
+ rm -rf /tmp/tmp.wkPqfU3CfW /usr/local/bin/gosu.asc
+ chmod +x /usr/local/bin/gosu
+ gosu nobody true
+ apt-get purge -y --auto-remove ca-certificates wget
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  ca-certificates* libffi6* libgmp10* libgnutls-deb0-28* libhogweed2*
  libicu52* libidn11* libnettle4* libp11-kit0* libpsl0* libssl1.0.0*
  libtasn1-6* openssl* wget*
0 upgraded, 0 newly installed, 14 to remove and 0 not upgraded.
After this operation, 39.1 MB disk space will be freed.
(Reading database ... 8040 files and directories currently installed.)
Removing ca-certificates (20141019+deb8u3) ...
Removing dangling symlinks from /etc/ssl/certs... done.
Purging configuration files for ca-certificates (20141019+deb8u3) ...
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.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Removing dangling symlinks from /etc/ssl/certs... done.
Removing wget (1.16-1+deb8u4) ...
Purging configuration files for wget (1.16-1+deb8u4) ...
Removing libgnutls-deb0-28:amd64 (3.3.8-6+deb8u7) ...
Purging configuration files for libgnutls-deb0-28:amd64 (3.3.8-6+deb8u7) ...
Removing libp11-kit0:amd64 (0.20.7-1) ...
Purging configuration files for libp11-kit0:amd64 (0.20.7-1) ...
Removing libffi6:amd64 (3.1-2+deb8u1) ...
Purging configuration files for libffi6:amd64 (3.1-2+deb8u1) ...
Removing libhogweed2:amd64 (2.7.1-5+deb8u2) ...
Purging configuration files for libhogweed2:amd64 (2.7.1-5+deb8u2) ...
Removing libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Purging configuration files for libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Removing libpsl0:amd64 (0.5.1-1) ...
Purging configuration files for libpsl0:amd64 (0.5.1-1) ...
Removing libicu52:amd64 (52.1-8+deb8u5) ...
Purging configuration files for libicu52:amd64 (52.1-8+deb8u5) ...
Removing libidn11:amd64 (1.29-1+deb8u2) ...
Purging configuration files for libidn11:amd64 (1.29-1+deb8u2) ...
Removing libnettle4:amd64 (2.7.1-5+deb8u2) ...
Purging configuration files for libnettle4:amd64 (2.7.1-5+deb8u2) ...
Removing openssl (1.0.1t-1+deb8u7) ...
Purging configuration files for openssl (1.0.1t-1+deb8u7) ...
Removing libssl1.0.0:amd64 (1.0.1t-1+deb8u7) ...
Purging configuration files for libssl1.0.0:amd64 (1.0.1t-1+deb8u7) ...
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.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Removing libtasn1-6:amd64 (4.2-3+deb8u3) ...
Purging configuration files for libtasn1-6:amd64 (4.2-3+deb8u3) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Removing intermediate container 7591a404b0f3
 ---> e845c5d97869
Step 6/23 : RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/*     && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
 ---> Running in 8c106b29252d
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:3 http://deb.debian.org jessie Release.gpg [2373 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [597 kB]
Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [23.2 kB]
Get:7 http://deb.debian.org jessie/main amd64 Packages [9063 kB]
Fetched 10.0 MB in 4s (2014 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  locales
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 3930 kB of archives.
After this operation, 16.7 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian/ jessie/main locales all 2.19-18+deb8u10 [3930 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3930 kB in 1s (2888 kB/s)
Selecting previously unselected package locales.
(Reading database ... 7566 files and directories currently installed.)
Preparing to unpack .../locales_2.19-18+deb8u10_all.deb ...
Unpacking locales (2.19-18+deb8u10) ...
Setting up locales (2.19-18+deb8u10) ...
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.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Generating locales (this might take a while)...
Generation complete.
Removing intermediate container 8c106b29252d
 ---> 633bc313d6bf
Step 7/23 : ENV LANG en_US.utf8
 ---> Running in 9e2fd70ce081
Removing intermediate container 9e2fd70ce081
 ---> 95c6fe2a40e1
Step 8/23 : RUN mkdir /docker-entrypoint-initdb.d
 ---> Running in 7b9583885820
Removing intermediate container 7b9583885820
 ---> 65502cc07bd9
Step 9/23 : RUN set -ex;    key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; export GNUPGHOME="$(mktemp -d)";    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key";  gpg --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg;  rm -rf "$GNUPGHOME";    apt-key list
 ---> Running in 7edb695fd38f
+ key=B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
+ mktemp -d
+ export GNUPGHOME=/tmp/tmp.XHKAmPOrDx
+ gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
gpg: keyring `/tmp/tmp.XHKAmPOrDx/secring.gpg' created
gpg: keyring `/tmp/tmp.XHKAmPOrDx/pubring.gpg' created
gpg: requesting key ACCC4CF8 from hkp server ha.pool.sks-keyservers.net
gpg: /tmp/tmp.XHKAmPOrDx/trustdb.gpg: trustdb created
gpg: key ACCC4CF8: public key "PostgreSQL Debian Repository" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ gpg --export B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
+ rm -rf /tmp/tmp.XHKAmPOrDx
+ apt-key list
/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
----------------------------------------------------------
pub   4096R/2B90D010 2014-11-21 [expires: 2022-11-19]
uid                  Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
-------------------------------------------------------------------
pub   4096R/C857C906 2014-11-21 [expires: 2022-11-19]
uid                  Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
-------------------------------------------------------
pub   4096R/518E17E1 2013-08-17 [expires: 2021-08-15]
uid                  Jessie Stable Release Key <debian-release@lists.debian.org>

/etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg
-----------------------------------------------------------
pub   4096R/F66AEC98 2017-05-22 [expires: 2025-05-20]
uid                  Debian Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>
sub   4096R/B7D453EC 2017-05-22 [expires: 2025-05-20]

/etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg
--------------------------------------------------------------------
pub   4096R/8AE22BA9 2017-05-22 [expires: 2025-05-20]
uid                  Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>
sub   4096R/331F7F50 2017-05-22 [expires: 2025-05-20]

/etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg
--------------------------------------------------------
pub   4096R/1A7B6500 2017-05-20 [expires: 2025-05-18]
uid                  Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>

/etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
----------------------------------------------------------
pub   4096R/46925553 2012-04-27 [expires: 2020-04-25]
uid                  Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg
-------------------------------------------------------
pub   4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
uid                  Wheezy Stable Release Key <debian-release@lists.debian.org>

/etc/apt/trusted.gpg.d/postgres.gpg
-----------------------------------
pub   4096R/ACCC4CF8 2011-10-13
uid                  PostgreSQL Debian Repository

Removing intermediate container 7edb695fd38f
 ---> 1197d9f0588c
Step 10/23 : ENV PG_MAJOR 9.6
 ---> Running in e150ba3853f6
Removing intermediate container e150ba3853f6
 ---> 6688846d955b
Step 11/23 : ENV PG_VERSION 9.6.6-1.pgdg80+1
 ---> Running in 5a79e347ba1e
Removing intermediate container 5a79e347ba1e
 ---> f845727bc498
Step 12/23 : RUN set -ex;       dpkgArch="$(dpkg --print-architecture)";    case "$dpkgArch" in         amd64|i386|ppc64el)             echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list;             apt-get update;     ;;      *)          echo "deb-src http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; tempDir="$(mktemp -d)";             cd "$tempDir";          savedAptMark="$(apt-mark showmanual)";                      apt-get update;             apt-get build-dep -y                postgresql-common pgdg-keyring              "postgresql-$PG_MAJOR=$PG_VERSION"          ;           DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)"               apt-get source --compile    postgresql-common pgdg-keyring                  "postgresql-$PG_MAJOR=$PG_VERSION"          ;                   apt-mark showmanual | xargs apt-mark auto > /dev/null;          apt-mark manual $savedAptMark;                      ls -lAFh;   dpkg-scanpackages . > Packages;             grep '^Package: ' Packages;     echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list;          apt-get -o Acquire::GzipIndexes=false update;       ;;  esac;       apt-get install -y postgresql-common;   sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf;   apt-get install -y      "postgresql-$PG_MAJOR=$PG_VERSION"      "postgresql-contrib-$PG_MAJOR=$PG_VERSION"  ;       rm -rf /var/lib/apt/lists/*;        if [ -n "$tempDir" ]; then      apt-get purge -y --auto-remove;         rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list;    fi
 ---> Running in eec2193ad068
+ dpkg --print-architecture
+ dpkgArch=amd64
+ echo deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main 9.6
+ apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://apt.postgresql.org jessie-pgdg InRelease [56.4 kB]
Ign http://deb.debian.org jessie InRelease
Get:3 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:4 http://deb.debian.org jessie Release.gpg [2,373 B]
Get:5 http://deb.debian.org jessie Release [148 kB]
Get:6 http://security.debian.org jessie/updates/main amd64 Packages [597 kB]
Get:7 http://apt.postgresql.org jessie-pgdg/main amd64 Packages [149 kB]
Get:8 http://apt.postgresql.org jessie-pgdg/9.6 amd64 Packages [1,699 B]
Get:9 http://deb.debian.org jessie-updates/main amd64 Packages [23.2 kB]
Get:10 http://deb.debian.org jessie/main amd64 Packages [9,063 kB]
Fetched 10.2 MB in 6s (1,701 kB/s)
Reading package lists...
+ apt-get install -y postgresql-common
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  bsd-mailx cron exim4 exim4-base exim4-config exim4-daemon-light file
  init-system-helpers libalgorithm-c3-perl libarchive-extract-perl libbsd0
  libcgi-fast-perl libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl
  libcpan-meta-perl libdata-optlist-perl libdata-section-perl libexpat1
  libfcgi-perl libffi6 libgdbm3 libgmp10 libgnutls-deb0-28 libhogweed2
  liblockfile-bin liblockfile1 liblog-message-perl liblog-message-simple-perl
  libmagic1 libmodule-build-perl libmodule-pluggable-perl
  libmodule-signature-perl libmro-compat-perl libnettle4 libp11-kit0
  libpackage-constants-perl libparams-util-perl libpod-latex-perl
  libpod-readme-perl libpopt0 libpython-stdlib libpython2.7-minimal
  libpython2.7-stdlib libregexp-common-perl libsoftware-license-perl
  libsqlite3-0 libssl1.0.0 libsub-exporter-perl libsub-install-perl libtasn1-6
  libterm-ui-perl libtext-soundex-perl libtext-template-perl logrotate
  lsb-release mime-support openssl perl perl-modules pgdg-keyring
  postgresql-client-common psmisc python python-minimal python2.7
  python2.7-minimal rename ssl-cert ucf
Suggested packages:
  anacron checksecurity mail-reader eximon4 exim4-doc-html exim4-doc-info
  spf-tools-perl swaks gnutls-bin lsb ca-certificates perl-doc
  libterm-readline-gnu-perl libterm-readline-perl-perl make libb-lint-perl
  libcpanplus-dist-build-perl libcpanplus-perl libfile-checktree-perl
  libobject-accessor-perl libjson-perl python-doc python-tk python2.7-doc
  binutils binfmt-support openssl-blacklist
Recommended packages:
  mailx libarchive-tar-perl
The following NEW packages will be installed:
  bsd-mailx cron exim4 exim4-base exim4-config exim4-daemon-light file
  init-system-helpers libalgorithm-c3-perl libarchive-extract-perl libbsd0
  libcgi-fast-perl libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl
  libcpan-meta-perl libdata-optlist-perl libdata-section-perl libexpat1
  libfcgi-perl libffi6 libgdbm3 libgmp10 libgnutls-deb0-28 libhogweed2
  liblockfile-bin liblockfile1 liblog-message-perl liblog-message-simple-perl
  libmagic1 libmodule-build-perl libmodule-pluggable-perl
  libmodule-signature-perl libmro-compat-perl libnettle4 libp11-kit0
  libpackage-constants-perl libparams-util-perl libpod-latex-perl
  libpod-readme-perl libpopt0 libpython-stdlib libpython2.7-minimal
  libpython2.7-stdlib libregexp-common-perl libsoftware-license-perl
  libsqlite3-0 libssl1.0.0 libsub-exporter-perl libsub-install-perl libtasn1-6
  libterm-ui-perl libtext-soundex-perl libtext-template-perl logrotate
  lsb-release mime-support openssl perl perl-modules pgdg-keyring
  postgresql-client-common postgresql-common psmisc python python-minimal
  python2.7 python2.7-minimal rename ssl-cert ucf
0 upgraded, 71 newly installed, 0 to remove and 1 not upgraded.
Need to get 17.8 MB of archives.
After this operation, 73.2 MB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libssl1.0.0 amd64 1.0.1t-1+deb8u7 [1,046 kB]
Get:2 http://security.debian.org/ jessie/updates/main perl-modules all 5.20.2-3+deb8u9 [2,553 kB]
Get:3 http://security.debian.org/ jessie/updates/main perl amd64 5.20.2-3+deb8u9 [2,641 kB]
Get:4 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main pgdg-keyring all 2017.3 [10.3 kB]
Get:5 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main postgresql-client-common all 188.pgdg80+1 [81.6 kB]
Get:6 http://deb.debian.org/debian/ jessie/main init-system-helpers all 1.22 [14.0 kB]
Get:7 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main postgresql-common all 188.pgdg80+1 [223 kB]
Get:8 http://deb.debian.org/debian/ jessie/main cron amd64 3.0pl1-127+deb8u1 [94.0 kB]
Get:9 http://deb.debian.org/debian/ jessie/main libgdbm3 amd64 1.8.3-13.1 [30.0 kB]
Get:10 http://deb.debian.org/debian/ jessie/main libpopt0 amd64 1.16-10 [49.2 kB]
Get:11 http://deb.debian.org/debian/ jessie/main libgmp10 amd64 2:6.0.0+dfsg-6 [253 kB]
Get:12 http://deb.debian.org/debian/ jessie/main libnettle4 amd64 2.7.1-5+deb8u2 [176 kB]
Get:13 http://deb.debian.org/debian/ jessie/main libhogweed2 amd64 2.7.1-5+deb8u2 [125 kB]
Get:14 http://deb.debian.org/debian/ jessie/main libffi6 amd64 3.1-2+deb8u1 [20.2 kB]
Get:15 http://deb.debian.org/debian/ jessie/main libp11-kit0 amd64 0.20.7-1 [81.2 kB]
Get:16 http://deb.debian.org/debian/ jessie/main libtasn1-6 amd64 4.2-3+deb8u3 [49.2 kB]
Get:17 http://deb.debian.org/debian/ jessie/main libgnutls-deb0-28 amd64 3.3.8-6+deb8u7 [696 kB]
Get:18 http://deb.debian.org/debian/ jessie/main liblockfile-bin amd64 1.09-6 [18.9 kB]
Get:19 http://deb.debian.org/debian/ jessie/main liblockfile1 amd64 1.09-6 [15.8 kB]
Get:20 http://security.debian.org/ jessie/updates/main openssl amd64 1.0.1t-1+deb8u7 [665 kB]
Get:21 http://deb.debian.org/debian/ jessie/main libmagic1 amd64 1:5.22+15-2+deb8u3 [250 kB]
Get:22 http://deb.debian.org/debian/ jessie/main libsqlite3-0 amd64 3.8.7.1-1+deb8u2 [438 kB]
Get:23 http://deb.debian.org/debian/ jessie/main libpython2.7-minimal amd64 2.7.9-2+deb8u1 [378 kB]
Get:24 http://deb.debian.org/debian/ jessie/main python2.7-minimal amd64 2.7.9-2+deb8u1 [1,401 kB]
Get:25 http://deb.debian.org/debian/ jessie/main python-minimal amd64 2.7.9-1 [40.3 kB]
Get:26 http://deb.debian.org/debian/ jessie/main mime-support all 3.58 [36.0 kB]
Get:27 http://deb.debian.org/debian/ jessie/main libexpat1 amd64 2.1.0-6+deb8u4 [80.2 kB]
Get:28 http://deb.debian.org/debian/ jessie/main libpython2.7-stdlib amd64 2.7.9-2+deb8u1 [1,847 kB]
Get:29 http://deb.debian.org/debian/ jessie/main python2.7 amd64 2.7.9-2+deb8u1 [252 kB]
Get:30 http://deb.debian.org/debian/ jessie/main libpython-stdlib amd64 2.7.9-1 [19.5 kB]
Get:31 http://deb.debian.org/debian/ jessie/main python amd64 2.7.9-1 [151 kB]
Get:32 http://deb.debian.org/debian/ jessie/main libbsd0 amd64 0.7.0-2 [67.9 kB]
Get:33 http://deb.debian.org/debian/ jessie/main logrotate amd64 3.8.7-1+b1 [52.2 kB]
Get:34 http://deb.debian.org/debian/ jessie/main exim4-config all 4.84.2-2+deb8u4 [502 kB]
Get:35 http://deb.debian.org/debian/ jessie/main exim4-base amd64 4.84.2-2+deb8u4 [1,049 kB]
Get:36 http://deb.debian.org/debian/ jessie/main exim4-daemon-light amd64 4.84.2-2+deb8u4 [632 kB]
Get:37 http://deb.debian.org/debian/ jessie/main bsd-mailx amd64 8.1.2-0.20141216cvs-2 [81.7 kB]
Get:38 http://deb.debian.org/debian/ jessie/main exim4 all 4.84.2-2+deb8u4 [8,584 B]
Get:39 http://deb.debian.org/debian/ jessie/main file amd64 1:5.22+15-2+deb8u3 [60.4 kB]
Get:40 http://deb.debian.org/debian/ jessie/main ucf all 3.0030 [69.7 kB]
Get:41 http://deb.debian.org/debian/ jessie/main libalgorithm-c3-perl all 0.09-1 [11.9 kB]
Get:42 http://deb.debian.org/debian/ jessie/main libarchive-extract-perl all 0.72-1 [24.8 kB]
Get:43 http://deb.debian.org/debian/ jessie/main libcgi-pm-perl all 4.09-1 [213 kB]
Get:44 http://deb.debian.org/debian/ jessie/main libfcgi-perl amd64 0.77-1+deb8u1 [39.0 kB]
Get:45 http://deb.debian.org/debian/ jessie/main libcgi-fast-perl all 1:2.04-1 [10.9 kB]
Get:46 http://deb.debian.org/debian/ jessie/main libclass-c3-perl all 0.26-1 [22.9 kB]
Get:47 http://deb.debian.org/debian/ jessie/main libclass-c3-xs-perl amd64 0.13-2+b1 [15.2 kB]
Get:48 http://deb.debian.org/debian/ jessie/main libcpan-meta-perl all 2.142690-1 [125 kB]
Get:49 http://deb.debian.org/debian/ jessie/main libparams-util-perl amd64 1.07-2+b1 [23.5 kB]
Get:50 http://deb.debian.org/debian/ jessie/main libsub-install-perl all 0.928-1 [11.4 kB]
Get:51 http://deb.debian.org/debian/ jessie/main libdata-optlist-perl all 0.109-1 [10.6 kB]
Get:52 http://deb.debian.org/debian/ jessie/main libmro-compat-perl all 0.12-1 [13.2 kB]
Get:53 http://deb.debian.org/debian/ jessie/main libsub-exporter-perl all 0.986-1 [49.9 kB]
Get:54 http://deb.debian.org/debian/ jessie/main libdata-section-perl all 0.200006-1 [13.4 kB]
Get:55 http://deb.debian.org/debian/ jessie/main liblog-message-perl all 0.8-1 [26.0 kB]
Get:56 http://deb.debian.org/debian/ jessie/main liblog-message-simple-perl all 0.10-2 [8,126 B]
Get:57 http://deb.debian.org/debian/ jessie/main libmodule-build-perl all 0.421000-2+deb8u1 [265 kB]
Get:58 http://deb.debian.org/debian/ jessie/main libmodule-pluggable-perl all 5.1-1 [25.0 kB]
Get:59 http://deb.debian.org/debian/ jessie/main libmodule-signature-perl all 0.73-1+deb8u2 [30.4 kB]
Get:60 http://deb.debian.org/debian/ jessie/main libpackage-constants-perl all 0.04-1 [5,820 B]
Get:61 http://deb.debian.org/debian/ jessie/main libpod-latex-perl all 0.61-1 [34.7 kB]
Get:62 http://deb.debian.org/debian/ jessie/main libregexp-common-perl all 2013031301-1 [173 kB]
Get:63 http://deb.debian.org/debian/ jessie/main libpod-readme-perl all 0.11-1 [15.3 kB]
Get:64 http://deb.debian.org/debian/ jessie/main libtext-template-perl all 1.46-1 [53.1 kB]
Get:65 http://deb.debian.org/debian/ jessie/main libsoftware-license-perl all 0.103010-3 [119 kB]
Get:66 http://deb.debian.org/debian/ jessie/main libterm-ui-perl all 0.42-1 [19.1 kB]
Get:67 http://deb.debian.org/debian/ jessie/main libtext-soundex-perl amd64 3.4-1+b2 [13.7 kB]
Get:68 http://deb.debian.org/debian/ jessie/main lsb-release all 4.1+Debian13+nmu1 [26.5 kB]
Get:69 http://deb.debian.org/debian/ jessie/main ssl-cert all 1.0.35 [20.9 kB]
Get:70 http://deb.debian.org/debian/ jessie/main psmisc amd64 22.21-2 [119 kB]
Get:71 http://deb.debian.org/debian/ jessie/main rename all 0.20-3 [12.4 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 17.8 MB in 14s (1,270 kB/s)
Selecting previously unselected package init-system-helpers.
(Reading database ... 8187 files and directories currently installed.)
Preparing to unpack .../init-system-helpers_1.22_all.deb ...
Unpacking init-system-helpers (1.22) ...
Selecting previously unselected package cron.
Preparing to unpack .../cron_3.0pl1-127+deb8u1_amd64.deb ...
Unpacking cron (3.0pl1-127+deb8u1) ...
Selecting previously unselected package libgdbm3:amd64.
Preparing to unpack .../libgdbm3_1.8.3-13.1_amd64.deb ...
Unpacking libgdbm3:amd64 (1.8.3-13.1) ...
Selecting previously unselected package libpopt0:amd64.
Preparing to unpack .../libpopt0_1.16-10_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-10) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u7) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a6.0.0+dfsg-6_amd64.deb ...
Unpacking libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Selecting previously unselected package libnettle4:amd64.
Preparing to unpack .../libnettle4_2.7.1-5+deb8u2_amd64.deb ...
Unpacking libnettle4:amd64 (2.7.1-5+deb8u2) ...
Selecting previously unselected package libhogweed2:amd64.
Preparing to unpack .../libhogweed2_2.7.1-5+deb8u2_amd64.deb ...
Unpacking libhogweed2:amd64 (2.7.1-5+deb8u2) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.1-2+deb8u1_amd64.deb ...
Unpacking libffi6:amd64 (3.1-2+deb8u1) ...
Selecting previously unselected package libp11-kit0:amd64.
Preparing to unpack .../libp11-kit0_0.20.7-1_amd64.deb ...
Unpacking libp11-kit0:amd64 (0.20.7-1) ...
Selecting previously unselected package libtasn1-6:amd64.
Preparing to unpack .../libtasn1-6_4.2-3+deb8u3_amd64.deb ...
Unpacking libtasn1-6:amd64 (4.2-3+deb8u3) ...
Selecting previously unselected package libgnutls-deb0-28:amd64.
Preparing to unpack .../libgnutls-deb0-28_3.3.8-6+deb8u7_amd64.deb ...
Unpacking libgnutls-deb0-28:amd64 (3.3.8-6+deb8u7) ...
Selecting previously unselected package liblockfile-bin.
Preparing to unpack .../liblockfile-bin_1.09-6_amd64.deb ...
Unpacking liblockfile-bin (1.09-6) ...
Selecting previously unselected package liblockfile1:amd64.
Preparing to unpack .../liblockfile1_1.09-6_amd64.deb ...
Unpacking liblockfile1:amd64 (1.09-6) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../libmagic1_1%3a5.22+15-2+deb8u3_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.22+15-2+deb8u3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../libsqlite3-0_3.8.7.1-1+deb8u2_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.8.7.1-1+deb8u2) ...
Selecting previously unselected package perl-modules.
Preparing to unpack .../perl-modules_5.20.2-3+deb8u9_all.deb ...
Unpacking perl-modules (5.20.2-3+deb8u9) ...
Selecting previously unselected package perl.
Preparing to unpack .../perl_5.20.2-3+deb8u9_amd64.deb ...
Unpacking perl (5.20.2-3+deb8u9) ...
Selecting previously unselected package libpython2.7-minimal:amd64.
Preparing to unpack .../libpython2.7-minimal_2.7.9-2+deb8u1_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.9-2+deb8u1) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.9-2+deb8u1_amd64.deb ...
Unpacking python2.7-minimal (2.7.9-2+deb8u1) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.58_all.deb ...
Unpacking mime-support (3.58) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-6+deb8u4_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-6+deb8u4) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.9-2+deb8u1_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.9-2+deb8u1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.9-2+deb8u1_amd64.deb ...
Unpacking python2.7 (2.7.9-2+deb8u1) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up libpython2.7-minimal:amd64 (2.7.9-2+deb8u1) ...
Setting up python2.7-minimal (2.7.9-2+deb8u1) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 10387 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../libbsd0_0.7.0-2_amd64.deb ...
Unpacking libbsd0:amd64 (0.7.0-2) ...
Selecting previously unselected package logrotate.
Preparing to unpack .../logrotate_3.8.7-1+b1_amd64.deb ...
Unpacking logrotate (3.8.7-1+b1) ...
Selecting previously unselected package exim4-config.
Preparing to unpack .../exim4-config_4.84.2-2+deb8u4_all.deb ...
Unpacking exim4-config (4.84.2-2+deb8u4) ...
Selecting previously unselected package exim4-base.
Preparing to unpack .../exim4-base_4.84.2-2+deb8u4_amd64.deb ...
Unpacking exim4-base (4.84.2-2+deb8u4) ...
Selecting previously unselected package exim4-daemon-light.
Preparing to unpack .../exim4-daemon-light_4.84.2-2+deb8u4_amd64.deb ...
Unpacking exim4-daemon-light (4.84.2-2+deb8u4) ...
Selecting previously unselected package bsd-mailx.
Preparing to unpack .../bsd-mailx_8.1.2-0.20141216cvs-2_amd64.deb ...
Unpacking bsd-mailx (8.1.2-0.20141216cvs-2) ...
Selecting previously unselected package exim4.
Preparing to unpack .../exim4_4.84.2-2+deb8u4_all.deb ...
Unpacking exim4 (4.84.2-2+deb8u4) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.22+15-2+deb8u3_amd64.deb ...
Unpacking file (1:5.22+15-2+deb8u3) ...
Selecting previously unselected package ucf.
Preparing to unpack .../archives/ucf_3.0030_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0030) ...
Selecting previously unselected package libalgorithm-c3-perl.
Preparing to unpack .../libalgorithm-c3-perl_0.09-1_all.deb ...
Unpacking libalgorithm-c3-perl (0.09-1) ...
Selecting previously unselected package libarchive-extract-perl.
Preparing to unpack .../libarchive-extract-perl_0.72-1_all.deb ...
Unpacking libarchive-extract-perl (0.72-1) ...
Selecting previously unselected package libcgi-pm-perl.
Preparing to unpack .../libcgi-pm-perl_4.09-1_all.deb ...
Unpacking libcgi-pm-perl (4.09-1) ...
Selecting previously unselected package libfcgi-perl.
Preparing to unpack .../libfcgi-perl_0.77-1+deb8u1_amd64.deb ...
Unpacking libfcgi-perl (0.77-1+deb8u1) ...
Selecting previously unselected package libcgi-fast-perl.
Preparing to unpack .../libcgi-fast-perl_1%3a2.04-1_all.deb ...
Unpacking libcgi-fast-perl (1:2.04-1) ...
Selecting previously unselected package libclass-c3-perl.
Preparing to unpack .../libclass-c3-perl_0.26-1_all.deb ...
Unpacking libclass-c3-perl (0.26-1) ...
Selecting previously unselected package libclass-c3-xs-perl.
Preparing to unpack .../libclass-c3-xs-perl_0.13-2+b1_amd64.deb ...
Unpacking libclass-c3-xs-perl (0.13-2+b1) ...
Selecting previously unselected package libcpan-meta-perl.
Preparing to unpack .../libcpan-meta-perl_2.142690-1_all.deb ...
Unpacking libcpan-meta-perl (2.142690-1) ...
Selecting previously unselected package libparams-util-perl.
Preparing to unpack .../libparams-util-perl_1.07-2+b1_amd64.deb ...
Unpacking libparams-util-perl (1.07-2+b1) ...
Selecting previously unselected package libsub-install-perl.
Preparing to unpack .../libsub-install-perl_0.928-1_all.deb ...
Unpacking libsub-install-perl (0.928-1) ...
Selecting previously unselected package libdata-optlist-perl.
Preparing to unpack .../libdata-optlist-perl_0.109-1_all.deb ...
Unpacking libdata-optlist-perl (0.109-1) ...
Selecting previously unselected package libmro-compat-perl.
Preparing to unpack .../libmro-compat-perl_0.12-1_all.deb ...
Unpacking libmro-compat-perl (0.12-1) ...
Selecting previously unselected package libsub-exporter-perl.
Preparing to unpack .../libsub-exporter-perl_0.986-1_all.deb ...
Unpacking libsub-exporter-perl (0.986-1) ...
Selecting previously unselected package libdata-section-perl.
Preparing to unpack .../libdata-section-perl_0.200006-1_all.deb ...
Unpacking libdata-section-perl (0.200006-1) ...
Selecting previously unselected package liblog-message-perl.
Preparing to unpack .../liblog-message-perl_0.8-1_all.deb ...
Unpacking liblog-message-perl (0.8-1) ...
Selecting previously unselected package liblog-message-simple-perl.
Preparing to unpack .../liblog-message-simple-perl_0.10-2_all.deb ...
Unpacking liblog-message-simple-perl (0.10-2) ...
Selecting previously unselected package libmodule-build-perl.
Preparing to unpack .../libmodule-build-perl_0.421000-2+deb8u1_all.deb ...
Adding 'diversion of /usr/bin/config_data to /usr/bin/config_data.diverted by libmodule-build-perl'
Adding 'diversion of /usr/share/man/man1/config_data.1.gz to /usr/share/man/man1/config_data.diverted.1.gz by libmodule-build-perl'
Unpacking libmodule-build-perl (0.421000-2+deb8u1) ...
Selecting previously unselected package libmodule-pluggable-perl.
Preparing to unpack .../libmodule-pluggable-perl_5.1-1_all.deb ...
Unpacking libmodule-pluggable-perl (5.1-1) ...
Selecting previously unselected package libmodule-signature-perl.
Preparing to unpack .../libmodule-signature-perl_0.73-1+deb8u2_all.deb ...
Unpacking libmodule-signature-perl (0.73-1+deb8u2) ...
Selecting previously unselected package libpackage-constants-perl.
Preparing to unpack .../libpackage-constants-perl_0.04-1_all.deb ...
Unpacking libpackage-constants-perl (0.04-1) ...
Selecting previously unselected package libpod-latex-perl.
Preparing to unpack .../libpod-latex-perl_0.61-1_all.deb ...
Adding 'diversion of /usr/bin/pod2latex to /usr/bin/pod2latex.bundled by libpod-latex-perl'
Adding 'diversion of /usr/share/man/man1/pod2latex.1.gz to /usr/share/man/man1/pod2latex.bundled.1.gz by libpod-latex-perl'
Unpacking libpod-latex-perl (0.61-1) ...
Selecting previously unselected package libregexp-common-perl.
Preparing to unpack .../libregexp-common-perl_2013031301-1_all.deb ...
Unpacking libregexp-common-perl (2013031301-1) ...
Selecting previously unselected package libpod-readme-perl.
Preparing to unpack .../libpod-readme-perl_0.11-1_all.deb ...
Unpacking libpod-readme-perl (0.11-1) ...
Selecting previously unselected package libtext-template-perl.
Preparing to unpack .../libtext-template-perl_1.46-1_all.deb ...
Unpacking libtext-template-perl (1.46-1) ...
Selecting previously unselected package libsoftware-license-perl.
Preparing to unpack .../libsoftware-license-perl_0.103010-3_all.deb ...
Unpacking libsoftware-license-perl (0.103010-3) ...
Selecting previously unselected package libterm-ui-perl.
Preparing to unpack .../libterm-ui-perl_0.42-1_all.deb ...
Unpacking libterm-ui-perl (0.42-1) ...
Selecting previously unselected package libtext-soundex-perl.
Preparing to unpack .../libtext-soundex-perl_3.4-1+b2_amd64.deb ...
Unpacking libtext-soundex-perl (3.4-1+b2) ...
Selecting previously unselected package lsb-release.
Preparing to unpack .../lsb-release_4.1+Debian13+nmu1_all.deb ...
Unpacking lsb-release (4.1+Debian13+nmu1) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.1t-1+deb8u7_amd64.deb ...
Unpacking openssl (1.0.1t-1+deb8u7) ...
Selecting previously unselected package pgdg-keyring.
Preparing to unpack .../pgdg-keyring_2017.3_all.deb ...
Unpacking pgdg-keyring (2017.3) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../postgresql-client-common_188.pgdg80+1_all.deb ...
Unpacking postgresql-client-common (188.pgdg80+1) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.0.35_all.deb ...
Unpacking ssl-cert (1.0.35) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../postgresql-common_188.pgdg80+1_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (188.pgdg80+1) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../psmisc_22.21-2_amd64.deb ...
Unpacking psmisc (22.21-2) ...
Selecting previously unselected package rename.
Preparing to unpack .../archives/rename_0.20-3_all.deb ...
Unpacking rename (0.20-3) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up init-system-helpers (1.22) ...
Setting up cron (3.0pl1-127+deb8u1) ...
Adding group `crontab' (GID 107) ...
Done.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libgdbm3:amd64 (1.8.3-13.1) ...
Setting up libpopt0:amd64 (1.16-10) ...
Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u7) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Setting up libnettle4:amd64 (2.7.1-5+deb8u2) ...
Setting up libhogweed2:amd64 (2.7.1-5+deb8u2) ...
Setting up libffi6:amd64 (3.1-2+deb8u1) ...
Setting up libp11-kit0:amd64 (0.20.7-1) ...
Setting up libtasn1-6:amd64 (4.2-3+deb8u3) ...
Setting up libgnutls-deb0-28:amd64 (3.3.8-6+deb8u7) ...
Setting up liblockfile-bin (1.09-6) ...
Setting up liblockfile1:amd64 (1.09-6) ...
Setting up libmagic1:amd64 (1:5.22+15-2+deb8u3) ...
Setting up libsqlite3-0:amd64 (3.8.7.1-1+deb8u2) ...
Setting up perl-modules (5.20.2-3+deb8u9) ...
Setting up perl (5.20.2-3+deb8u9) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
Setting up mime-support (3.58) ...
Setting up libexpat1:amd64 (2.1.0-6+deb8u4) ...
Setting up libpython2.7-stdlib:amd64 (2.7.9-2+deb8u1) ...
Setting up python2.7 (2.7.9-2+deb8u1) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libbsd0:amd64 (0.7.0-2) ...
Setting up logrotate (3.8.7-1+b1) ...
Setting up exim4-config (4.84.2-2+deb8u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Adding system-user for exim (v4)
Setting up exim4-base (4.84.2-2+deb8u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
exim: DB upgrade, deleting hints-db
Setting up exim4-daemon-light (4.84.2-2+deb8u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
invoke-rc.d: policy-rc.d denied execution of start.
Setting up bsd-mailx (8.1.2-0.20141216cvs-2) ...
update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode
Setting up exim4 (4.84.2-2+deb8u4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up file (1:5.22+15-2+deb8u3) ...
Setting up ucf (3.0030) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libalgorithm-c3-perl (0.09-1) ...
Setting up libarchive-extract-perl (0.72-1) ...
Setting up libcgi-pm-perl (4.09-1) ...
Setting up libfcgi-perl (0.77-1+deb8u1) ...
Setting up libcgi-fast-perl (1:2.04-1) ...
Setting up libclass-c3-perl (0.26-1) ...
Setting up libclass-c3-xs-perl (0.13-2+b1) ...
Setting up libcpan-meta-perl (2.142690-1) ...
Setting up libparams-util-perl (1.07-2+b1) ...
Setting up libsub-install-perl (0.928-1) ...
Setting up libdata-optlist-perl (0.109-1) ...
Setting up libmro-compat-perl (0.12-1) ...
Setting up libsub-exporter-perl (0.986-1) ...
Setting up libdata-section-perl (0.200006-1) ...
Setting up liblog-message-perl (0.8-1) ...
Setting up liblog-message-simple-perl (0.10-2) ...
Setting up libmodule-build-perl (0.421000-2+deb8u1) ...
Setting up libmodule-pluggable-perl (5.1-1) ...
Setting up libmodule-signature-perl (0.73-1+deb8u2) ...
Setting up libpackage-constants-perl (0.04-1) ...
Setting up libpod-latex-perl (0.61-1) ...
Setting up libregexp-common-perl (2013031301-1) ...
Setting up libpod-readme-perl (0.11-1) ...
Setting up libtext-template-perl (1.46-1) ...
Setting up libsoftware-license-perl (0.103010-3) ...
Setting up libterm-ui-perl (0.42-1) ...
Setting up libtext-soundex-perl (3.4-1+b2) ...
Setting up lsb-release (4.1+Debian13+nmu1) ...
Setting up openssl (1.0.1t-1+deb8u7) ...
Setting up pgdg-keyring (2017.3) ...
Setting up postgresql-client-common (188.pgdg80+1) ...
Setting up ssl-cert (1.0.35) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up postgresql-common (188.pgdg80+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
Adding user postgres to group ssl-cert

Creating config file /etc/postgresql-common/createcluster.conf with new version
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
invoke-rc.d: policy-rc.d denied execution of start.
Setting up psmisc (22.21-2) ...
Setting up rename (0.20-3) ...
update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
+ sed -ri s/#(create_main_cluster) .*$/\1 = false/ /etc/postgresql-common/createcluster.conf
+ apt-get install -y postgresql-9.6=9.6.6-1.pgdg80+1 postgresql-contrib-9.6=9.6.6-1.pgdg80+1
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  bzip2 krb5-locales libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1
  libkrb5-3 libkrb5support0 libldap-2.4-2 libpq5 libsasl2-2 libsasl2-modules
  libsasl2-modules-db libsensors4 libxml2 libxslt1.1 postgresql-client-9.6
  sgml-base sysstat xml-core
Suggested packages:
  bzip2-doc krb5-doc krb5-user libsasl2-modules-otp libsasl2-modules-ldap
  libsasl2-modules-sql libsasl2-modules-gssapi-mit
  libsasl2-modules-gssapi-heimdal lm-sensors locales-all postgresql-doc-9.6
  libdbd-pg-perl sgml-base-doc isag debhelper
The following NEW packages will be installed:
  bzip2 krb5-locales libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1
  libkrb5-3 libkrb5support0 libldap-2.4-2 libpq5 libsasl2-2 libsasl2-modules
  libsasl2-modules-db libsensors4 libxml2 libxslt1.1 postgresql-9.6
  postgresql-client-9.6 postgresql-contrib-9.6 sgml-base sysstat xml-core
0 upgraded, 22 newly installed, 0 to remove and 1 not upgraded.
Need to get 11.4 MB of archives.
After this operation, 40.0 MB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libxml2 amd64 2.9.1+dfsg1-5+deb8u5 [803 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main libpq5 amd64 10.1-1.pgdg80+1 [159 kB]
Get:3 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main postgresql-client-9.6 amd64 9.6.6-1.pgdg80+1 [1,231 kB]
Get:4 http://deb.debian.org/debian/ jessie/main libedit2 amd64 3.1-20140620-2 [85.1 kB]
Get:5 http://deb.debian.org/debian/ jessie/main libkeyutils1 amd64 1.5.9-5+b1 [12.0 kB]
Get:6 http://deb.debian.org/debian/ jessie/main libkrb5support0 amd64 1.12.1+dfsg-19+deb8u2 [59.1 kB]
Get:7 http://deb.debian.org/debian/ jessie/main libk5crypto3 amd64 1.12.1+dfsg-19+deb8u2 [115 kB]
Get:8 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main postgresql-9.6 amd64 9.6.6-1.pgdg80+1 [4,183 kB]
Get:9 http://deb.debian.org/debian/ jessie/main libkrb5-3 amd64 1.12.1+dfsg-19+deb8u2 [303 kB]
Get:10 http://deb.debian.org/debian/ jessie/main libgssapi-krb5-2 amd64 1.12.1+dfsg-19+deb8u2 [152 kB]
Get:11 http://deb.debian.org/debian/ jessie/main libsasl2-modules-db amd64 2.1.26.dfsg1-13+deb8u1 [67.1 kB]
Get:12 http://deb.debian.org/debian/ jessie/main libsasl2-2 amd64 2.1.26.dfsg1-13+deb8u1 [105 kB]
Get:13 http://deb.debian.org/debian/ jessie/main libldap-2.4-2 amd64 2.4.40+dfsg-1+deb8u3 [218 kB]
Get:14 http://deb.debian.org/debian/ jessie/main libsensors4 amd64 1:3.3.5-2 [51.5 kB]
Get:15 http://deb.debian.org/debian/ jessie/main libxslt1.1 amd64 1.1.28-2+deb8u3 [232 kB]
Get:16 http://deb.debian.org/debian/ jessie/main sgml-base all 1.26+nmu4 [14.6 kB]
Get:17 http://deb.debian.org/debian/ jessie/main bzip2 amd64 1.0.6-7+b3 [46.9 kB]
Get:18 http://deb.debian.org/debian/ jessie/main krb5-locales all 1.12.1+dfsg-19+deb8u2 [2,649 kB]
Get:19 http://deb.debian.org/debian/ jessie/main libsasl2-modules amd64 2.1.26.dfsg1-13+deb8u1 [101 kB]
Get:20 http://deb.debian.org/debian/ jessie/main sysstat amd64 11.0.1-1 [286 kB]
Get:21 http://deb.debian.org/debian/ jessie/main xml-core all 0.13+nmu2 [24.2 kB]
Get:22 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main postgresql-contrib-9.6 amd64 9.6.6-1.pgdg80+1 [507 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 11.4 MB in 32s (347 kB/s)
Selecting previously unselected package libedit2:amd64.
(Reading database ... 11512 files and directories currently installed.)
Preparing to unpack .../libedit2_3.1-20140620-2_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20140620-2) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../libkeyutils1_1.5.9-5+b1_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.5.9-5+b1) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../libkrb5support0_1.12.1+dfsg-19+deb8u2_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../libk5crypto3_1.12.1+dfsg-19+deb8u2_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../libkrb5-3_1.12.1+dfsg-19+deb8u2_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-19+deb8u2_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../libsasl2-modules-db_2.1.26.dfsg1-13+deb8u1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../libsasl2-2_2.1.26.dfsg1-13+deb8u1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../libldap-2.4-2_2.4.40+dfsg-1+deb8u3_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.40+dfsg-1+deb8u3) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u5_amd64.deb ...
Unpacking libxml2:amd64 (2.9.1+dfsg1-5+deb8u5) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../libpq5_10.1-1.pgdg80+1_amd64.deb ...
Unpacking libpq5:amd64 (10.1-1.pgdg80+1) ...
Selecting previously unselected package libsensors4:amd64.
Preparing to unpack .../libsensors4_1%3a3.3.5-2_amd64.deb ...
Unpacking libsensors4:amd64 (1:3.3.5-2) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2+deb8u3_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2+deb8u3) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../sgml-base_1.26+nmu4_all.deb ...
Unpacking sgml-base (1.26+nmu4) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../bzip2_1.0.6-7+b3_amd64.deb ...
Unpacking bzip2 (1.0.6-7+b3) ...
Selecting previously unselected package krb5-locales.
Preparing to unpack .../krb5-locales_1.12.1+dfsg-19+deb8u2_all.deb ...
Unpacking krb5-locales (1.12.1+dfsg-19+deb8u2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../libsasl2-modules_2.1.26.dfsg1-13+deb8u1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.26.dfsg1-13+deb8u1) ...
Selecting previously unselected package postgresql-client-9.6.
Preparing to unpack .../postgresql-client-9.6_9.6.6-1.pgdg80+1_amd64.deb ...
Unpacking postgresql-client-9.6 (9.6.6-1.pgdg80+1) ...
Selecting previously unselected package postgresql-9.6.
Preparing to unpack .../postgresql-9.6_9.6.6-1.pgdg80+1_amd64.deb ...
Unpacking postgresql-9.6 (9.6.6-1.pgdg80+1) ...
Selecting previously unselected package postgresql-contrib-9.6.
Preparing to unpack .../postgresql-contrib-9.6_9.6.6-1.pgdg80+1_amd64.deb ...
Unpacking postgresql-contrib-9.6 (9.6.6-1.pgdg80+1) ...
Selecting previously unselected package sysstat.
Preparing to unpack .../sysstat_11.0.1-1_amd64.deb ...
Unpacking sysstat (11.0.1-1) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../xml-core_0.13+nmu2_all.deb ...
Unpacking xml-core (0.13+nmu2) ...
Processing triggers for postgresql-common (188.pgdg80+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
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Processing triggers for systemd (215-17+deb8u7) ...
Setting up libedit2:amd64 (3.1-20140620-2) ...
Setting up libkeyutils1:amd64 (1.5.9-5+b1) ...
Setting up libkrb5support0:amd64 (1.12.1+dfsg-19+deb8u2) ...
Setting up libk5crypto3:amd64 (1.12.1+dfsg-19+deb8u2) ...
Setting up libkrb5-3:amd64 (1.12.1+dfsg-19+deb8u2) ...
Setting up libgssapi-krb5-2:amd64 (1.12.1+dfsg-19+deb8u2) ...
Setting up libsasl2-modules-db:amd64 (2.1.26.dfsg1-13+deb8u1) ...
Setting up libsasl2-2:amd64 (2.1.26.dfsg1-13+deb8u1) ...
Setting up libldap-2.4-2:amd64 (2.4.40+dfsg-1+deb8u3) ...
Setting up libxml2:amd64 (2.9.1+dfsg1-5+deb8u5) ...
Setting up libpq5:amd64 (10.1-1.pgdg80+1) ...
Setting up libsensors4:amd64 (1:3.3.5-2) ...
Setting up libxslt1.1:amd64 (1.1.28-2+deb8u3) ...
Setting up sgml-base (1.26+nmu4) ...
Setting up bzip2 (1.0.6-7+b3) ...
Setting up krb5-locales (1.12.1+dfsg-19+deb8u2) ...
Setting up libsasl2-modules:amd64 (2.1.26.dfsg1-13+deb8u1) ...
Setting up postgresql-client-9.6 (9.6.6-1.pgdg80+1) ...
update-alternatives: using /usr/share/postgresql/9.6/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-9.6 (9.6.6-1.pgdg80+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
update-alternatives: using /usr/share/postgresql/9.6/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
invoke-rc.d: policy-rc.d denied execution of start.
Setting up postgresql-contrib-9.6 (9.6.6-1.pgdg80+1) ...
Setting up sysstat (11.0.1-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

Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Setting up xml-core (0.13+nmu2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for sgml-base (1.26+nmu4) ...
+ rm -rf /var/lib/apt/lists/apt.postgresql.org_pub_repos_apt_dists_jessie-pgdg_9.6_binary-amd64_Packages.gz /var/lib/apt/lists/apt.postgresql.org_pub_repos_apt_dists_jessie-pgdg_InRelease /var/lib/apt/lists/apt.postgresql.org_pub_repos_apt_dists_jessie-pgdg_main_binary-amd64_Packages.gz /var/lib/apt/lists/deb.debian.org_debian_dists_jessie-updates_InRelease /var/lib/apt/lists/deb.debian.org_debian_dists_jessie-updates_main_binary-amd64_Packages.gz /var/lib/apt/lists/deb.debian.org_debian_dists_jessie_Release /var/lib/apt/lists/deb.debian.org_debian_dists_jessie_Release.gpg /var/lib/apt/lists/deb.debian.org_debian_dists_jessie_main_binary-amd64_Packages.gz /var/lib/apt/lists/lock /var/lib/apt/lists/partial /var/lib/apt/lists/security.debian.org_dists_jessie_updates_InRelease /var/lib/apt/lists/security.debian.org_dists_jessie_updates_main_binary-amd64_Packages.gz
+ [ -n  ]
Removing intermediate container eec2193ad068
 ---> 816ae0754909
Step 13/23 : RUN mv -v "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample" /usr/share/postgresql/  && ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"  && sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample
 ---> Running in 33eea21fc732
‘/usr/share/postgresql/9.6/postgresql.conf.sample’ -> ‘/usr/share/postgresql/postgresql.conf.sample’
‘/usr/share/postgresql/9.6/postgresql.conf.sample’ -> ‘../postgresql.conf.sample’
Removing intermediate container 33eea21fc732
 ---> 3c41e3920c5c
Step 14/23 : RUN mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
 ---> Running in 7e2d7be26a0a
Removing intermediate container 7e2d7be26a0a
 ---> efe87023e0b2
Step 15/23 : ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
 ---> Running in b098c3a13773
Removing intermediate container b098c3a13773
 ---> d629b736f22b
Step 16/23 : ENV PGDATA /var/lib/postgresql/data
 ---> Running in 664c9074e39f
Removing intermediate container 664c9074e39f
 ---> e4bf3f9aa858
Step 17/23 : RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
 ---> Running in b5f8f7b6ee7e
Removing intermediate container b5f8f7b6ee7e
 ---> e27237233468
Step 18/23 : VOLUME /var/lib/postgresql/data
 ---> Running in 9c6e6d765596
Removing intermediate container 9c6e6d765596
 ---> 340d5ee87452
Step 19/23 : COPY docker-entrypoint.sh /usr/local/bin/
 ---> 61a5fd9408db
Step 20/23 : RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
 ---> Running in d652d59bee12
Removing intermediate container d652d59bee12
 ---> fb65700559d3
Step 21/23 : ENTRYPOINT ["docker-entrypoint.sh"]
 ---> Running in 5504d4c82f0f
Removing intermediate container 5504d4c82f0f
 ---> f1e4a426d8b3
Step 22/23 : EXPOSE 5432
 ---> Running in c5909c7f3f53
Removing intermediate container c5909c7f3f53
 ---> 5e54ce9f2098
Step 23/23 : CMD ["postgres"]
 ---> Running in b6bcf99b17e0
Removing intermediate container b6bcf99b17e0
 ---> 7d6f52db51e3
Successfully built 7d6f52db51e3
Successfully tagged postgres-9.6:latest

$ docker run --name postgres postgres-9.6
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok

Success. You can now start the database server using:

    pg_ctl -D /var/lib/postgresql/data -l logfile start

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
****************************************************
WARNING: No password has been set for the database.
         This will allow anyone with access to the
         Postgres port to access your database. In
         Docker's default configuration, this is
         effectively any other container on the same
         system.

         Use "-e POSTGRES_PASSWORD=password" to set
         it in "docker run".
****************************************************
waiting for server to start....LOG:  could not bind IPv6 socket: Cannot assign requested address
HINT:  Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
LOG:  database system was shut down at 2017-12-08 18:42:50 UTC
LOG:  MultiXact member wraparound protections are now enabled
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started
 done
server started
ALTER ROLE

/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

LOG:  received fast shutdown request
LOG:  aborting any active transactions
waiting for server to shut down....LOG:  autovacuum launcher shutting down
LOG:  shutting down
LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

LOG:  database system was shut down at 2017-12-08 18:42:51 UTC
LOG:  MultiXact member wraparound protections are now enabled
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started