Easy install issues - every time

Using Ubuntu 14.04 fresh install on Vultr 2GB RAM 40GB SSD.
I have tried doing this with Ubuntu 16.04 twice with same result.
I am trying a third time and will post the specifics.
Without any errors, I run:

apt-get install python-minimal
apt-get install build-essential python-setuptools
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
python install.py --production --user frappe

enter the passwords when prompted
Done! No issues, front-end http works.

However, I can’t install ssl:

root@erp:~# chown root /etc/nginx/conf.d/ssl/private.key
root@erp:~# chmod 600 /etc/nginx/conf.d/ssl/private.key
root@erp:~# bench set-ssl-certificate site1.local /etc/nginx/conf.d/ssl/certificate_bundle.crt
You should not run this command as root
root@erp:~# su - frappe
frappe@erp:~$ bench set-ssl-certificate site1.local /etc/nginx/conf.d/ssl/certificate_bundle.crt
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 11, in <module>
    load_entry_point('bench', 'console_scripts', 'bench')()
  File "/home/frappe/.bench/bench/cli.py", line 40, in cli
    bench_command()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/.bench/bench/commands/utils.py", line 37, in set_ssl_certificate
    set_ssl_certificate(site, ssl_certificate_path)
  File "/home/frappe/.bench/bench/config/site_config.py", line 27, in set_ssl_certificate
    set_site_config_nginx_property(site, {"ssl_certificate": ssl_certificate}, bench_path=bench_path, gen_config=gen_config)
  File "/home/frappe/.bench/bench/config/site_config.py", line 33, in set_site_config_nginx_property
    if site not in get_sites(bench_path=bench_path):
  File "/home/frappe/.bench/bench/utils.py", line 204, in get_sites
    sites = [site for site in os.listdir(sites_dir)
OSError: [Errno 2] No such file or directory: './sites'

And out of curiosity, I have tried another command:

frappe@erp:~$ bench new-site site2.local
INFO:bench.utils:creating new site site2.local
frappe app is not installed. Run the following command to install frappe
bench get-app https://github.com/frappe/frappe.git
INFO:bench.utils:/home/frappe/env/bin/frappe site2.local --install a46003081c --root_password chesirE2675 --admin_password chesirE2675
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 11, in <module>
    load_entry_point('bench', 'console_scripts', 'bench')()
  File "/home/frappe/.bench/bench/cli.py", line 40, in cli
    bench_command()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/.bench/bench/commands/make.py", line 58, in new_site
    new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)
  File "/home/frappe/.bench/bench/utils.py", line 177, in new_site
    ), cwd=os.path.join(bench_path, 'sites'))
  File "/home/frappe/.bench/bench/utils.py", line 132, in exec_cmd
    p = subprocess.Popen(cmd, cwd=cwd, shell=True, stdout=stdout, stderr=stderr, universal_newlines=True)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory: './sites'

Install log Part 1:

login as: root
root@45.76.252.249's password:
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-139-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
root@erp:~# apt-get install python-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-minimal is already the newest version.
python-minimal set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@erp:~# apt-get install build-essential python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils cpp cpp-4.8 dpkg-dev g++ g++-4.8 gcc gcc-4.8 libasan0 libatomic1
  libc-dev-bin libc6-dev libcloog-isl4 libdpkg-perl libgcc-4.8-dev libgmp10
  libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0 libstdc++-4.8-dev
  libtimedate-perl libtsan0 linux-libc-dev make patch python-pkg-resources
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
  g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib manpages-dev
  autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg
  libtsan0-dbg libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc
  diffutils-doc python-distribute python-distribute-doc
Recommended packages:
  fakeroot libalgorithm-merge-perl libfile-fcntllock-perl
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev g++ g++-4.8 gcc gcc-4.8
  libasan0 libatomic1 libc-dev-bin libc6-dev libcloog-isl4 libdpkg-perl
  libgcc-4.8-dev libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4
  libquadmath0 libstdc++-4.8-dev libtimedate-perl libtsan0 linux-libc-dev make
  patch python-pkg-resources python-setuptools
