Skip to content

Instantly share code, notes, and snippets.

@alberts-s
Last active May 19, 2018 23:10
Show Gist options
  • Save alberts-s/7ef267dc8146fc5173a292a4d6513df8 to your computer and use it in GitHub Desktop.
Save alberts-s/7ef267dc8146fc5173a292a4d6513df8 to your computer and use it in GitHub Desktop.
Mozilla IoT docker
root@ip-10-70-1-186:~/gateway-docker# docker build -t as/mozillaiot .
Sending build context to Docker daemon 110.6kB
Step 1/8 : FROM node:8-stretch
8-stretch: Pulling from library/node
cc1a78bfd46b: Pull complete
6861473222a6: Pull complete
7e0b9c3b5ae0: Pull complete
3ec98735f56f: Pull complete
9b311b87a021: Pull complete
c74794776f5f: Pull complete
c758c9cba8be: Pull complete
fd8ac233e512: Pull complete
1c2416b45f65: Pull complete
Digest: sha256:88d295373f367cdf01a3f2aa2ecb4ab1737d6420241273a1910960b129afb868
Status: Downloaded newer image for node:8-stretch
---> d23bbba7d041
Step 2/8 : EXPOSE 8080 4443
---> Running in a0d98b64a8fc
Removing intermediate container a0d98b64a8fc
---> c8c06cc9f66f
Step 3/8 : RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list && apt update && apt dist-upgrade -y && apt install -y build-essential certbot cron git libffi-dev libnanomsg-dev libnanomsg4 libopenzwave1.5 libopenzwave1.5-dev python python-pip python-setuptools python3 python3-pip python3-setuptools runit sudo && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && echo "0 */12 * * * root /home/node/mozilla-iot/gateway/tools/renew-certificates.sh" > /etc/cron.d/renew-certs && pip2 install git+https://github.com/mozilla-iot/gateway-addon-python#egg=gateway_addon && pip3 install git+https://github.com/mozilla-iot/gateway-addon-python#egg=gateway_addon && pip3 install git+https://github.com/mycroftai/adapt#egg=adapt-parser && npm install -g yarn && usermod -a -G sudo node && touch /etc/inittab && echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
---> Running in 6a3ed281f188
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:3 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [437 kB]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [12.1 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [9530 kB]
Get:9 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:10 http://ftp.debian.org/debian stretch-backports/main amd64 Packages [439 kB]
Fetched 10.8 MB in 3s (2831 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
curl libcurl3 libcurl3-gnutls libcurl4-openssl-dev linux-libc-dev tzdata
wget
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3576 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 wget amd64 1.18-5+deb9u2 [799 kB]
Get:2 http://deb.debian.org/debian stretch-updates/main amd64 tzdata all 2018e-0+deb9u1 [267 kB]
Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 libcurl4-openssl-dev amd64 7.52.1-5+deb9u6 [374 kB]
Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 curl amd64 7.52.1-5+deb9u6 [228 kB]
Get:5 http://security.debian.org/debian-security stretch/updates/main amd64 libcurl3 amd64 7.52.1-5+deb9u6 [291 kB]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u6 [290 kB]
Get:7 http://security.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.88-1+deb9u1 [1327 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3576 kB in 0s (8190 kB/s)
(Reading database ... 29664 files and directories currently installed.)
Preparing to unpack .../0-tzdata_2018e-0+deb9u1_all.deb ...
Unpacking tzdata (2018e-0+deb9u1) over (2018d-0+deb9u1) ...
Preparing to unpack .../1-wget_1.18-5+deb9u2_amd64.deb ...
Unpacking wget (1.18-5+deb9u2) over (1.18-5+deb9u1) ...
Preparing to unpack .../2-libcurl4-openssl-dev_7.52.1-5+deb9u6_amd64.deb ...
Unpacking libcurl4-openssl-dev:amd64 (7.52.1-5+deb9u6) over (7.52.1-5+deb9u5) ...
Preparing to unpack .../3-curl_7.52.1-5+deb9u6_amd64.deb ...
Unpacking curl (7.52.1-5+deb9u6) over (7.52.1-5+deb9u5) ...
Preparing to unpack .../4-libcurl3_7.52.1-5+deb9u6_amd64.deb ...
Unpacking libcurl3:amd64 (7.52.1-5+deb9u6) over (7.52.1-5+deb9u5) ...
Preparing to unpack .../5-libcurl3-gnutls_7.52.1-5+deb9u6_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.52.1-5+deb9u6) over (7.52.1-5+deb9u5) ...
Preparing to unpack .../6-linux-libc-dev_4.9.88-1+deb9u1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.9.88-1+deb9u1) over (4.9.88-1) ...
Setting up libcurl3:amd64 (7.52.1-5+deb9u6) ...
Setting up libcurl3-gnutls:amd64 (7.52.1-5+deb9u6) ...
Setting up tzdata (2018e-0+deb9u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Current default time zone: 'Etc/UTC'
Local time is now: Sat May 19 23:00:25 UTC 2018.
Universal Time is now: Sat May 19 23:00:25 UTC 2018.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up linux-libc-dev:amd64 (4.9.88-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up wget (1.18-5+deb9u2) ...
Setting up libcurl4-openssl-dev:amd64 (7.52.1-5+deb9u6) ...
Setting up curl (7.52.1-5+deb9u6) ...
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.11.0-3+deb9u2).
libffi-dev is already the newest version (3.2.1-6).
python is already the newest version (2.7.13-2).
python set to manually installed.
python3 is already the newest version (3.5.3-1).
python3 set to manually installed.
The following additional packages will be installed:
dbus exim4 exim4-base exim4-config exim4-daemon-light guile-2.0-libs
libapparmor1 libdbus-glib-1-2 libfribidi0 libgc1c2 libgsasl7
libkyotocabinet16v5 libmailutils5 libntlm0 libpython-all-dev libpython-dev
libpython2.7 libpython2.7-dev libpython3-dev libpython3.5 libpython3.5-dev
libwrap0 mailutils mailutils-common psmisc python-acme python-all
python-all-dev python-certbot python-cffi-backend python-chardet
python-configargparse python-crypto python-cryptography python-dbus
python-dev python-dnspython python-enum34 python-funcsigs python-gi
python-idna python-ipaddress python-keyring python-keyrings.alt python-mock
python-openssl python-parsedatetime python-pbr python-pip-whl
python-pkg-resources python-psutil python-pyasn1 python-pyicu
python-requests python-rfc3339 python-secretstorage python-tz python-urllib3
python-wheel python-xdg python-zope.component python-zope.event
python-zope.hookable python-zope.interface python2.7-dev
python3-cffi-backend python3-crypto python3-cryptography python3-dbus
python3-dev python3-gi python3-idna python3-keyring python3-keyrings.alt
python3-pkg-resources python3-pyasn1 python3-secretstorage python3-six
python3-wheel python3-xdg python3.5-dev tcpd
Suggested packages:
python-certbot-apache python-certbot-doc anacron logrotate checksecurity
default-dbus-session-bus | dbus-session-bus eximon4 exim4-doc-html
| exim4-doc-info spf-tools-perl swaks mailutils-mh mailutils-doc
python-acme-doc python-crypto-dbg python-crypto-doc python-cryptography-doc
python-cryptography-vectors python-dbus-dbg python-dbus-doc
python-enum34-doc python-funcsigs-doc python-gi-cairo gnome-keyring
libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-fs python-gdata python-kde4
python-keyczar python-mock-doc python-openssl-doc python-openssl-dbg
python-psutil-doc doc-base python-socks python-secretstorage-doc
python-setuptools-doc python-ntlm python3-crypto-dbg
python3-cryptography-vectors python3-dbus-dbg python3-pykde4
The following NEW packages will be installed:
build-essential certbot cron dbus exim4 exim4-base exim4-config
exim4-daemon-light guile-2.0-libs libapparmor1 libdbus-glib-1-2 libfribidi0
libgc1c2 libgsasl7 libkyotocabinet16v5 libmailutils5 libnanomsg-dev
libnanomsg4 libntlm0 libopenzwave1.5 libopenzwave1.5-dev libpython-all-dev
libpython-dev libpython2.7 libpython2.7-dev libpython3-dev libpython3.5
libpython3.5-dev libwrap0 mailutils mailutils-common psmisc python-acme
python-all python-all-dev python-certbot python-cffi-backend python-chardet
python-configargparse python-crypto python-cryptography python-dbus
python-dev python-dnspython python-enum34 python-funcsigs python-gi
python-idna python-ipaddress python-keyring python-keyrings.alt python-mock
python-openssl python-parsedatetime python-pbr python-pip python-pip-whl
python-pkg-resources python-psutil python-pyasn1 python-pyicu
python-requests python-rfc3339 python-secretstorage python-setuptools
python-tz python-urllib3 python-wheel python-xdg python-zope.component
python-zope.event python-zope.hookable python-zope.interface python2.7-dev
python3-cffi-backend python3-crypto python3-cryptography python3-dbus
python3-dev python3-gi python3-idna python3-keyring python3-keyrings.alt
python3-pip python3-pkg-resources python3-pyasn1 python3-secretstorage
python3-setuptools python3-six python3-wheel python3-xdg python3.5-dev runit
sudo tcpd
0 upgraded, 95 newly installed, 0 to remove and 0 not upgraded.
Need to get 85.8 MB of archives.
After this operation, 163 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 cron amd64 3.0pl1-128+deb9u1 [95.4 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 libapparmor1 amd64 2.11.0-3+deb9u2 [78.9 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 dbus amd64 1.10.26-0+deb9u1 [210 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 libgc1c2 amd64 1:7.4.2-8 [208 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 libwrap0 amd64 7.6.q-26 [58.2 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 build-essential amd64 12.3 [7346 B]
Get:7 http://deb.debian.org/debian stretch/main amd64 exim4-config all 4.89-2+deb9u3 [377 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 exim4-base amd64 4.89-2+deb9u3 [1093 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 exim4-daemon-light amd64 4.89-2+deb9u3 [542 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 exim4 all 4.89-2+deb9u3 [7852 B]
Get:11 http://deb.debian.org/debian stretch/main amd64 guile-2.0-libs amd64 2.0.13+1-4 [2232 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 libdbus-glib-1-2 amd64 0.108-2 [206 kB]
Get:13 http://deb.debian.org/debian stretch/main amd64 libfribidi0 amd64 0.19.7-1+b1 [45.7 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 libntlm0 amd64 1.4-8 [20.9 kB]
Get:15 http://deb.debian.org/debian stretch/main amd64 libgsasl7 amd64 1.8.0-8+b2 [207 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 libkyotocabinet16v5 amd64 1.2.76-4.2+b1 [298 kB]
Get:17 http://deb.debian.org/debian stretch/main amd64 mailutils-common all 1:3.1.1-1 [642 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 libpython2.7 amd64 2.7.13-2+deb9u2 [1072 kB]
Get:19 http://deb.debian.org/debian stretch/main amd64 libmailutils5 amd64 1:3.1.1-1 [817 kB]
Get:20 http://deb.debian.org/debian stretch/main amd64 libnanomsg4 amd64 0.8~beta+dfsg-1+b1 [101 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64 libopenzwave1.5 amd64 1.5+ds-4 [433 kB]
Get:22 http://deb.debian.org/debian stretch/main amd64 libopenzwave1.5-dev amd64 1.5+ds-4 [107 kB]
Get:23 http://deb.debian.org/debian stretch/main amd64 libpython2.7-dev amd64 2.7.13-2+deb9u2 [28.2 MB]
Get:24 http://deb.debian.org/debian stretch/main amd64 libpython-dev amd64 2.7.13-2 [20.1 kB]
Get:25 http://deb.debian.org/debian stretch/main amd64 libpython-all-dev amd64 2.7.13-2 [960 B]
Get:26 http://deb.debian.org/debian stretch/main amd64 libpython3.5 amd64 3.5.3-1 [1371 kB]
Get:27 http://deb.debian.org/debian stretch/main amd64 libpython3.5-dev amd64 3.5.3-1 [37.7 MB]
Get:28 http://deb.debian.org/debian stretch/main amd64 libpython3-dev amd64 3.5.3-1 [18.7 kB]
Get:29 http://deb.debian.org/debian stretch/main amd64 mailutils amd64 1:3.1.1-1 [573 kB]
Get:30 http://deb.debian.org/debian stretch/main amd64 psmisc amd64 22.21-2.1+b2 [123 kB]
Get:31 http://deb.debian.org/debian stretch/main amd64 python-cffi-backend amd64 1.9.1-2 [69.0 kB]
Get:32 http://deb.debian.org/debian stretch/main amd64 python-enum34 all 1.1.6-1 [35.0 kB]
Get:33 http://deb.debian.org/debian stretch/main amd64 python-idna all 2.2-1 [32.6 kB]
Get:34 http://deb.debian.org/debian stretch/main amd64 python-ipaddress all 1.0.17-1 [18.1 kB]
Get:35 http://deb.debian.org/debian stretch/main amd64 python-pyasn1 all 0.1.9-2 [51.8 kB]
Get:36 http://deb.debian.org/debian stretch/main amd64 python-pkg-resources all 33.1.1-1 [166 kB]
Get:37 http://deb.debian.org/debian stretch/main amd64 python-setuptools all 33.1.1-1 [297 kB]
Get:38 http://deb.debian.org/debian stretch/main amd64 python-cryptography amd64 1.7.1-3 [211 kB]
Get:39 http://deb.debian.org/debian stretch/main amd64 python-openssl all 16.2.0-1 [43.7 kB]
Get:40 http://deb.debian.org/debian stretch/main amd64 python-funcsigs all 1.0.2-3 [13.3 kB]
Get:41 http://deb.debian.org/debian stretch/main amd64 python-pbr all 1.10.0-1 [52.4 kB]
Get:42 http://deb.debian.org/debian stretch/main amd64 python-mock all 2.0.0-3 [59.8 kB]
Get:43 http://deb.debian.org/debian stretch/main amd64 python-urllib3 all 1.19.1-1 [77.5 kB]
Get:44 http://deb.debian.org/debian stretch/main amd64 python-chardet all 2.3.0-2 [96.0 kB]
Get:45 http://deb.debian.org/debian stretch/main amd64 python-requests all 2.12.4-1 [101 kB]
Get:46 http://deb.debian.org/debian stretch/main amd64 python-tz all 2016.7-0.3 [33.7 kB]
Get:47 http://deb.debian.org/debian stretch/main amd64 python-rfc3339 all 1.0-4 [6218 B]
Get:48 http://deb.debian.org/debian stretch/main amd64 python-acme all 0.10.2-1 [57.6 kB]
Get:49 http://deb.debian.org/debian stretch/main amd64 python-all amd64 2.7.13-2 [942 B]
Get:50 http://deb.debian.org/debian stretch/main amd64 python2.7-dev amd64 2.7.13-2+deb9u2 [290 kB]
Get:51 http://deb.debian.org/debian stretch/main amd64 python-dev amd64 2.7.13-2 [1126 B]
Get:52 http://deb.debian.org/debian stretch/main amd64 python-all-dev amd64 2.7.13-2 [962 B]
Get:53 http://deb.debian.org/debian stretch/main amd64 python-configargparse all 0.11.0-1 [22.2 kB]
Get:54 http://deb.debian.org/debian stretch/main amd64 python-crypto amd64 2.6.1-7 [259 kB]
Get:55 http://deb.debian.org/debian stretch/main amd64 python-dbus amd64 1.2.4-1+b1 [185 kB]
Get:56 http://deb.debian.org/debian stretch/main amd64 python-dnspython all 1.15.0-1 [102 kB]
Get:57 http://deb.debian.org/debian stretch/main amd64 python-gi amd64 3.22.0-2 [515 kB]
Get:58 http://deb.debian.org/debian stretch/main amd64 python-secretstorage all 2.3.1-2 [13.8 kB]
Get:59 http://deb.debian.org/debian stretch/main amd64 python-keyring all 10.1-1 [40.7 kB]
Get:60 http://deb.debian.org/debian stretch/main amd64 python-keyrings.alt all 1.3-1 [16.4 kB]
Get:61 http://deb.debian.org/debian stretch/main amd64 python-parsedatetime all 2.1-3 [38.3 kB]
Get:62 http://deb.debian.org/debian stretch/main amd64 python-pip-whl all 9.0.1-2 [1406 kB]
Get:63 http://deb.debian.org/debian stretch/main amd64 python-pip all 9.0.1-2 [179 kB]
Get:64 http://deb.debian.org/debian stretch/main amd64 python-psutil amd64 5.0.1-1 [127 kB]
Get:65 http://deb.debian.org/debian stretch/main amd64 python-pyicu amd64 1.9.5-1 [188 kB]
Get:66 http://deb.debian.org/debian stretch/main amd64 python-wheel all 0.29.0-2 [51.7 kB]
Get:67 http://deb.debian.org/debian stretch/main amd64 python-xdg all 0.25-4 [35.8 kB]
Get:68 http://deb.debian.org/debian stretch/main amd64 python-zope.interface amd64 4.3.2-1 [89.6 kB]
Get:69 http://deb.debian.org/debian stretch/main amd64 python3-cffi-backend amd64 1.9.1-2 [70.1 kB]
Get:70 http://deb.debian.org/debian stretch/main amd64 python3-crypto amd64 2.6.1-7 [259 kB]
Get:71 http://deb.debian.org/debian stretch/main amd64 python3-idna all 2.2-1 [32.7 kB]
Get:72 http://deb.debian.org/debian stretch/main amd64 python3-pyasn1 all 0.1.9-2 [34.5 kB]
Get:73 http://deb.debian.org/debian stretch/main amd64 python3-pkg-resources all 33.1.1-1 [137 kB]
Get:74 http://deb.debian.org/debian stretch/main amd64 python3-setuptools all 33.1.1-1 [215 kB]
Get:75 http://deb.debian.org/debian stretch/main amd64 python3-six all 1.10.0-3 [14.4 kB]
Get:76 http://deb.debian.org/debian stretch/main amd64 python3-cryptography amd64 1.7.1-3 [210 kB]
Get:77 http://deb.debian.org/debian stretch/main amd64 python3-dbus amd64 1.2.4-1+b1 [184 kB]
Get:78 http://deb.debian.org/debian stretch/main amd64 python3.5-dev amd64 3.5.3-1 [413 kB]
Get:79 http://deb.debian.org/debian stretch/main amd64 python3-dev amd64 3.5.3-1 [1154 B]
Get:80 http://deb.debian.org/debian stretch/main amd64 python3-gi amd64 3.22.0-2 [473 kB]
Get:81 http://deb.debian.org/debian stretch/main amd64 python3-secretstorage all 2.3.1-2 [14.2 kB]
Get:82 http://deb.debian.org/debian stretch/main amd64 python3-keyring all 10.1-1 [36.8 kB]
Get:83 http://deb.debian.org/debian stretch/main amd64 python3-keyrings.alt all 1.3-1 [16.2 kB]
Get:84 http://deb.debian.org/debian stretch/main amd64 python3-pip all 9.0.1-2 [142 kB]
Get:85 http://deb.debian.org/debian stretch/main amd64 python3-wheel all 0.29.0-2 [51.8 kB]
Get:86 http://deb.debian.org/debian stretch/main amd64 python3-xdg all 0.25-4 [35.7 kB]
Get:87 http://deb.debian.org/debian stretch/main amd64 runit amd64 2.1.2-9.2 [111 kB]
Get:88 http://deb.debian.org/debian stretch/main amd64 sudo amd64 1.8.19p1-2.1 [1055 kB]
Get:89 http://deb.debian.org/debian stretch/main amd64 tcpd amd64 7.6.q-26 [23.3 kB]
Get:90 http://deb.debian.org/debian stretch/main amd64 python-zope.hookable amd64 4.0.4-4+b2 [10.2 kB]
Get:91 http://deb.debian.org/debian stretch/main amd64 python-zope.event all 4.2.0-1 [8396 B]
Get:92 http://deb.debian.org/debian stretch/main amd64 python-zope.component all 4.3.0-1 [43.1 kB]
Get:93 http://deb.debian.org/debian stretch/main amd64 python-certbot all 0.10.2-1 [157 kB]
Get:94 http://deb.debian.org/debian stretch/main amd64 certbot all 0.10.2-1 [17.8 kB]
Get:95 http://deb.debian.org/debian stretch/main amd64 libnanomsg-dev amd64 0.8~beta+dfsg-1+b1 [144 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 85.8 MB in 2s (41.1 MB/s)
Selecting previously unselected package cron.
(Reading database ... 29664 files and directories currently installed.)
Preparing to unpack .../00-cron_3.0pl1-128+deb9u1_amd64.deb ...
Unpacking cron (3.0pl1-128+deb9u1) ...
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack .../01-libapparmor1_2.11.0-3+deb9u2_amd64.deb ...
Unpacking libapparmor1:amd64 (2.11.0-3+deb9u2) ...
Selecting previously unselected package dbus.
Preparing to unpack .../02-dbus_1.10.26-0+deb9u1_amd64.deb ...
Unpacking dbus (1.10.26-0+deb9u1) ...
Selecting previously unselected package libgc1c2:amd64.
Preparing to unpack .../03-libgc1c2_1%3a7.4.2-8_amd64.deb ...
Unpacking libgc1c2:amd64 (1:7.4.2-8) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../04-libwrap0_7.6.q-26_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-26) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../05-build-essential_12.3_amd64.deb ...
Unpacking build-essential (12.3) ...
Selecting previously unselected package exim4-config.
Preparing to unpack .../06-exim4-config_4.89-2+deb9u3_all.deb ...
Unpacking exim4-config (4.89-2+deb9u3) ...
Selecting previously unselected package exim4-base.
Preparing to unpack .../07-exim4-base_4.89-2+deb9u3_amd64.deb ...
Unpacking exim4-base (4.89-2+deb9u3) ...
Selecting previously unselected package exim4-daemon-light.
Preparing to unpack .../08-exim4-daemon-light_4.89-2+deb9u3_amd64.deb ...
Unpacking exim4-daemon-light (4.89-2+deb9u3) ...
Selecting previously unselected package exim4.
Preparing to unpack .../09-exim4_4.89-2+deb9u3_all.deb ...
Unpacking exim4 (4.89-2+deb9u3) ...
Selecting previously unselected package guile-2.0-libs:amd64.
Preparing to unpack .../10-guile-2.0-libs_2.0.13+1-4_amd64.deb ...
Unpacking guile-2.0-libs:amd64 (2.0.13+1-4) ...
Selecting previously unselected package libdbus-glib-1-2:amd64.
Preparing to unpack .../11-libdbus-glib-1-2_0.108-2_amd64.deb ...
Unpacking libdbus-glib-1-2:amd64 (0.108-2) ...
Selecting previously unselected package libfribidi0:amd64.
Preparing to unpack .../12-libfribidi0_0.19.7-1+b1_amd64.deb ...
Unpacking libfribidi0:amd64 (0.19.7-1+b1) ...
Selecting previously unselected package libntlm0:amd64.
Preparing to unpack .../13-libntlm0_1.4-8_amd64.deb ...
Unpacking libntlm0:amd64 (1.4-8) ...
Selecting previously unselected package libgsasl7.
Preparing to unpack .../14-libgsasl7_1.8.0-8+b2_amd64.deb ...
Unpacking libgsasl7 (1.8.0-8+b2) ...
Selecting previously unselected package libkyotocabinet16v5:amd64.
Preparing to unpack .../15-libkyotocabinet16v5_1.2.76-4.2+b1_amd64.deb ...
Unpacking libkyotocabinet16v5:amd64 (1.2.76-4.2+b1) ...
Selecting previously unselected package mailutils-common.
Preparing to unpack .../16-mailutils-common_1%3a3.1.1-1_all.deb ...
Unpacking mailutils-common (1:3.1.1-1) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../17-libpython2.7_2.7.13-2+deb9u2_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.13-2+deb9u2) ...
Selecting previously unselected package libmailutils5:amd64.
Preparing to unpack .../18-libmailutils5_1%3a3.1.1-1_amd64.deb ...
Unpacking libmailutils5:amd64 (1:3.1.1-1) ...
Selecting previously unselected package libnanomsg4.
Preparing to unpack .../19-libnanomsg4_0.8~beta+dfsg-1+b1_amd64.deb ...
Unpacking libnanomsg4 (0.8~beta+dfsg-1+b1) ...
Selecting previously unselected package libopenzwave1.5.
Preparing to unpack .../20-libopenzwave1.5_1.5+ds-4_amd64.deb ...
Unpacking libopenzwave1.5 (1.5+ds-4) ...
Selecting previously unselected package libopenzwave1.5-dev.
Preparing to unpack .../21-libopenzwave1.5-dev_1.5+ds-4_amd64.deb ...
Unpacking libopenzwave1.5-dev (1.5+ds-4) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../22-libpython2.7-dev_2.7.13-2+deb9u2_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.13-2+deb9u2) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../23-libpython-dev_2.7.13-2_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.13-2) ...
Selecting previously unselected package libpython-all-dev:amd64.
Preparing to unpack .../24-libpython-all-dev_2.7.13-2_amd64.deb ...
Unpacking libpython-all-dev:amd64 (2.7.13-2) ...
Selecting previously unselected package libpython3.5:amd64.
Preparing to unpack .../25-libpython3.5_3.5.3-1_amd64.deb ...
Unpacking libpython3.5:amd64 (3.5.3-1) ...
Selecting previously unselected package libpython3.5-dev:amd64.
Preparing to unpack .../26-libpython3.5-dev_3.5.3-1_amd64.deb ...
Unpacking libpython3.5-dev:amd64 (3.5.3-1) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../27-libpython3-dev_3.5.3-1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.5.3-1) ...
Selecting previously unselected package mailutils.
Preparing to unpack .../28-mailutils_1%3a3.1.1-1_amd64.deb ...
Unpacking mailutils (1:3.1.1-1) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../29-psmisc_22.21-2.1+b2_amd64.deb ...
Unpacking psmisc (22.21-2.1+b2) ...
Selecting previously unselected package python-cffi-backend.
Preparing to unpack .../30-python-cffi-backend_1.9.1-2_amd64.deb ...
Unpacking python-cffi-backend (1.9.1-2) ...
Selecting previously unselected package python-enum34.
Preparing to unpack .../31-python-enum34_1.1.6-1_all.deb ...
Unpacking python-enum34 (1.1.6-1) ...
Selecting previously unselected package python-idna.
Preparing to unpack .../32-python-idna_2.2-1_all.deb ...
Unpacking python-idna (2.2-1) ...
Selecting previously unselected package python-ipaddress.
Preparing to unpack .../33-python-ipaddress_1.0.17-1_all.deb ...
Unpacking python-ipaddress (1.0.17-1) ...
Selecting previously unselected package python-pyasn1.
Preparing to unpack .../34-python-pyasn1_0.1.9-2_all.deb ...
Unpacking python-pyasn1 (0.1.9-2) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../35-python-pkg-resources_33.1.1-1_all.deb ...
Unpacking python-pkg-resources (33.1.1-1) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../36-python-setuptools_33.1.1-1_all.deb ...
Unpacking python-setuptools (33.1.1-1) ...
Selecting previously unselected package python-cryptography.
Preparing to unpack .../37-python-cryptography_1.7.1-3_amd64.deb ...
Unpacking python-cryptography (1.7.1-3) ...
Selecting previously unselected package python-openssl.
Preparing to unpack .../38-python-openssl_16.2.0-1_all.deb ...
Unpacking python-openssl (16.2.0-1) ...
Selecting previously unselected package python-funcsigs.
Preparing to unpack .../39-python-funcsigs_1.0.2-3_all.deb ...
Unpacking python-funcsigs (1.0.2-3) ...
Selecting previously unselected package python-pbr.
Preparing to unpack .../40-python-pbr_1.10.0-1_all.deb ...
Unpacking python-pbr (1.10.0-1) ...
Selecting previously unselected package python-mock.
Preparing to unpack .../41-python-mock_2.0.0-3_all.deb ...
Unpacking python-mock (2.0.0-3) ...
Selecting previously unselected package python-urllib3.
Preparing to unpack .../42-python-urllib3_1.19.1-1_all.deb ...
Unpacking python-urllib3 (1.19.1-1) ...
Selecting previously unselected package python-chardet.
Preparing to unpack .../43-python-chardet_2.3.0-2_all.deb ...
Unpacking python-chardet (2.3.0-2) ...
Selecting previously unselected package python-requests.
Preparing to unpack .../44-python-requests_2.12.4-1_all.deb ...
Unpacking python-requests (2.12.4-1) ...
Selecting previously unselected package python-tz.
Preparing to unpack .../45-python-tz_2016.7-0.3_all.deb ...
Unpacking python-tz (2016.7-0.3) ...
Selecting previously unselected package python-rfc3339.
Preparing to unpack .../46-python-rfc3339_1.0-4_all.deb ...
Unpacking python-rfc3339 (1.0-4) ...
Selecting previously unselected package python-acme.
Preparing to unpack .../47-python-acme_0.10.2-1_all.deb ...
Unpacking python-acme (0.10.2-1) ...
Selecting previously unselected package python-all.
Preparing to unpack .../48-python-all_2.7.13-2_amd64.deb ...
Unpacking python-all (2.7.13-2) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../49-python2.7-dev_2.7.13-2+deb9u2_amd64.deb ...
Unpacking python2.7-dev (2.7.13-2+deb9u2) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../50-python-dev_2.7.13-2_amd64.deb ...
Unpacking python-dev (2.7.13-2) ...
Selecting previously unselected package python-all-dev.
Preparing to unpack .../51-python-all-dev_2.7.13-2_amd64.deb ...
Unpacking python-all-dev (2.7.13-2) ...
Selecting previously unselected package python-configargparse.
Preparing to unpack .../52-python-configargparse_0.11.0-1_all.deb ...
Unpacking python-configargparse (0.11.0-1) ...
Selecting previously unselected package python-crypto.
Preparing to unpack .../53-python-crypto_2.6.1-7_amd64.deb ...
Unpacking python-crypto (2.6.1-7) ...
Selecting previously unselected package python-dbus.
Preparing to unpack .../54-python-dbus_1.2.4-1+b1_amd64.deb ...
Unpacking python-dbus (1.2.4-1+b1) ...
Selecting previously unselected package python-dnspython.
Preparing to unpack .../55-python-dnspython_1.15.0-1_all.deb ...
Unpacking python-dnspython (1.15.0-1) ...
Selecting previously unselected package python-gi.
Preparing to unpack .../56-python-gi_3.22.0-2_amd64.deb ...
Unpacking python-gi (3.22.0-2) ...
Selecting previously unselected package python-secretstorage.
Preparing to unpack .../57-python-secretstorage_2.3.1-2_all.deb ...
Unpacking python-secretstorage (2.3.1-2) ...
Selecting previously unselected package python-keyring.
Preparing to unpack .../58-python-keyring_10.1-1_all.deb ...
Unpacking python-keyring (10.1-1) ...
Selecting previously unselected package python-keyrings.alt.
Preparing to unpack .../59-python-keyrings.alt_1.3-1_all.deb ...
Unpacking python-keyrings.alt (1.3-1) ...
Selecting previously unselected package python-parsedatetime.
Preparing to unpack .../60-python-parsedatetime_2.1-3_all.deb ...
Unpacking python-parsedatetime (2.1-3) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../61-python-pip-whl_9.0.1-2_all.deb ...
Unpacking python-pip-whl (9.0.1-2) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../62-python-pip_9.0.1-2_all.deb ...
Unpacking python-pip (9.0.1-2) ...
Selecting previously unselected package python-psutil.
Preparing to unpack .../63-python-psutil_5.0.1-1_amd64.deb ...
Unpacking python-psutil (5.0.1-1) ...
Selecting previously unselected package python-pyicu.
Preparing to unpack .../64-python-pyicu_1.9.5-1_amd64.deb ...
Unpacking python-pyicu (1.9.5-1) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../65-python-wheel_0.29.0-2_all.deb ...
Unpacking python-wheel (0.29.0-2) ...
Selecting previously unselected package python-xdg.
Preparing to unpack .../66-python-xdg_0.25-4_all.deb ...
Unpacking python-xdg (0.25-4) ...
Selecting previously unselected package python-zope.interface.
Preparing to unpack .../67-python-zope.interface_4.3.2-1_amd64.deb ...
Unpacking python-zope.interface (4.3.2-1) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../68-python3-cffi-backend_1.9.1-2_amd64.deb ...
Unpacking python3-cffi-backend (1.9.1-2) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../69-python3-crypto_2.6.1-7_amd64.deb ...
Unpacking python3-crypto (2.6.1-7) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../70-python3-idna_2.2-1_all.deb ...
Unpacking python3-idna (2.2-1) ...
Selecting previously unselected package python3-pyasn1.
Preparing to unpack .../71-python3-pyasn1_0.1.9-2_all.deb ...
Unpacking python3-pyasn1 (0.1.9-2) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../72-python3-pkg-resources_33.1.1-1_all.deb ...
Unpacking python3-pkg-resources (33.1.1-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../73-python3-setuptools_33.1.1-1_all.deb ...
Unpacking python3-setuptools (33.1.1-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../74-python3-six_1.10.0-3_all.deb ...
Unpacking python3-six (1.10.0-3) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../75-python3-cryptography_1.7.1-3_amd64.deb ...
Unpacking python3-cryptography (1.7.1-3) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../76-python3-dbus_1.2.4-1+b1_amd64.deb ...
Unpacking python3-dbus (1.2.4-1+b1) ...
Selecting previously unselected package python3.5-dev.
Preparing to unpack .../77-python3.5-dev_3.5.3-1_amd64.deb ...
Unpacking python3.5-dev (3.5.3-1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../78-python3-dev_3.5.3-1_amd64.deb ...
Unpacking python3-dev (3.5.3-1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../79-python3-gi_3.22.0-2_amd64.deb ...
Unpacking python3-gi (3.22.0-2) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../80-python3-secretstorage_2.3.1-2_all.deb ...
Unpacking python3-secretstorage (2.3.1-2) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../81-python3-keyring_10.1-1_all.deb ...
Unpacking python3-keyring (10.1-1) ...
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack .../82-python3-keyrings.alt_1.3-1_all.deb ...
Unpacking python3-keyrings.alt (1.3-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../83-python3-pip_9.0.1-2_all.deb ...
Unpacking python3-pip (9.0.1-2) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../84-python3-wheel_0.29.0-2_all.deb ...
Unpacking python3-wheel (0.29.0-2) ...
Selecting previously unselected package python3-xdg.
Preparing to unpack .../85-python3-xdg_0.25-4_all.deb ...
Unpacking python3-xdg (0.25-4) ...
Selecting previously unselected package runit.
Preparing to unpack .../86-runit_2.1.2-9.2_amd64.deb ...
+ [ install = upgrade ]
Unpacking runit (2.1.2-9.2) ...
Selecting previously unselected package sudo.
Preparing to unpack .../87-sudo_1.8.19p1-2.1_amd64.deb ...
Unpacking sudo (1.8.19p1-2.1) ...
Selecting previously unselected package tcpd.
Preparing to unpack .../88-tcpd_7.6.q-26_amd64.deb ...
Unpacking tcpd (7.6.q-26) ...
Selecting previously unselected package python-zope.hookable.
Preparing to unpack .../89-python-zope.hookable_4.0.4-4+b2_amd64.deb ...
Unpacking python-zope.hookable (4.0.4-4+b2) ...
Selecting previously unselected package python-zope.event.
Preparing to unpack .../90-python-zope.event_4.2.0-1_all.deb ...
Unpacking python-zope.event (4.2.0-1) ...
Selecting previously unselected package python-zope.component.
Preparing to unpack .../91-python-zope.component_4.3.0-1_all.deb ...
Unpacking python-zope.component (4.3.0-1) ...
Selecting previously unselected package python-certbot.
Preparing to unpack .../92-python-certbot_0.10.2-1_all.deb ...
Unpacking python-certbot (0.10.2-1) ...
Selecting previously unselected package certbot.
Preparing to unpack .../93-certbot_0.10.2-1_all.deb ...
Unpacking certbot (0.10.2-1) ...
Selecting previously unselected package libnanomsg-dev.
Preparing to unpack .../94-libnanomsg-dev_0.8~beta+dfsg-1+b1_amd64.deb ...
Unpacking libnanomsg-dev (0.8~beta+dfsg-1+b1) ...
Setting up python-dnspython (1.15.0-1) ...
Setting up python-idna (2.2-1) ...
Setting up python-pip-whl (9.0.1-2) ...
Setting up python-urllib3 (1.19.1-1) ...
Setting up python-crypto (2.6.1-7) ...
Setting up libopenzwave1.5 (1.5+ds-4) ...
Setting up psmisc (22.21-2.1+b2) ...
Setting up exim4-config (4.89-2+deb9u3) ...
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 python3-cffi-backend (1.9.1-2) ...
Setting up sudo (1.8.19p1-2.1) ...
Setting up libopenzwave1.5-dev (1.5+ds-4) ...
Setting up build-essential (12.3) ...
Setting up python3-crypto (2.6.1-7) ...
Setting up libdbus-glib-1-2:amd64 (0.108-2) ...
Setting up python-parsedatetime (2.1-3) ...
Setting up libpython3.5:amd64 (3.5.3-1) ...
Setting up python-pyasn1 (0.1.9-2) ...
Setting up python3-idna (2.2-1) ...
Setting up python3-xdg (0.25-4) ...
Setting up python-wheel (0.29.0-2) ...
Setting up python3-keyrings.alt (1.3-1) ...
Setting up python3-six (1.10.0-3) ...
Setting up python-tz (2016.7-0.3) ...
Setting up libgc1c2:amd64 (1:7.4.2-8) ...
Setting up python3-wheel (0.29.0-2) ...
Setting up python3-pkg-resources (33.1.1-1) ...
Setting up python-pkg-resources (33.1.1-1) ...
Setting up python3-gi (3.22.0-2) ...
Setting up python-configargparse (0.11.0-1) ...
Setting up libpython3.5-dev:amd64 (3.5.3-1) ...
Setting up python-keyrings.alt (1.3-1) ...
Setting up libnanomsg4 (0.8~beta+dfsg-1+b1) ...
Setting up python-cffi-backend (1.9.1-2) ...
Setting up libntlm0:amd64 (1.4-8) ...
Setting up python-gi (3.22.0-2) ...
Setting up python3-pyasn1 (0.1.9-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up python-zope.interface (4.3.2-1) ...
Setting up libapparmor1:amd64 (2.11.0-3+deb9u2) ...
Setting up python-psutil (5.0.1-1) ...
Setting up python-pbr (1.10.0-1) ...
update-alternatives: using /usr/bin/python2-pbr to provide /usr/bin/pbr (pbr) in auto mode
Setting up guile-2.0-libs:amd64 (2.0.13+1-4) ...
Setting up python-enum34 (1.1.6-1) ...
Setting up libpython2.7:amd64 (2.7.13-2+deb9u2) ...
Setting up python3-pip (9.0.1-2) ...
Setting up libfribidi0:amd64 (0.19.7-1+b1) ...
Setting up python-funcsigs (1.0.2-3) ...
Setting up python-zope.hookable (4.0.4-4+b2) ...
Setting up libpython2.7-dev:amd64 (2.7.13-2+deb9u2) ...
Setting up runit (2.1.2-9.2) ...
Setting up dbus (1.10.26-0+deb9u1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up python3-setuptools (33.1.1-1) ...
Setting up python-dbus (1.2.4-1+b1) ...
Remove stale byte-compiled files...
Setting up python3.5-dev (3.5.3-1) ...
Setting up python-ipaddress (1.0.17-1) ...
Setting up python-pip (9.0.1-2) ...
Setting up cron (3.0pl1-128+deb9u1) ...
Adding group `crontab' (GID 104) ...
Done.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up python2.7-dev (2.7.13-2+deb9u2) ...
Setting up python-all (2.7.13-2) ...
Setting up libkyotocabinet16v5:amd64 (1.2.76-4.2+b1) ...
Setting up python-pyicu (1.9.5-1) ...
Setting up python-zope.event (4.2.0-1) ...
Setting up libwrap0:amd64 (7.6.q-26) ...
Setting up python-xdg (0.25-4) ...
Setting up mailutils-common (1:3.1.1-1) ...
Setting up libpython3-dev:amd64 (3.5.3-1) ...
Setting up python3-cryptography (1.7.1-3) ...
Setting up libgsasl7 (1.8.0-8+b2) ...
Setting up libmailutils5:amd64 (1:3.1.1-1) ...
Setting up libpython-dev:amd64 (2.7.13-2) ...
Setting up python-rfc3339 (1.0-4) ...
Setting up python-setuptools (33.1.1-1) ...
Setting up python3-dbus (1.2.4-1+b1) ...
Setting up python-chardet (2.3.0-2) ...
Setting up python-dev (2.7.13-2) ...
Setting up python-zope.component (4.3.0-1) ...
Setting up libpython-all-dev:amd64 (2.7.13-2) ...
Setting up python-mock (2.0.0-3) ...
Setting up libnanomsg-dev (0.8~beta+dfsg-1+b1) ...
Setting up python3-dev (3.5.3-1) ...
Setting up exim4-base (4.89-2+deb9u3) ...
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 tcpd (7.6.q-26) ...
Setting up python-all-dev (2.7.13-2) ...
Setting up python-cryptography (1.7.1-3) ...
Setting up python-requests (2.12.4-1) ...
Setting up exim4-daemon-light (4.89-2+deb9u3) ...
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: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Initializing GnuTLS DH parameter file
Setting up python3-secretstorage (2.3.1-2) ...
Setting up python-secretstorage (2.3.1-2) ...
Setting up python-keyring (10.1-1) ...
Setting up python3-keyring (10.1-1) ...
Setting up python-openssl (16.2.0-1) ...
Setting up mailutils (1:3.1.1-1) ...
update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) in auto mode
update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from (from) in auto mode
update-alternatives: using /usr/bin/messages.mailutils to provide /usr/bin/messages (messages) in auto mode
update-alternatives: using /usr/bin/movemail.mailutils to provide /usr/bin/movemail (movemail) in auto mode
update-alternatives: using /usr/bin/readmsg.mailutils to provide /usr/bin/readmsg (readmsg) in auto mode
update-alternatives: using /usr/bin/dotlock.mailutils to provide /usr/bin/dotlock (dotlock) in auto mode
update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx (mailx) in auto mode
Setting up exim4 (4.89-2+deb9u3) ...
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 python-acme (0.10.2-1) ...
Setting up python-certbot (0.10.2-1) ...
Setting up certbot (0.10.2-1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Collecting gateway_addon from git+https://github.com/mozilla-iot/gateway-addon-python#egg=gateway_addon
Cloning https://github.com/mozilla-iot/gateway-addon-python to /tmp/pip-build-I5Rp8h/gateway-addon
Collecting jsonschema (from gateway_addon)
Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting nnpy (from gateway_addon)
Downloading https://files.pythonhosted.org/packages/23/20/490a767ad65f43e42d67766462336b8fee73fc34456ae1d15551f466332c/nnpy-1.4.2.tar.gz
Collecting functools32; python_version == "2.7" (from jsonschema->gateway_addon)
Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
Collecting cffi (from nnpy->gateway_addon)
Downloading https://files.pythonhosted.org/packages/14/dd/3e7a1e1280e7d767bd3fa15791759c91ec19058ebe31217fe66f3e9a8c49/cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl (407kB)
Collecting pycparser (from cffi->nnpy->gateway_addon)
Downloading https://files.pythonhosted.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz (245kB)
Building wheels for collected packages: nnpy, functools32, pycparser
Running setup.py bdist_wheel for nnpy: started
Running setup.py bdist_wheel for nnpy: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/aa/66/42/07bb82ba4f01a5877a88baac06299b49d1940053fefc56f878
Running setup.py bdist_wheel for functools32: started
Running setup.py bdist_wheel for functools32: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/b5/18/32/77a1030457155606ba5e3ec3a8a57132b1a04b1c4f765177b2
Running setup.py bdist_wheel for pycparser: started
Running setup.py bdist_wheel for pycparser: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/c0/a1/27/5ba234bd77ea5a290cbf6d675259ec52293193467a12ef1f46
Successfully built nnpy functools32 pycparser
Installing collected packages: functools32, jsonschema, pycparser, cffi, nnpy, gateway-addon
Running setup.py install for gateway-addon: started
Running setup.py install for gateway-addon: finished with status 'done'
Successfully installed cffi-1.11.5 functools32-3.2.3.post2 gateway-addon-0.4.0 jsonschema-2.6.0 nnpy-1.4.2 pycparser-2.18
Collecting gateway_addon from git+https://github.com/mozilla-iot/gateway-addon-python#egg=gateway_addon
Cloning https://github.com/mozilla-iot/gateway-addon-python to /tmp/pip-build-erc_7vzs/gateway-addon
Collecting jsonschema (from gateway_addon)
Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting nnpy (from gateway_addon)
Using cached https://files.pythonhosted.org/packages/23/20/490a767ad65f43e42d67766462336b8fee73fc34456ae1d15551f466332c/nnpy-1.4.2.tar.gz
Collecting cffi (from nnpy->gateway_addon)
Downloading https://files.pythonhosted.org/packages/59/cc/0e1635b4951021ef35f5c92b32c865ae605fac2a19d724fb6ff99d745c81/cffi-1.11.5-cp35-cp35m-manylinux1_x86_64.whl (420kB)
Collecting pycparser (from cffi->nnpy->gateway_addon)
Building wheels for collected packages: nnpy
Running setup.py bdist_wheel for nnpy: started
Running setup.py bdist_wheel for nnpy: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/aa/66/42/07bb82ba4f01a5877a88baac06299b49d1940053fefc56f878
Successfully built nnpy
Installing collected packages: jsonschema, pycparser, cffi, nnpy, gateway-addon
Running setup.py install for gateway-addon: started
Running setup.py install for gateway-addon: finished with status 'done'
Successfully installed cffi-1.11.5 gateway-addon-0.4.0 jsonschema-2.6.0 nnpy-1.4.2 pycparser-2.18
Collecting adapt-parser from git+https://github.com/mycroftai/adapt#egg=adapt-parser
Cloning https://github.com/mycroftai/adapt to /tmp/pip-build-22zp5ix5/adapt-parser
Collecting pyee==5.0.0 (from adapt-parser)
Downloading https://files.pythonhosted.org/packages/8e/06/10c18578e2d8b9cf9902f424f86d433c647ca55e82293100f53e6c0afab4/pyee-5.0.0-py2.py3-none-any.whl
Requirement already satisfied: six==1.10.0 in /usr/lib/python3/dist-packages (from adapt-parser)
Installing collected packages: pyee, adapt-parser
Running setup.py install for adapt-parser: started
Running setup.py install for adapt-parser: finished with status 'done'
Successfully installed adapt-parser-0.3.2 pyee-5.0.0
/usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js
/usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.6.0
added 1 package in 0.668s
Removing intermediate container 6a3ed281f188
---> fb9696516a2a
Step 4/8 : USER node
---> Running in 464aa7f78b6c
Removing intermediate container 464aa7f78b6c
---> 67b76b463737
Step 5/8 : RUN cd /home/node && mkdir mozilla-iot && cd mozilla-iot && git clone https://github.com/mozilla-iot/intent-parser && git clone https://github.com/mozilla-iot/gateway && cd gateway && yarn
---> Running in 0b43e11ee5d5
Cloning into 'intent-parser'...
Cloning into 'gateway'...
/bin/sh: 1: yarn: Permission denied
The command '/bin/sh -c cd /home/node && mkdir mozilla-iot && cd mozilla-iot && git clone https://github.com/mozilla-iot/intent-parser && git clone https://github.com/mozilla-iot/gateway && cd gateway && yarn' returned a non-zero code: 126
root@ip-10-70-1-186:~/gateway-docker#
root@ip-10-70-1-186:/home/ubuntu# docker run \
> -t \
> -v $HOME/moziot/config:/home/node/.mozilla-iot \
> --net host \
> --name mozilla-iot-gateway \
> mozillaiot/gateway:latest
./tools/post-upgrade.sh: line 7: /home/pi/.nvm/nvm.sh: No such file or directory
./tools/post-upgrade.sh: line 9: nvm: command not found
./tools/post-upgrade.sh: line 10: nvm: command not found
./tools/post-upgrade.sh: line 12: nvm: command not found
sudo: setcap: command not found
socket binded to 5555
socket is listening
Collecting gateway_addon from git+https://github.com/mozilla-iot/gateway-addon-python#egg=gateway_addon
Cloning https://github.com/mozilla-iot/gateway-addon-python to /tmp/pip-build-rKTvFo/gateway-addon
Collecting jsonschema (from gateway_addon)
Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Requirement already up-to-date: nnpy in /usr/local/lib/python2.7/dist-packages (from gateway_addon)
Collecting functools32; python_version == "2.7" (from jsonschema->gateway_addon)
Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
Requirement already up-to-date: cffi in /usr/local/lib/python2.7/dist-packages (from nnpy->gateway_addon)
Requirement already up-to-date: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi->nnpy->gateway_addon)
Building wheels for collected packages: functools32
Running setup.py bdist_wheel for functools32 ... done
Stored in directory: /root/.cache/pip/wheels/b5/18/32/77a1030457155606ba5e3ec3a8a57132b1a04b1c4f765177b2
Successfully built functools32
Installing collected packages: functools32, jsonschema, gateway-addon
Found existing installation: gateway-addon 0.4.0
Uninstalling gateway-addon-0.4.0:
Successfully uninstalled gateway-addon-0.4.0
Running setup.py install for gateway-addon ... done
Successfully installed functools32-3.2.3.post2 gateway-addon-0.4.0 jsonschema-2.6.0
Collecting gateway_addon from git+https://github.com/mozilla-iot/gateway-addon-python#egg=gateway_addon
Cloning https://github.com/mozilla-iot/gateway-addon-python to /tmp/pip-build-h1cklza5/gateway-addon
Collecting jsonschema (from gateway_addon)
Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Requirement already up-to-date: nnpy in /usr/local/lib/python3.5/dist-packages (from gateway_addon)
Requirement already up-to-date: cffi in /usr/local/lib/python3.5/dist-packages (from nnpy->gateway_addon)
Requirement already up-to-date: pycparser in /usr/local/lib/python3.5/dist-packages (from cffi->nnpy->gateway_addon)
Installing collected packages: jsonschema, gateway-addon
Found existing installation: gateway-addon 0.4.0
Uninstalling gateway-addon-0.4.0:
Successfully uninstalled gateway-addon-0.4.0
Running setup.py install for gateway-addon ... done
Successfully installed gateway-addon-0.4.0 jsonschema-2.6.0
mkdir: cannot create directory '/home/pi': Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15837 100 15837 0 0 64002 0 --:--:-- --:--:-- --:--:-- 63858
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2969k 100 2969k 0 0 1347k 0 0:00:02 0:00:02 --:--:-- 1347k
tar: /home/pi/.mozilla-iot/addons: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
mv: cannot stat '/home/pi/.mozilla-iot/addons/package': No such file or directory
mkdir: cannot create directory '/home/node/.mozilla-iot/log': Permission denied
./run-app.sh: line 26: /home/node/.mozilla-iot/log/run-app.log: No such file or directory
mkdir: cannot create directory '/home/node/.mozilla-iot/log': Permission denied
./run-app.sh: line 26: /home/node/.mozilla-iot/log/run-app.log: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment