# Pastebin WN9sXsTj ➜ musicbrainz-server git:(mb-import) ✗ docker build -f docker/Dockerfile.import-database -t suyashmb . Sending build context to Docker daemon 138.3MB Step 1/16 : FROM postgres:9.5.6 ---> 52caac8f7edd Step 2/16 : ARG DEBIAN_FRONTEND=noninteractive ---> Using cache ---> 8f32c23b7377 Step 3/16 : RUN apt-get update && apt-get install --no-install-suggests --no-install-recommends -y ca-certificates curl sudo && rm -rf /var/lib/apt/lists/* ---> Using cache ---> 573bb73d263e Step 4/16 : RUN cd /tmp && curl -O https://raw.githubusercontent.com/metabrainz/docker-postgres/1ce35dc/postgres-base/install_extensions.sh && chmod +x install_extensions.sh && ./install_extensions.sh && rm install_extensions.sh ---> Using cache ---> 7c6c1b0e8ee1 Step 5/16 : RUN useradd --create-home --shell /bin/bash musicbrainz ---> Using cache ---> 3c2ca4b4c759 Step 6/16 : WORKDIR /home/musicbrainz/musicbrainz-server ---> Using cache ---> 4df5f3104f8f Step 7/16 : RUN mkdir -p /home/musicbrainz/musicbrainz-server && chown -R musicbrainz:musicbrainz /home/musicbrainz/musicbrainz-server ---> Using cache ---> dcb459b09549 Step 8/16 : COPY docker/musicbrainz-import-database/cpanfile docker/musicbrainz-import-database/cpanfile.snapshot ./ ---> e689acfaaa9c Removing intermediate container 4d3012c2924e Step 9/16 : ENV PERL_CPANM_OPT --notest --no-interactive ---> Running in 93ce6efeb738 ---> 17554df3ebfb Removing intermediate container 93ce6efeb738 Step 10/16 : RUN apt-get update && apt-get install --no-install-suggests --no-install-recommends -y gcc libc6-dev make postgresql-server-dev-9.5 carton postgresql-9.5-pgtap && rm -rf /var/lib/apt/lists/* && sudo -E -H -u musicbrainz carton install --deployment && apt-get purge --auto-remove -y gcc libc6-dev make postgresql-server-dev-9.5 ---> Running in 23fcec3fe794 Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB] Get:2 http://apt.postgresql.org jessie-pgdg InRelease [51.6 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://security.debian.org jessie/updates/main amd64 Packages [517 kB] Get:6 http://apt.postgresql.org jessie-pgdg/main amd64 Packages [112 kB] Get:7 http://deb.debian.org jessie Release [148 kB] Get:8 http://deb.debian.org jessie-updates/main amd64 Packages [17.6 kB] Get:9 http://apt.postgresql.org jessie-pgdg/9.5 amd64 Packages [1,690 B] Get:10 http://deb.debian.org jessie/main amd64 Packages [9,065 kB] Fetched 10.1 MB in 14s (722 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: binutils cpanminus cpp cpp-4.9 gcc-4.9 libapp-fatpacker-perl libasan1 libatomic1 libc-dev-bin libcapture-tiny-perl libcilkrts5 libclass-data-inheritable-perl libclass-method-modifiers-perl libcloog-isl4 libcpan-distnameinfo-perl libcpan-meta-check-perl libcpan-meta-requirements-perl libdevel-globaldestruction-perl libdevel-stacktrace-perl libexception-class-perl libfile-pushd-perl libgcc-4.9-dev libgomp1 libimport-into-perl libisl10 libitm1 libjson-perl libjson-pp-perl liblocal-lib-perl liblsan0 libmodule-cpanfile-perl libmodule-metadata-perl libmodule-reader-perl libmodule-runtime-perl libmoo-perl libmpc3 libmpfr4 libparams-classify-perl libparse-pmfile-perl libpath-tiny-perl libpq-dev libquadmath0 librole-tiny-perl libstrictures-perl libstring-shellquote-perl libsub-exporter-progressive-perl libtry-tiny-perl libtsan0 libubsan0 libversion-perl linux-libc-dev Suggested packages: binutils-doc cpp-doc gcc-4.9-locales gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc gcc-4.9-multilib gcc-4.9-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libquadmath0-dbg glibc-doc libscalar-number-perl postgresql-doc-9.6 make-doc Recommended packages: libjson-xs-perl libclass-xsaccessor-perl libsub-name-perl libunicode-utf8-perl libbareword-filehandles-perl libindirect-perl libmultidimensional-perl pgtap-doc libtap-parser-sourcehandler-pgtap-perl libtap-harness-archive-perl The following NEW packages will be installed: binutils carton cpanminus cpp cpp-4.9 gcc gcc-4.9 libapp-fatpacker-perl libasan1 libatomic1 libc-dev-bin libc6-dev libcapture-tiny-perl libcilkrts5 libclass-data-inheritable-perl libclass-method-modifiers-perl libcloog-isl4 libcpan-distnameinfo-perl libcpan-meta-check-perl libcpan-meta-requirements-perl libdevel-globaldestruction-perl libdevel-stacktrace-perl libexception-class-perl libfile-pushd-perl libgcc-4.9-dev libgomp1 libimport-into-perl libisl10 libitm1 libjson-perl libjson-pp-perl liblocal-lib-perl liblsan0 libmodule-cpanfile-perl libmodule-metadata-perl libmodule-reader-perl libmodule-runtime-perl libmoo-perl libmpc3 libmpfr4 libparams-classify-perl libparse-pmfile-perl libpath-tiny-perl libpq-dev libquadmath0 librole-tiny-perl libstrictures-perl libstring-shellquote-perl libsub-exporter-progressive-perl libtry-tiny-perl libtsan0 libubsan0 libversion-perl linux-libc-dev make postgresql-9.5-pgtap postgresql-server-dev-9.5 0 upgraded, 57 newly installed, 0 to remove and 9 not upgraded. Need to get 23.7 MB of archives. After this operation, 98.3 MB of additional disk space will be used. Get:1 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main libpq-dev amd64 9.6.3-1.pgdg80+1 [214 kB] Get:2 http://deb.debian.org/debian/ jessie/main libasan1 amd64 4.9.2-10 [195 kB] Get:3 http://deb.debian.org/debian/ jessie/main libatomic1 amd64 4.9.2-10 [8,992 B] Get:4 http://deb.debian.org/debian/ jessie/main libcilkrts5 amd64 4.9.2-10 [40.1 kB] Get:5 http://deb.debian.org/debian/ jessie/main libisl10 amd64 0.12.2-2 [440 kB] Get:6 http://deb.debian.org/debian/ jessie/main libcloog-isl4 amd64 0.18.2-1+b2 [61.8 kB] Get:7 http://deb.debian.org/debian/ jessie/main libgomp1 amd64 4.9.2-10 [37.8 kB] Get:8 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main postgresql-server-dev-9.5 amd64 9.5.7-1.pgdg80+1 [725 kB] Get:9 http://deb.debian.org/debian/ jessie/main libitm1 amd64 4.9.2-10 [29.2 kB] Get:10 http://deb.debian.org/debian/ jessie/main liblsan0 amd64 4.9.2-10 [92.8 kB] Get:11 http://deb.debian.org/debian/ jessie/main libmpfr4 amd64 3.1.2-2 [527 kB] Get:12 http://deb.debian.org/debian/ jessie/main libquadmath0 amd64 4.9.2-10 [129 kB] Get:13 http://deb.debian.org/debian/ jessie/main libtsan0 amd64 4.9.2-10 [212 kB] Get:14 http://deb.debian.org/debian/ jessie/main libubsan0 amd64 4.9.2-10 [82.4 kB] Get:15 http://deb.debian.org/debian/ jessie/main libmpc3 amd64 1.0.2-1 [39.3 kB] Get:16 http://deb.debian.org/debian/ jessie/main binutils amd64 2.25-5+deb8u1 [3,496 kB] Get:17 http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg/main postgresql-9.5-pgtap all 0.97.0-2.pgdg80+1 [50.0 kB] Get:18 http://deb.debian.org/debian/ jessie/main libcpan-distnameinfo-perl all 0.12-1 [9,472 B] Get:19 http://deb.debian.org/debian/ jessie/main libversion-perl amd64 1:0.9909-1 [85.3 kB] Get:20 http://deb.debian.org/debian/ jessie/main libcpan-meta-requirements-perl all 2.128-1 [15.8 kB] Get:21 http://deb.debian.org/debian/ jessie/main libcpan-meta-check-perl all 0.009-1 [11.0 kB] Get:22 http://deb.debian.org/debian/ jessie/main libfile-pushd-perl all 1.009-1 [13.6 kB] Get:23 http://deb.debian.org/debian/ jessie/main libjson-pp-perl all 2.27300-2 [51.8 kB] Get:24 http://deb.debian.org/debian/ jessie/main liblocal-lib-perl all 2.000014-1 [54.5 kB] Get:25 http://deb.debian.org/debian/ jessie/main libmodule-cpanfile-perl all 1.1000-1 [28.9 kB] Get:26 http://deb.debian.org/debian/ jessie/main libmodule-metadata-perl all 1.000024-1 [21.6 kB] Get:27 http://deb.debian.org/debian/ jessie/main libparse-pmfile-perl all 0.29-1 [15.5 kB] Get:28 http://deb.debian.org/debian/ jessie/main libstring-shellquote-perl all 1.03-1 [14.0 kB] Get:29 http://deb.debian.org/debian/ jessie/main cpanminus all 1.7014-1 [216 kB] Get:30 http://deb.debian.org/debian/ jessie/main libapp-fatpacker-perl all 0.010001-1 [18.4 kB] Get:31 http://deb.debian.org/debian/ jessie/main libcapture-tiny-perl all 0.25-1 [24.1 kB] Get:32 http://deb.debian.org/debian/ jessie/main libclass-data-inheritable-perl all 0.08-2 [9,296 B] Get:33 http://deb.debian.org/debian/ jessie/main libdevel-stacktrace-perl all 1.3400-1 [23.9 kB] Get:34 http://deb.debian.org/debian/ jessie/main libexception-class-perl all 1.38-1 [30.2 kB] Get:35 http://deb.debian.org/debian/ jessie/main libjson-perl all 2.61-1 [84.7 kB] Get:36 http://deb.debian.org/debian/ jessie/main libmodule-reader-perl all 0.002003-1 [6,646 B] Get:37 http://deb.debian.org/debian/ jessie/main libclass-method-modifiers-perl all 2.11-1 [18.5 kB] Get:38 http://deb.debian.org/debian/ jessie/main libsub-exporter-progressive-perl all 0.001011-1 [7,748 B] Get:39 http://deb.debian.org/debian/ jessie/main libdevel-globaldestruction-perl all 0.13-1 [8,676 B] Get:40 http://deb.debian.org/debian/ jessie/main libparams-classify-perl amd64 0.013-4+b2 [24.1 kB] Get:41 http://deb.debian.org/debian/ jessie/main libmodule-runtime-perl all 0.014-1 [17.9 kB] Get:42 http://deb.debian.org/debian/ jessie/main libimport-into-perl all 1.002004-1 [11.5 kB] Get:43 http://deb.debian.org/debian/ jessie/main librole-tiny-perl all 1.003004-1 [19.4 kB] Get:44 http://deb.debian.org/debian/ jessie/main libstrictures-perl all 1.005005-1 [13.5 kB] Get:45 http://deb.debian.org/debian/ jessie/main libmoo-perl all 1.006001-1 [62.7 kB] Get:46 http://deb.debian.org/debian/ jessie/main libpath-tiny-perl all 0.058-1 [51.8 kB] Get:47 http://deb.debian.org/debian/ jessie/main libtry-tiny-perl all 0.22-1 [19.6 kB] Get:48 http://deb.debian.org/debian/ jessie/main carton all 1.0.12-1 [51.2 kB] Get:49 http://deb.debian.org/debian/ jessie/main cpp-4.9 amd64 4.9.2-10 [5,169 kB] Get:50 http://deb.debian.org/debian/ jessie/main cpp amd64 4:4.9.2-2 [17.3 kB] Get:51 http://deb.debian.org/debian/ jessie/main libgcc-4.9-dev amd64 4.9.2-10 [2,066 kB] Get:52 http://deb.debian.org/debian/ jessie/main gcc-4.9 amd64 4.9.2-10 [5,352 kB] Get:53 http://deb.debian.org/debian/ jessie/main gcc amd64 4:4.9.2-2 [5,136 B] Get:54 http://deb.debian.org/debian/ jessie/main libc-dev-bin amd64 2.19-18+deb8u9 [238 kB] Get:55 http://deb.debian.org/debian/ jessie/main linux-libc-dev amd64 3.16.43-2 [1,059 kB] Get:56 http://deb.debian.org/debian/ jessie/main libc6-dev amd64 2.19-18+deb8u9 [2,003 kB] Get:57 http://deb.debian.org/debian/ jessie/main make amd64 4.0-8.1 [349 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 23.7 MB in 29s (803 kB/s) Selecting previously unselected package libasan1:amd64. (Reading database ... 12877 files and directories currently installed.) Preparing to unpack .../libasan1_4.9.2-10_amd64.deb ... Unpacking libasan1:amd64 (4.9.2-10) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../libatomic1_4.9.2-10_amd64.deb ... Unpacking libatomic1:amd64 (4.9.2-10) ... Selecting previously unselected package libcilkrts5:amd64. Preparing to unpack .../libcilkrts5_4.9.2-10_amd64.deb ... Unpacking libcilkrts5:amd64 (4.9.2-10) ... Selecting previously unselected package libisl10:amd64. Preparing to unpack .../libisl10_0.12.2-2_amd64.deb ... Unpacking libisl10:amd64 (0.12.2-2) ... Selecting previously unselected package libcloog-isl4:amd64. Preparing to unpack .../libcloog-isl4_0.18.2-1+b2_amd64.deb ... Unpacking libcloog-isl4:amd64 (0.18.2-1+b2) ... Selecting previously unselected package libgomp1:amd64. Preparing to unpack .../libgomp1_4.9.2-10_amd64.deb ... Unpacking libgomp1:amd64 (4.9.2-10) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../libitm1_4.9.2-10_amd64.deb ... Unpacking libitm1:amd64 (4.9.2-10) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../liblsan0_4.9.2-10_amd64.deb ... Unpacking liblsan0:amd64 (4.9.2-10) ... Selecting previously unselected package libmpfr4:amd64. Preparing to unpack .../libmpfr4_3.1.2-2_amd64.deb ... Unpacking libmpfr4:amd64 (3.1.2-2) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../libquadmath0_4.9.2-10_amd64.deb ... Unpacking libquadmath0:amd64 (4.9.2-10) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../libtsan0_4.9.2-10_amd64.deb ... Unpacking libtsan0:amd64 (4.9.2-10) ... Selecting previously unselected package libubsan0:amd64. Preparing to unpack .../libubsan0_4.9.2-10_amd64.deb ... Unpacking libubsan0:amd64 (4.9.2-10) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../libmpc3_1.0.2-1_amd64.deb ... Unpacking libmpc3:amd64 (1.0.2-1) ... Selecting previously unselected package binutils. Preparing to unpack .../binutils_2.25-5+deb8u1_amd64.deb ... Unpacking binutils (2.25-5+deb8u1) ... Selecting previously unselected package libcpan-distnameinfo-perl. Preparing to unpack .../libcpan-distnameinfo-perl_0.12-1_all.deb ... Unpacking libcpan-distnameinfo-perl (0.12-1) ... Selecting previously unselected package libversion-perl. Preparing to unpack .../libversion-perl_1%3a0.9909-1_amd64.deb ... Unpacking libversion-perl (1:0.9909-1) ... Selecting previously unselected package libcpan-meta-requirements-perl. Preparing to unpack .../libcpan-meta-requirements-perl_2.128-1_all.deb ... Unpacking libcpan-meta-requirements-perl (2.128-1) ... Selecting previously unselected package libcpan-meta-check-perl. Preparing to unpack .../libcpan-meta-check-perl_0.009-1_all.deb ... Unpacking libcpan-meta-check-perl (0.009-1) ... Selecting previously unselected package libfile-pushd-perl. Preparing to unpack .../libfile-pushd-perl_1.009-1_all.deb ... Unpacking libfile-pushd-perl (1.009-1) ... Selecting previously unselected package libjson-pp-perl. Preparing to unpack .../libjson-pp-perl_2.27300-2_all.deb ... Adding 'diversion of /usr/bin/json_pp to /usr/bin/json_pp.bundled by libjson-pp-perl' Adding 'diversion of /usr/share/man/man1/json_pp.1.gz to /usr/share/man/man1/json_pp.bundled.1.gz by libjson-pp-perl' Unpacking libjson-pp-perl (2.27300-2) ... Selecting previously unselected package liblocal-lib-perl. Preparing to unpack .../liblocal-lib-perl_2.000014-1_all.deb ... Unpacking liblocal-lib-perl (2.000014-1) ... Selecting previously unselected package libmodule-cpanfile-perl. Preparing to unpack .../libmodule-cpanfile-perl_1.1000-1_all.deb ... Unpacking libmodule-cpanfile-perl (1.1000-1) ... Selecting previously unselected package libmodule-metadata-perl. Preparing to unpack .../libmodule-metadata-perl_1.000024-1_all.deb ... Unpacking libmodule-metadata-perl (1.000024-1) ... Selecting previously unselected package libparse-pmfile-perl. Preparing to unpack .../libparse-pmfile-perl_0.29-1_all.deb ... Unpacking libparse-pmfile-perl (0.29-1) ... Selecting previously unselected package libstring-shellquote-perl. Preparing to unpack .../libstring-shellquote-perl_1.03-1_all.deb ... Unpacking libstring-shellquote-perl (1.03-1) ... Selecting previously unselected package cpanminus. Preparing to unpack .../cpanminus_1.7014-1_all.deb ... Unpacking cpanminus (1.7014-1) ... Selecting previously unselected package libapp-fatpacker-perl. Preparing to unpack .../libapp-fatpacker-perl_0.010001-1_all.deb ... Unpacking libapp-fatpacker-perl (0.010001-1) ... Selecting previously unselected package libcapture-tiny-perl. Preparing to unpack .../libcapture-tiny-perl_0.25-1_all.deb ... Unpacking libcapture-tiny-perl (0.25-1) ... Selecting previously unselected package libclass-data-inheritable-perl. Preparing to unpack .../libclass-data-inheritable-perl_0.08-2_all.deb ... Unpacking libclass-data-inheritable-perl (0.08-2) ... Selecting previously unselected package libdevel-stacktrace-perl. Preparing to unpack .../libdevel-stacktrace-perl_1.3400-1_all.deb ... Unpacking libdevel-stacktrace-perl (1.3400-1) ... Selecting previously unselected package libexception-class-perl. Preparing to unpack .../libexception-class-perl_1.38-1_all.deb ... Unpacking libexception-class-perl (1.38-1) ... Selecting previously unselected package libjson-perl. Preparing to unpack .../libjson-perl_2.61-1_all.deb ... Unpacking libjson-perl (2.61-1) ... Selecting previously unselected package libmodule-reader-perl. Preparing to unpack .../libmodule-reader-perl_0.002003-1_all.deb ... Unpacking libmodule-reader-perl (0.002003-1) ... Selecting previously unselected package libclass-method-modifiers-perl. Preparing to unpack .../libclass-method-modifiers-perl_2.11-1_all.deb ... Unpacking libclass-method-modifiers-perl (2.11-1) ... Selecting previously unselected package libsub-exporter-progressive-perl. Preparing to unpack .../libsub-exporter-progressive-perl_0.001011-1_all.deb ... Unpacking libsub-exporter-progressive-perl (0.001011-1) ... Selecting previously unselected package libdevel-globaldestruction-perl. Preparing to unpack .../libdevel-globaldestruction-perl_0.13-1_all.deb ... Unpacking libdevel-globaldestruction-perl (0.13-1) ... Selecting previously unselected package libparams-classify-perl. Preparing to unpack .../libparams-classify-perl_0.013-4+b2_amd64.deb ... Unpacking libparams-classify-perl (0.013-4+b2) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../libmodule-runtime-perl_0.014-1_all.deb ... Unpacking libmodule-runtime-perl (0.014-1) ... Selecting previously unselected package libimport-into-perl. Preparing to unpack .../libimport-into-perl_1.002004-1_all.deb ... Unpacking libimport-into-perl (1.002004-1) ... Selecting previously unselected package librole-tiny-perl. Preparing to unpack .../librole-tiny-perl_1.003004-1_all.deb ... Unpacking librole-tiny-perl (1.003004-1) ... Selecting previously unselected package libstrictures-perl. Preparing to unpack .../libstrictures-perl_1.005005-1_all.deb ... Unpacking libstrictures-perl (1.005005-1) ... Selecting previously unselected package libmoo-perl. Preparing to unpack .../libmoo-perl_1.006001-1_all.deb ... Unpacking libmoo-perl (1.006001-1) ... Selecting previously unselected package libpath-tiny-perl. Preparing to unpack .../libpath-tiny-perl_0.058-1_all.deb ... Unpacking libpath-tiny-perl (0.058-1) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../libtry-tiny-perl_0.22-1_all.deb ... Unpacking libtry-tiny-perl (0.22-1) ... Selecting previously unselected package carton. Preparing to unpack .../carton_1.0.12-1_all.deb ... Unpacking carton (1.0.12-1) ... Selecting previously unselected package cpp-4.9. Preparing to unpack .../cpp-4.9_4.9.2-10_amd64.deb ... Unpacking cpp-4.9 (4.9.2-10) ... Selecting previously unselected package cpp. Preparing to unpack .../cpp_4%3a4.9.2-2_amd64.deb ... Unpacking cpp (4:4.9.2-2) ... Selecting previously unselected package libgcc-4.9-dev:amd64. Preparing to unpack .../libgcc-4.9-dev_4.9.2-10_amd64.deb ... Unpacking libgcc-4.9-dev:amd64 (4.9.2-10) ... Selecting previously unselected package gcc-4.9. Preparing to unpack .../gcc-4.9_4.9.2-10_amd64.deb ... Unpacking gcc-4.9 (4.9.2-10) ... Selecting previously unselected package gcc. Preparing to unpack .../gcc_4%3a4.9.2-2_amd64.deb ... Unpacking gcc (4:4.9.2-2) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../libc-dev-bin_2.19-18+deb8u9_amd64.deb ... Unpacking libc-dev-bin (2.19-18+deb8u9) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../linux-libc-dev_3.16.43-2_amd64.deb ... Unpacking linux-libc-dev:amd64 (3.16.43-2) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../libc6-dev_2.19-18+deb8u9_amd64.deb ... Unpacking libc6-dev:amd64 (2.19-18+deb8u9) ... Selecting previously unselected package libpq-dev. Preparing to unpack .../libpq-dev_9.6.3-1.pgdg80+1_amd64.deb ... Unpacking libpq-dev (9.6.3-1.pgdg80+1) ... Selecting previously unselected package make. Preparing to unpack .../make_4.0-8.1_amd64.deb ... Unpacking make (4.0-8.1) ... Selecting previously unselected package postgresql-server-dev-9.5. Preparing to unpack .../postgresql-server-dev-9.5_9.5.7-1.pgdg80+1_amd64.deb ... Unpacking postgresql-server-dev-9.5 (9.5.7-1.pgdg80+1) ... Selecting previously unselected package postgresql-9.5-pgtap. Preparing to unpack .../postgresql-9.5-pgtap_0.97.0-2.pgdg80+1_all.deb ... Unpacking postgresql-9.5-pgtap (0.97.0-2.pgdg80+1) ... Processing triggers for postgresql-common (180.pgdg80+1) ... Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: Setting up libasan1:amd64 (4.9.2-10) ... Setting up libatomic1:amd64 (4.9.2-10) ... Setting up libcilkrts5:amd64 (4.9.2-10) ... Setting up libisl10:amd64 (0.12.2-2) ... Setting up libcloog-isl4:amd64 (0.18.2-1+b2) ... Setting up libgomp1:amd64 (4.9.2-10) ... Setting up libitm1:amd64 (4.9.2-10) ... Setting up liblsan0:amd64 (4.9.2-10) ... Setting up libmpfr4:amd64 (3.1.2-2) ... Setting up libquadmath0:amd64 (4.9.2-10) ... Setting up libtsan0:amd64 (4.9.2-10) ... Setting up libubsan0:amd64 (4.9.2-10) ... Setting up libmpc3:amd64 (1.0.2-1) ... Setting up binutils (2.25-5+deb8u1) ... Setting up libcpan-distnameinfo-perl (0.12-1) ... Setting up libversion-perl (1:0.9909-1) ... Setting up libcpan-meta-requirements-perl (2.128-1) ... Setting up libcpan-meta-check-perl (0.009-1) ... Setting up libfile-pushd-perl (1.009-1) ... Setting up libjson-pp-perl (2.27300-2) ... Setting up liblocal-lib-perl (2.000014-1) ... Setting up libmodule-cpanfile-perl (1.1000-1) ... Setting up libmodule-metadata-perl (1.000024-1) ... Setting up libparse-pmfile-perl (0.29-1) ... Setting up libstring-shellquote-perl (1.03-1) ... Setting up cpanminus (1.7014-1) ... Setting up libapp-fatpacker-perl (0.010001-1) ... Setting up libcapture-tiny-perl (0.25-1) ... Setting up libclass-data-inheritable-perl (0.08-2) ... Setting up libdevel-stacktrace-perl (1.3400-1) ... Setting up libexception-class-perl (1.38-1) ... Setting up libjson-perl (2.61-1) ... Setting up libmodule-reader-perl (0.002003-1) ... Setting up libclass-method-modifiers-perl (2.11-1) ... Setting up libsub-exporter-progressive-perl (0.001011-1) ... Setting up libdevel-globaldestruction-perl (0.13-1) ... Setting up libparams-classify-perl (0.013-4+b2) ... Setting up libmodule-runtime-perl (0.014-1) ... Setting up libimport-into-perl (1.002004-1) ... Setting up librole-tiny-perl (1.003004-1) ... Setting up libstrictures-perl (1.005005-1) ... Setting up libmoo-perl (1.006001-1) ... Setting up libpath-tiny-perl (0.058-1) ... Setting up libtry-tiny-perl (0.22-1) ... Setting up carton (1.0.12-1) ... Setting up cpp-4.9 (4.9.2-10) ... Setting up cpp (4:4.9.2-2) ... Setting up libgcc-4.9-dev:amd64 (4.9.2-10) ... Setting up gcc-4.9 (4.9.2-10) ... Setting up gcc (4:4.9.2-2) ... Setting up libc-dev-bin (2.19-18+deb8u9) ... Setting up linux-libc-dev:amd64 (3.16.43-2) ... Setting up libc6-dev:amd64 (2.19-18+deb8u9) ... Setting up libpq-dev (9.6.3-1.pgdg80+1) ... Setting up make (4.0-8.1) ... Setting up postgresql-server-dev-9.5 (9.5.7-1.pgdg80+1) ... Setting up postgresql-9.5-pgtap (0.97.0-2.pgdg80+1) ... Processing triggers for libc-bin (2.19-18+deb8u9) ... Installing modules using /home/musicbrainz/musicbrainz-server/cpanfile (deployment mode) Successfully installed JSON-2.90 Successfully installed JSON-PP-2.27400 (upgraded from 2.27203) Successfully installed CPAN-Meta-2.150010 (upgraded from 2.140640) Successfully installed Module-Build-0.4220 (upgraded from 0.4205) Successfully installed Sub-Identify-0.12 Successfully installed SUPER-1.20141117 Successfully installed Test-MockModule-0.11 Successfully installed DBI-1.636 Successfully installed DBIx-Connector-0.56 Successfully installed Module-Runtime-0.014 Successfully installed Dist-CheckConflicts-0.11 Successfully installed Try-Tiny-0.27 Successfully installed Module-Implementation-0.09 Successfully installed Package-Stash-XS-0.28 Successfully installed Package-Stash-0.37 Successfully installed Sub-Install-0.928 Successfully installed Params-Util-1.07 Successfully installed Data-OptList-0.110 Successfully installed Class-Load-0.23 Successfully installed Module-Runtime-Conflicts-0.003 Successfully installed Devel-StackTrace-2.01 Successfully installed Class-Load-XS-0.09 Successfully installed Sub-Name-0.21 Successfully installed MRO-Compat-0.12 Successfully installed Devel-OverloadInfo-0.004 Successfully installed Scalar-List-Utils-1.46 (upgraded from 1.38) Successfully installed Package-DeprecationManager-0.17 Successfully installed Sub-Exporter-Progressive-0.001013 Successfully installed Devel-GlobalDestruction-0.13 Successfully installed Sub-Exporter-0.987 Successfully installed Eval-Closure-0.14 Successfully installed Moose-2.1806 Successfully installed DBD-Pg-3.5.3 Successfully installed String-ShellQuote-1.04 Successfully installed Class-Method-Modifiers-2.12 Successfully installed Role-Tiny-2.000003 Successfully installed Moo-2.002004 Successfully installed Throwable-0.200013 Successfully installed ExtUtils-Config-0.008 Successfully installed ExtUtils-Helpers-0.026 Successfully installed ExtUtils-InstallPaths-0.011 Successfully installed Module-Build-Tiny-0.039 Successfully installed aliased-0.34 ! Couldn't find module or a distribution DateTime ! Installing the dependencies failed: Module 'DateTime' is not installed ! Bailing out the installation for /home/musicbrainz/musicbrainz-server/. 43 distributions installed Installing modules failed The command '/bin/sh -c apt-get update && apt-get install --no-install-suggests --no-install-recommends -y gcc libc6-dev make postgresql-server-dev-9.5 carton postgresql-9.5-pgtap && rm -rf /var/lib/apt/lists/* && sudo -E -H -u musicbrainz carton install --deployment && apt-get purge --auto-remove -y gcc libc6-dev make postgresql-server-dev-9.5' returned a non-zero code: 2 ➜ musicbrainz-server git:(mb-import) ✗