0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.1 MB of archives.
After this operation, 114 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04.3 [63.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04.3 [8,636 B]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libisl10 amd64 0.12.2-1 [419 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libcloog-isl4 amd64 0.18.2-1 [57.5 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1 amd64 4.8.4-2ubuntu1~14.04.3 [23.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04.3 [28.5 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libmpfr4 amd64 3.1.2-1 [203 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libquadmath0 amd64 4.8.4-2ubuntu1~14.04.3 [126 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04.3 [94.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libmpc3 amd64 1.0.1-1ubuntu1 [38.4 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.2 [2,076 kB]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.13
  404  Not Found [IP: 91.189.88.161 80]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [4,595 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main cpp amd64 4:4.8.2-1ubuntu6 [27.5 kB]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libc-dev-bin amd64 2.19-0ubuntu6.13
  404  Not Found [IP: 91.189.88.162 80]
Get:15 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1,688 kB]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main linux-libc-dev amd64 3.13.0-139.188
  404  Not Found [IP: 91.189.88.162 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libc6-dev amd64 2.19-0ubuntu6.13
  404  Not Found [IP: 91.189.88.162 80]
Get:16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [5,047 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5,098 B]
Get:18 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1,053 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [18.1 MB]
Get:20 http://archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1,490 B]
Get:21 http://archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Get:22 http://archive.ubuntu.com/ubuntu/ trusty/main libtimedate-perl all 2.3000-1 [37.2 kB]
Get:23 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.7 [179 kB]
Get:24 http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu2.3 [86.4 kB]
Get:25 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.7 [726 kB]
Get:26 http://archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4,838 B]
Get:27 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-pkg-resources all 3.3-1ubuntu2 [61.9 kB]
Get:28 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
Fetched 35.4 MB in 4s (7,844 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.19-0ubuntu6.13_amd64.deb  404  Not Found [IP: 91.189.88.162 80]

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.13.0-139.188_amd64.deb  404  Not Found [IP: 91.189.88.162 80]

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.19-0ubuntu6.13_amd64.deb  404  Not Found [IP: 91.189.88.162 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@erp:~# wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py                                                                     --2018-01-26 19:13:09--  https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.56.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.56.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12025 (12K) [text/plain]
Saving to: 'install.py'

100%[======================================>] 12,025      --.-K/s   in 0s

2018-01-26 19:13:09 (65.3 MB/s) - 'install.py' saved [12025/12025]

root@erp:~# sudo python install.py --production --user frappe
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://archive.ubuntu.com trusty InRelease
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:3 http://security.ubuntu.com trusty-security/main Sources [148 kB]
Hit http://archive.ubuntu.com trusty-backports InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [4,931 B]
Get:5 http://archive.ubuntu.com trusty-updates/main Sources [410 kB]
Get:6 http://security.ubuntu.com trusty-security/universe Sources [67.2 kB]
Get:7 http://security.ubuntu.com trusty-security/multiverse Sources [3,211 B]
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [707 kB]
Get:9 http://archive.ubuntu.com trusty-updates/restricted Sources [6,322 B]
Get:10 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14.1 kB]
Get:11 http://archive.ubuntu.com trusty-updates/universe Sources [196 kB]
Get:12 http://security.ubuntu.com trusty-security/universe amd64 Packages [203 kB]
Get:13 http://archive.ubuntu.com trusty-updates/multiverse Sources [7,368 B]
Get:14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,803 B]
Get:15 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,053 kB]
Get:16 http://security.ubuntu.com trusty-security/main i386 Packages [649 kB]
Get:17 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.9 kB]
Get:18 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.2 kB]
Get:19 http://security.ubuntu.com trusty-security/universe i386 Packages [196 kB]
Get:20 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [440 kB]
Get:21 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,955 B]
Get:22 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.6 kB]
Get:23 http://security.ubuntu.com trusty-security/main Translation-en [381 kB]
Get:24 http://archive.ubuntu.com trusty-updates/main i386 Packages [996 kB]
Get:25 http://security.ubuntu.com trusty-security/multiverse Translation-en [2,564 B]
Get:26 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [17.1 kB]
Get:27 http://security.ubuntu.com trusty-security/restricted Translation-en [3,546 B]
Get:28 http://archive.ubuntu.com trusty-updates/universe i386 Packages [436 kB]
Get:29 http://security.ubuntu.com trusty-security/universe Translation-en [113 kB]
Get:30 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.0 kB]
Get:31 http://archive.ubuntu.com trusty-updates/main Translation-en [520 kB]
Get:32 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [7,616 B]
Get:33 http://archive.ubuntu.com trusty-updates/restricted Translation-en [4,024 B]
Get:34 http://archive.ubuntu.com trusty-updates/universe Translation-en [237 kB]
Hit http://archive.ubuntu.com trusty-backports/main Sources
Hit http://archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.ubuntu.com trusty-backports/universe Sources
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty-backports/main Translation-en
Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://archive.ubuntu.com trusty Release
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/universe i386 Packages
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 7,025 kB in 7s (912 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils cpp cpp-4.8 dpkg-dev g++ g++-4.8 gcc gcc-4.8 git-man libasan0
  libatomic1 libc-dev-bin libc6 libc6-dev libcloog-isl4 libdpkg-perl
  liberror-perl libexpat1-dev libgcc-4.8-dev libgmp10 libgomp1 libisl10
  libitm1 libmpc3 libmpfr4 libpython-dev libpython2.7 libpython2.7-dev
  libquadmath0 libstdc++-4.8-dev libtimedate-perl libtsan0 linux-libc-dev make
  patch python-pkg-resources python2.7-dev zlib1g-dev
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
  g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib manpages-dev
  autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg
  libtsan0-dbg libquadmath0-dbg git-daemon-run git-daemon-sysvinit git-doc
  git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki
  git-svn glibc-doc libstdc++-4.8-doc make-doc diffutils-doc python-distribute
  python-distribute-doc
Recommended packages:
  fakeroot libalgorithm-merge-perl libfile-fcntllock-perl libssl-doc
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev g++ g++-4.8 gcc gcc-4.8 git
  git-man libasan0 libatomic1 libc-dev-bin libc6-dev libcloog-isl4
  libdpkg-perl liberror-perl libexpat1-dev libffi-dev libgcc-4.8-dev libgmp10
  libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libpython-dev libpython2.7
  libpython2.7-dev libquadmath0 libssl-dev libstdc++-4.8-dev libtimedate-perl
  libtsan0 linux-libc-dev make patch python-dev python-pkg-resources
  python-setuptools python2.7-dev zlib1g-dev
The following packages will be upgraded:
  libc6
1 upgraded, 43 newly installed, 0 to remove and 19 not upgraded.
Need to get 35.3 MB/70.6 MB of archives.
After this operation, 182 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc6 amd64 2.19-0ubuntu6.14 [4,753 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpython2.7 amd64 2.7.6-8ubuntu0.4 [1,040 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.14 [69.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-141.190 [769 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.14 [1,913 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libexpat1-dev amd64 2.1.0-4ubuntu1.4 [115 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpython2.7-dev amd64 2.7.6-8ubuntu0.4 [22.0 MB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.7 [699 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.7 [2,252 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libpython-dev amd64 2.7.5-5ubuntu3 [7,078 B]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty/main zlib1g-dev amd64 1:1.2.8.dfsg-1ubuntu1 [183 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libssl-dev amd64 1.0.1f-1ubuntu2.23 [1,075 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python2.7-dev amd64 2.7.6-8ubuntu0.4 [269 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ trusty/main python-dev amd64 2.7.5-5ubuntu3 [1,166 B]
Get:16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libffi-dev amd64 3.1~rc1+r3.0.13-12ubuntu0.2 [100 kB]
Fetched 35.3 MB in 3s (11.3 MB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 51871 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-0ubuntu6.14_amd64.deb ...
Unpacking libc6:amd64 (2.19-0ubuntu6.14) over (2.19-0ubuntu6.13) ...
Setting up libc6:amd64 (2.19-0ubuntu6.14) ...
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...
Selecting previously unselected package libasan0:amd64.
(Reading database ... 51871 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-1) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.6-8ubuntu0.4_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.6-8ubuntu0.4) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.14_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.14) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-141.190_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-141.190) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.14_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.14) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1.4_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-4ubuntu1.4) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../libpython2.7-dev_2.7.6-8ubuntu0.4_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.6-8ubuntu0.4) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14.2_amd64.deb ...
Unpacking binutils (2.24-5ubuntu14.2) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-1_all.deb ...
Unpacking libtimedate-perl (2.3000-1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.7_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.7) ...
Selecting previously unselected package patch.
Preparing to unpack .../patch_2.7.1-4ubuntu2.3_amd64.deb ...
Unpacking patch (2.7.1-4ubuntu2.3) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.7_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.7) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.7_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.7) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.7_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.7) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../libpython-dev_2.7.5-5ubuntu3_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.5-5ubuntu3) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.0.1f-1ubuntu2.23_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.1f-1ubuntu2.23) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.6-8ubuntu0.4_amd64.deb ...
Unpacking python2.7-dev (2.7.6-8ubuntu0.4) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.5-5ubuntu3_amd64.deb ...
Unpacking python-dev (2.7.5-5ubuntu3) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_3.3-1ubuntu2_all.deb ...
Unpacking python-pkg-resources (3.3-1ubuntu2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../libffi-dev_3.1~rc1+r3.0.13-12ubuntu0.2_amd64.deb ...
Unpacking libffi-dev:amd64 (3.1~rc1+r3.0.13-12ubuntu0.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:amd64 (0.12.2-1) ...
Setting up libcloog-isl4:amd64 (0.18.2-1) ...
Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpfr4:amd64 (3.1.2-1) ...
Setting up libpython2.7:amd64 (2.7.6-8ubuntu0.4) ...
Setting up libc-dev-bin (2.19-0ubuntu6.14) ...
Setting up linux-libc-dev:amd64 (3.13.0-141.190) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.14) ...
Setting up libexpat1-dev:amd64 (2.1.0-4ubuntu1.4) ...
Setting up libpython2.7-dev:amd64 (2.7.6-8ubuntu0.4) ...
Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu14.2) ...
Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...

Install log part 2:

update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (3.81-8.2ubuntu3) ...
Setting up libtimedate-perl (2.3000-1) ...
Setting up libdpkg-perl (1.17.5ubuntu5.7) ...
Setting up patch (2.7.1-4ubuntu2.3) ...
Setting up dpkg-dev (1.17.5ubuntu5.7) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.7) ...
Setting up git (1:1.9.1-1ubuntu0.7) ...
Setting up libpython-dev:amd64 (2.7.5-5ubuntu3) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1) ...
Setting up libssl-dev:amd64 (1.0.1f-1ubuntu2.23) ...
Setting up python2.7-dev (2.7.6-8ubuntu0.4) ...
Setting up python-dev (2.7.5-5ubuntu3) ...
Setting up python-pkg-resources (3.3-1ubuntu2) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up libffi-dev:amd64 (3.1~rc1+r3.0.13-12ubuntu0.2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...
--2018-01-26 19:14:18--  https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io (bootstrap.pypa.io)... 151.101.56.175
Connecting to bootstrap.pypa.io (bootstrap.pypa.io)|151.101.56.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1595408 (1.5M) [text/x-python]
Saving to: 'get-pip.py'

100%[======================================>] 1,595,408   --.-K/s   in 0.02s

2018-01-26 19:14:18 (79.8 MB/s) - 'get-pip.py' saved [1595408/1595408]

Collecting pip
/tmp/tmpw_wgU8/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
/tmp/tmpw_wgU8/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
    100% |################################| 1.3MB 938kB/s
Collecting wheel
  Downloading wheel-0.30.0-py2.py3-none-any.whl (49kB)
    100% |################################| 51kB 9.2MB/s
Installing collected packages: pip, wheel
Successfully installed pip-9.0.1 wheel-0.30.0
/tmp/tmpw_wgU8/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Collecting setuptools
  Downloading setuptools-38.4.0-py2.py3-none-any.whl (489kB)
    100% |################################| 491kB 2.2MB/s
Installing collected packages: setuptools
  Found existing installation: setuptools 3.3
    Uninstalling setuptools-3.3:
      Successfully uninstalled setuptools-3.3
Successfully installed setuptools-38.4.0
Collecting ansible==2.3.1
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading ansible-2.3.1.0.tar.gz (4.3MB)
    100% |################################| 4.3MB 255kB/s
Collecting jinja2 (from ansible==2.3.1)
  Downloading Jinja2-2.10-py2.py3-none-any.whl (126kB)
    100% |################################| 133kB 5.5MB/s
Collecting PyYAML (from ansible==2.3.1)
  Downloading PyYAML-3.12.tar.gz (253kB)
    100% |################################| 256kB 4.1MB/s
Collecting paramiko (from ansible==2.3.1)
  Downloading paramiko-2.4.0-py2.py3-none-any.whl (192kB)
    100% |################################| 194kB 5.9MB/s
Collecting pycrypto>=2.6 (from ansible==2.3.1)
  Downloading pycrypto-2.6.1.tar.gz (446kB)
    100% |################################| 450kB 2.6MB/s
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/dist-packages (from ansible==2.3.1)
Collecting MarkupSafe>=0.23 (from jinja2->ansible==2.3.1)
  Downloading MarkupSafe-1.0.tar.gz
Collecting pynacl>=1.0.1 (from paramiko->ansible==2.3.1)
  Downloading PyNaCl-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl (696kB)
    100% |################################| 706kB 1.7MB/s
Collecting cryptography>=1.5 (from paramiko->ansible==2.3.1)
  Downloading cryptography-2.1.4-cp27-cp27mu-manylinux1_x86_64.whl (2.2MB)
    100% |################################| 2.2MB 499kB/s
Collecting bcrypt>=3.1.3 (from paramiko->ansible==2.3.1)
  Downloading bcrypt-3.1.4-cp27-cp27mu-manylinux1_x86_64.whl (57kB)
    100% |################################| 61kB 7.1MB/s
Collecting pyasn1>=0.1.7 (from paramiko->ansible==2.3.1)
  Downloading pyasn1-0.4.2-py2.py3-none-any.whl (71kB)
    100% |################################| 71kB 9.1MB/s
Collecting six (from pynacl>=1.0.1->paramiko->ansible==2.3.1)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting cffi>=1.4.1 (from pynacl>=1.0.1->paramiko->ansible==2.3.1)
  Downloading cffi-1.11.4-cp27-cp27mu-manylinux1_x86_64.whl (406kB)
    100% |################################| 409kB 2.8MB/s
Collecting enum34; python_version < "3" (from cryptography>=1.5->paramiko->ansible==2.3.1)
  Downloading enum34-1.1.6-py2-none-any.whl
Collecting idna>=2.1 (from cryptography>=1.5->paramiko->ansible==2.3.1)
  Downloading idna-2.6-py2.py3-none-any.whl (56kB)
    100% |################################| 61kB 7.5MB/s
Collecting asn1crypto>=0.21.0 (from cryptography>=1.5->paramiko->ansible==2.3.1)
  Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
    100% |################################| 102kB 9.8MB/s
Collecting ipaddress; python_version < "3" (from cryptography>=1.5->paramiko->ansible==2.3.1)
  Downloading ipaddress-1.0.19.tar.gz
Collecting pycparser (from cffi>=1.4.1->pynacl>=1.0.1->paramiko->ansible==2.3.1)
  Downloading pycparser-2.18.tar.gz (245kB)
    100% |################################| 256kB 3.8MB/s
Building wheels for collected packages: ansible, PyYAML, pycrypto, MarkupSafe, ipaddress, pycparser
  Running setup.py bdist_wheel for ansible ... done
  Stored in directory: /root/.cache/pip/wheels/db/42/8c/a00fdd1e70acccc3f3b27eb4265cbfcccb5f6a52a4b9195403
  Running setup.py bdist_wheel for PyYAML ... done
  Stored in directory: /root/.cache/pip/wheels/2c/f7/79/13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc
  Running setup.py bdist_wheel for pycrypto ... done
  Stored in directory: /root/.cache/pip/wheels/80/1f/94/f76e9746864f198eb0e304aeec319159fa41b082f61281ffce
  Running setup.py bdist_wheel for MarkupSafe ... done
  Stored in directory: /root/.cache/pip/wheels/88/a7/30/e39a54a87bcbe25308fa3ca64e8ddc75d9b3e5afa21ee32d57
  Running setup.py bdist_wheel for ipaddress ... done
  Stored in directory: /root/.cache/pip/wheels/d7/6b/69/666188e8101897abb2e115d408d139a372bdf6bfa7abb5aef5
  Running setup.py bdist_wheel for pycparser ... done
  Stored in directory: /root/.cache/pip/wheels/95/14/9a/5e7b9024459d2a6600aaa64e0ba485325aff7a9ac7489db1b6
Successfully built ansible PyYAML pycrypto MarkupSafe ipaddress pycparser
Installing collected packages: MarkupSafe, jinja2, PyYAML, six, pycparser, cffi, pynacl, enum34, idna, asn1crypto, ipaddress, cryptography, bcrypt, pyasn1, paramiko, pycrypto, ansible
Successfully installed MarkupSafe-1.0 PyYAML-3.12 ansible-2.3.1.0 asn1crypto-0.24.0 bcrypt-3.1.4 cffi-1.11.4 cryptography-2.1.4 enum34-1.1.6 idna-2.6 ipaddress-1.0.19 jinja2-2.10 paramiko-2.4.0 pyasn1-0.4.2 pycparser-2.18 pycrypto-2.6.1 pynacl-1.2.1 six-1.11.0
Cloning into '/tmp/.bench'...
remote: Counting objects: 250, done.
remote: Compressing objects: 100% (196/196), done.
remote: Total 250 (delta 10), reused 162 (delta 8), pack-reused 0
Receiving objects: 100% (250/250), 7.07 MiB | 12.14 MiB/s, done.
Resolving deltas: 100% (10/10), done.
Checking connectivity... done.
 [WARNING]: Host file not found: /etc/ansible/hosts

 [WARNING]: provided hosts list is empty, only localhost is available


PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [Create user] *************************************************************
changed: [localhost]

TASK [Set home folder perms] ***************************************************
changed: [localhost]

TASK [Set home folder perms] ***************************************************
skipping: [localhost]

TASK [Set /tmp/.bench folder perms] ********************************************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=4    changed=3    unreachable=0    failed=0

Please enter mysql root password:
Re-enter mysql root password:
Please enter the default Administrator user password:
Re-enter Administrator password:
Passwords saved at ~/passwords.txt
 [WARNING]: Host file not found: /etc/ansible/hosts

 [WARNING]: provided hosts list is empty, only localhost is available


PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

PLAY [Setup prerequisites] *****************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [Install yum packages] ****************************************************
skipping: [localhost] => (item=[])

TASK [Install apt packages] ****************************************************
changed: [localhost] => (item=[u'build-essential', u'software-properties-common', u'dnsmasq', u'fontconfig', u'git', u'htop', u'libcrypto++-dev', u'libfreetype6-dev', u'liblcms2-dev', u'libssl-dev', u'libwebp-dev', u'libxext6', u'libxrender1', u'libxslt1-dev', u'libxslt1.1', u'libffi-dev', u'ntp', u'postfix', u'python-dev', u'python-pip', u'python-tk', u'redis-server', u'screen', u'vim', u'xfonts-75dpi', u'xfonts-base', u'zlib1g-dev', u'apt-transport-https', u'libsasl2-dev', u'libldap2-dev'])

TASK [install pillow prerequisites for Ubuntu < 14.04] *************************
skipping: [localhost] => (item=[])

TASK [install pillow prerequisites for Ubuntu >= 14.04] ************************
changed: [localhost] => (item=[u'libjpeg8-dev', u'libtiff5-dev', u'tcl8.6-dev', u'tk8.6-dev'])

TASK [Setup OpenSSL dependancy] ************************************************
skipping: [localhost]

TASK [install pillow prerequisites for Debian < 8] *****************************
skipping: [localhost] => (item=[])

TASK [install pillow prerequisites for Debian >= 8] ****************************
skipping: [localhost] => (item=[])

TASK [install prequisites for macos] *******************************************
skipping: [localhost] => (item=[])

PLAY [Apply basic roles, mariadb, wkhtmltopdf, nodejs, nginx, fail2ban and psutil] ***

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [locale : Check current locale] *******************************************
changed: [localhost]

TASK [locale : Set Locale] *****************************************************
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: (ansible_distribution == 'Centos' or
ansible_distribution == 'Ubuntu') and locale_test.stdout.find('LANG={{
locale_lang }}') == -1

changed: [localhost]

TASK [locale : Set keymap] *****************************************************
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: (ansible_distribution == 'Centos' or
ansible_distribution == 'Ubuntu') and locale_test.stdout.find('Keymap:
{{locale_keymap}}') == -1

changed: [localhost]

TASK [locale : Set Locale as en_US] ********************************************
changed: [localhost] => (item=LC_ALL=en_US.UTF-8)
changed: [localhost] => (item=LC_CTYPE=en_US.UTF-8)
changed: [localhost] => (item=LANG=en_US.UTF-8)

TASK [swap : Create swap space] ************************************************
changed: [localhost]

TASK [swap : Make swap] ********************************************************
changed: [localhost]

TASK [swap : Add to fstab] *****************************************************
changed: [localhost]

TASK [swap : Turn swap on] *****************************************************
changed: [localhost]

TASK [swap : Set swapiness] ****************************************************
changed: [localhost]

TASK [logwatch : Install logwatch] *********************************************
skipping: [localhost]

TASK [logwatch : Install logwatch on Ubuntu or Debian] *************************
changed: [localhost]

TASK [logwatch : Copy logwatch config] *****************************************
skipping: [localhost]

TASK [bash_screen_wall : Setup bash screen wall] *******************************
changed: [localhost]

TASK [frappe_selinux : Install deps] *******************************************
skipping: [localhost] => (item=[])

TASK [frappe_selinux : Check enabled SELinux modules] **************************
skipping: [localhost]

TASK [frappe_selinux : Copy frappe_selinux policy] *****************************
skipping: [localhost]

TASK [frappe_selinux : Compile frappe_selinux policy] **************************
skipping: [localhost]

TASK [dns_caching : check NetworkManager.conf exists] **************************
ok: [localhost]

TASK [dns_caching : unmask NetworkManager service] *****************************
skipping: [localhost]

TASK [dns_caching : add dnsmasq to network config] *****************************
skipping: [localhost]

Install log part 3:

TASK [ntpd : Install ntpd] *****************************************************
skipping: [localhost] => (item=[])

TASK [ntpd : enable ntpd] ******************************************************
skipping: [localhost]

TASK [ntpd : Install ntpd] *****************************************************
ok: [localhost] => (item=[u'ntp', u'ntpdate'])

TASK [ntpd : enable ntpd] ******************************************************
ok: [localhost]

TASK [mariadb : Add repo file] *************************************************
skipping: [localhost]

TASK [mariadb : Install MariaDB] ***********************************************
skipping: [localhost] => (item=[])

TASK [mariadb : Add repo file] *************************************************
changed: [localhost]

TASK [mariadb : Add repo key] **************************************************
changed: [localhost]

TASK [mariadb : Add apt key for mariadb for Ubuntu >= 16.04] *******************
skipping: [localhost]

TASK [mariadb : Update apt cache] **********************************************
changed: [localhost]

TASK [mariadb : Unattended package installation] *******************************
ok: [localhost]

TASK [mariadb : Install MariaDB] ***********************************************
changed: [localhost] => (item=[u'mariadb-server', u'mariadb-client', u'mariadb-common', u'libmariadbclient18', u'python-mysqldb'])

TASK [mariadb : Add configuration] *********************************************
changed: [localhost]

TASK [mariadb : Add apt key for mariadb for Debian <= 8] ***********************
skipping: [localhost]

TASK [mariadb : Add apt key for mariadb for Debian > 8] ************************
skipping: [localhost]

TASK [mariadb : Add apt repository] ********************************************
skipping: [localhost]

TASK [mariadb : Add apt repository] ********************************************
skipping: [localhost]

TASK [mariadb : Unattended package installation] *******************************
skipping: [localhost]

TASK [mariadb : apt-get install] ***********************************************
skipping: [localhost] => (item=[])

TASK [mariadb : Add configuration] *********************************************
skipping: [localhost]

TASK [mariadb : Start and enable service] **************************************
ok: [localhost]

TASK [mariadb : debug] *********************************************************
ok: [localhost] => {
    "msg": "chesirE2675"
}

TASK [mariadb : debug] *********************************************************
ok: [localhost] => {
    "msg": "chesirE2675"
}

TASK [mariadb : Set root Password] *********************************************
changed: [localhost] => (item=localhost)

TASK [mariadb : Add .my.cnf] ***************************************************
changed: [localhost]

TASK [mariadb : display .my.cnf] ***********************************************
changed: [localhost]

TASK [mariadb : debug] *********************************************************
ok: [localhost] => {
    "msg": [
        "[client]",
        "user=root",
        "password=chesirE2675"
    ]
}

TASK [mariadb : Set root Password] *********************************************
skipping: [localhost] => (item=127.0.0.1)
skipping: [localhost] => (item=::1)

TASK [mariadb : Reload privilege tables] ***************************************
skipping: [localhost] => (item=FLUSH PRIVILEGES)

TASK [mariadb : Remove anonymous users] ****************************************
skipping: [localhost] => (item=DELETE FROM mysql.user WHERE User='')

TASK [mariadb : Disallow root login remotely] **********************************
skipping: [localhost] => (item=DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1'))

TASK [mariadb : Remove test database and access to it] *************************
skipping: [localhost] => (item=DROP DATABASE if exists test)
skipping: [localhost] => (item=DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%')

TASK [mariadb : Reload privilege tables] ***************************************
skipping: [localhost] => (item=FLUSH PRIVILEGES)

TASK [mariadb : add launchagents folder mac] ***********************************
skipping: [localhost]

TASK [mariadb : add mysql to mac startup] **************************************
skipping: [localhost]

TASK [mariadb : stop mysql mac] ************************************************
skipping: [localhost]

TASK [mariadb : start mysql mac] ***********************************************
skipping: [localhost]

TASK [mariadb : debug] *********************************************************
ok: [localhost] => {
    "mysql_secure_installation": true
}

TASK [wkhtmltopdf : install base fonts] ****************************************
skipping: [localhost] => (item=[])

TASK [wkhtmltopdf : install base fonts] ****************************************
ok: [localhost] => (item=[u'libxrender1', u'libxext6', u'xfonts-75dpi', u'xfonts-base'])

TASK [wkhtmltopdf : download wkthmltox linux] **********************************
changed: [localhost]

TASK [wkhtmltopdf : Creates directory] *****************************************
changed: [localhost]

TASK [wkhtmltopdf : unarchive wkhtmltopdf] *************************************
changed: [localhost]

TASK [wkhtmltopdf : copy to /usr/local/bin] ************************************
changed: [localhost]

TASK [wkhtmltopdf : make wkhtmltopdf executable] *******************************
changed: [localhost]

TASK [nodejs : Import Node source RPM key] *************************************
skipping: [localhost]

TASK [nodejs : Add Node Repo for RedHat] ***************************************
skipping: [localhost]

TASK [nodejs : Install node v6] ************************************************
skipping: [localhost]

TASK [nodejs : Add apt key for node repo] **************************************
changed: [localhost]

TASK [nodejs : Add repo] *******************************************************
changed: [localhost]

TASK [nodejs : Install nodejs 6.x] *********************************************
changed: [localhost]

TASK [psutil : Install psutil] *************************************************
changed: [localhost]

TASK [supervisor : Install supervisor on centos] *******************************
skipping: [localhost]

TASK [supervisor : Install supervisor on debian] *******************************
changed: [localhost]

TASK [nginx : Include OS-specific variables.] **********************************
ok: [localhost]

TASK [nginx : Define nginx_user.] **********************************************
ok: [localhost]

TASK [nginx : Enable nginx repo.] **********************************************
skipping: [localhost]

TASK [nginx : Ensure nginx is installed.] **************************************
skipping: [localhost]

TASK [nginx : Add nginx apt repository key for Debian < 8] *********************
skipping: [localhost]

TASK [nginx : Add nginx apt repository for Debian < 8] *************************
skipping: [localhost]

TASK [nginx : Ensure nginx is installed.] **************************************
changed: [localhost]

TASK [nginx : Rename default nginx.conf to nginx.conf.old] *********************
changed: [localhost]

TASK [nginx : Copy nginx configuration in place.] ******************************
changed: [localhost]

TASK [nginx : Setup www redirect] **********************************************
skipping: [localhost]

TASK [nginx : Enable SELinux] **************************************************
skipping: [localhost]

TASK [nginx : Ensure nginx is started and enabled to start at boot.] ***********
ok: [localhost]

TASK [nginx : Remove default nginx vhost config file (if configured).] *********
skipping: [localhost]

TASK [nginx : Add managed vhost config file (if any vhosts are configured).] ***
skipping: [localhost]

TASK [nginx : Remove managed vhost config file (if no vhosts are configured).] ***
ok: [localhost]

TASK [fail2ban : Install fail2ban] *********************************************
skipping: [localhost]

TASK [fail2ban : Install fail2ban] *********************************************
changed: [localhost]

TASK [fail2ban : Enable fail2ban] **********************************************
ok: [localhost]

TASK [fail2ban : Create jail.d] ************************************************
ok: [localhost]

TASK [fail2ban : Setup filters] ************************************************
changed: [localhost] => (item=nginx-proxy)

TASK [fail2ban : setup jails] **************************************************
changed: [localhost] => (item=nginx-proxy)

TASK [Set hostname] ************************************************************
skipping: [localhost]

TASK [Start NTPD] **************************************************************
skipping: [localhost]

TASK [Start NTPD] **************************************************************
ok: [localhost]

RUNNING HANDLER [mariadb : restart mysql] **************************************
changed: [localhost]

RUNNING HANDLER [nginx : restart nginx] ****************************************
changed: [localhost]

RUNNING HANDLER [fail2ban : restart fail2ban] **********************************
changed: [localhost]

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
skipping: [localhost]

TASK [install prequisites] *****************************************************
skipping: [localhost] => (item=[])

TASK [cask installs] ***********************************************************
skipping: [localhost] => (item=wkhtmltopdf)

TASK [Add repo file] ***********************************************************
skipping: [localhost]

TASK [Install MariaDB] *********************************************************
skipping: [localhost] => (item=[])

TASK [Add repo file] ***********************************************************
skipping: [localhost]

TASK [Add repo key] ************************************************************
skipping: [localhost]

TASK [Add apt key for mariadb for Ubuntu >= 16.04] *****************************
skipping: [localhost]

TASK [Update apt cache] ********************************************************
skipping: [localhost]

TASK [Unattended package installation] *****************************************
skipping: [localhost]

TASK [Install MariaDB] *********************************************************
skipping: [localhost] => (item=[])

TASK [Add configuration] *******************************************************
skipping: [localhost]

TASK [Add apt key for mariadb for Debian <= 8] *********************************
skipping: [localhost]

TASK [Add apt key for mariadb for Debian > 8] **********************************
skipping: [localhost]

TASK [Add apt repository] ******************************************************
skipping: [localhost]

TASK [Add apt repository] ******************************************************
skipping: [localhost]

TASK [Unattended package installation] *****************************************
skipping: [localhost]

TASK [apt-get install] *********************************************************
skipping: [localhost] => (item=[])

TASK [Add configuration] *******************************************************
skipping: [localhost]

TASK [Start and enable service] ************************************************
skipping: [localhost]

TASK [debug] *******************************************************************
skipping: [localhost]

TASK [debug] *******************************************************************
skipping: [localhost]

TASK [Set root Password] *******************************************************
skipping: [localhost] => (item=localhost)

TASK [Add .my.cnf] *************************************************************
skipping: [localhost]

TASK [display .my.cnf] *********************************************************
skipping: [localhost]

TASK [debug] *******************************************************************
skipping: [localhost]

TASK [Set root Password] *******************************************************
skipping: [localhost] => (item=127.0.0.1)
skipping: [localhost] => (item=::1)

TASK [Reload privilege tables] *************************************************
skipping: [localhost] => (item=FLUSH PRIVILEGES)

TASK [Remove anonymous users] **************************************************
skipping: [localhost] => (item=DELETE FROM mysql.user WHERE User='')

TASK [Disallow root login remotely] ********************************************
skipping: [localhost] => (item=DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1'))

TASK [Remove test database and access to it] ***********************************
skipping: [localhost] => (item=DROP DATABASE if exists test)
skipping: [localhost] => (item=DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%')

TASK [Reload privilege tables] *************************************************
skipping: [localhost] => (item=FLUSH PRIVILEGES)

TASK [add launchagents folder mac] *********************************************
skipping: [localhost]

TASK [add mysql to mac startup] ************************************************
skipping: [localhost]

TASK [stop mysql mac] **********************************************************
skipping: [localhost]

TASK [start mysql mac] *********************************************************
skipping: [localhost]

TASK [debug] *******************************************************************
skipping: [localhost]

TASK [Install MySQLdb in global env] *******************************************
skipping: [localhost]

TASK [Check if /tmp/.bench exists] *********************************************
skipping: [localhost]

TASK [Check if bench_repo_path exists] *****************************************
skipping: [localhost]

TASK [move /tmp/.bench if it exists] *******************************************
skipping: [localhost]

TASK [install bench] ***********************************************************
skipping: [localhost]

TASK [Overwrite bench if required] *********************************************
skipping: [localhost]

TASK [Check whether bench exists] **********************************************
skipping: [localhost]

TASK [init bench] **************************************************************
skipping: [localhost]

TASK [setup config] ************************************************************
skipping: [localhost]

TASK [install frappe app] ******************************************************
skipping: [localhost]

TASK [setup procfile] **********************************************************
skipping: [localhost]

TASK [setup redis] *************************************************************
skipping: [localhost]

TASK [Check if ERPNext App exists] *********************************************
skipping: [localhost]

TASK [get erpnext] *************************************************************
skipping: [localhost]

TASK [Check whether a site called site1.local exists] **************************
skipping: [localhost]

TASK [Add additional conf for MariaDB 10.2 in mariadb.conf.d] ******************
skipping: [localhost]

TASK [Add additional conf for MariaDB 10.2 in mariadb.conf.d] ******************
skipping: [localhost]

TASK [restart mysql] ***********************************************************
skipping: [localhost]

TASK [create a new default site] ***********************************************
skipping: [localhost]

TASK [install erpnext to default site] *****************************************
skipping: [localhost]

PLAY [setup bench and dev environment] *****************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [Check if /tmp/.bench exists] *********************************************
ok: [localhost]

TASK [Check if bench_repo_path exists] *****************************************
ok: [localhost]

TASK [move /tmp/.bench if it exists] *******************************************
changed: [localhost]

TASK [install bench] ***********************************************************
changed: [localhost]

TASK [Overwrite bench if required] *********************************************
skipping: [localhost]

TASK [Check whether bench exists] **********************************************
ok: [localhost]

TASK [init bench] **************************************************************
changed: [localhost]

TASK [setup config] ************************************************************
ok: [localhost]

TASK [install frappe app] ******************************************************
ok: [localhost]

TASK [setup procfile] **********************************************************
skipping: [localhost]

TASK [setup redis] *************************************************************
skipping: [localhost]

TASK [Check if ERPNext App exists] *********************************************
skipping: [localhost]

TASK [get erpnext] *************************************************************
skipping: [localhost]

TASK [Check whether a site called site1.local exists] **************************
skipping: [localhost]

TASK [Add additional conf for MariaDB 10.2 in mariadb.conf.d] ******************
skipping: [localhost]

TASK [Add additional conf for MariaDB 10.2 in mariadb.conf.d] ******************
skipping: [localhost]

TASK [restart mysql] ***********************************************************
skipping: [localhost]

TASK [create a new default site] ***********************************************
skipping: [localhost]

TASK [install erpnext to default site] *****************************************
skipping: [localhost]

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [insert/update inputrc for history] ***************************************
changed: [localhost]

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [Check whether a site exists] *********************************************
ok: [localhost]

TASK [Add additional conf for MariaDB 10.2 in mariadb.conf.d] ******************
changed: [localhost]

TASK [Add additional conf for MariaDB 10.2 in mariadb.conf.d] ******************
changed: [localhost]

TASK [restart mysql] ***********************************************************
changed: [localhost]

TASK [Create new site] *********************************************************
changed: [localhost]

TASK [Check ERPNext App exists] ************************************************
ok: [localhost]

TASK [Get-app erpnext app] *****************************************************
changed: [localhost]

TASK [Install erpnext app] *****************************************************
changed: [localhost]

TASK [Change permissions for frappe home folder] *******************************
changed: [localhost]

TASK [Setup production] ********************************************************
changed: [localhost]

TASK [Setup Sudoers] ***********************************************************
changed: [localhost]

TASK [Restart the bench] *******************************************************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=84   changed=54   unreachable=0    failed=0

Frappe/ERPNext has been successfully installed!
root@erp:~# st]

TASK [Change permissions for frappe home folder] *******************************
changed: [localhost]

TASK [Setup production] ********************************************************
changed: [localhost]

TASK [Setup Sudoers] ***********************************************************
changed: [localhost]

TASK [Restart the bench] *******************************************************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=84   changed=54   unreachable=0    failed=0

Frappe/ERPNext has been successfully installed!
root@erp:~#

This might be your problem?

What install instructions are you following?

I switched to frappe on the next line. Easy Install on:

And you followed this?

“Install bench as a non root user”

I did execute the command as root user, but the instructions seem very clear:

  1. Run the install script
    If you are on a fresh server and logged in as root, use --user flag to create a user and install using that user

So I ran:

sudo python install.py --production --user frappe

Server #4. I installed python etc, created frappe, added to sudo, then downloaded and executed bench from frapp, still getting the main error, no such file or directory ‘./…’ for a majority of bench commands. I tried running bench update and got the error: OSError: [Errno 2] No such file or directory: ‘./apps/frappe’

Solved: I wasn’t in the frappe-bench directory! Wow. I didn’t see this anywhere until I googled it. Definitely add this to the notes in bench readme, I do see this now but I looked over it so many times and it never clicked:

For development: Go to your bench folder (frappe-bench by default) and start the bench with bench start

ok I was going to suggest your other option is to run this from a sudo privileged user account…

root@erp:~# wget 
https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py                                                                     
--2018-01-26 19:13:09--  
       https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py

I think your bigger problem you will not even notice until much later when you attempt to do an update/upgrade to ERPNext. It will throw endless errors if you were still logged in as root when you ran the install.py script.

I ran into this many times before one of the dev’s pointed out the line in the instructions about NOT installing as root. That is why the install instructions use the SUDO command ahead of the python call to the install script. It is really important to install from a SUDO enabled, non-root, user account. Frappe is the default, but you can use any account with the user switch. Just make sure you are logged in as the user you put after the --user switch.

Hope that helps.

If you did run the install as a root user, I would suggest wiping the server and starting over. It will save much trouble later when you want to update/upgrade.

BKM

2 Likes