Install Error Using Install Script -become-user frappe error

I am currently facing an error when using install script both for production and develop branches. Here’s the error faced on production branch:

frappe@cloud:~$ sudo python install.py --production
[sudo] password for frappe:
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version (12.1ubuntu2).
libffi-dev is already the newest version (3.2.1-4).
python-setuptools is already the newest version (20.7.0-1).
git is already the newest version (1:2.7.4-0ubuntu1.6).
libssl-dev is already the newest version (1.0.2g-1ubuntu4.15).
python-dev is already the newest version (2.7.12-1~16.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7.
WARNING: The directory ‘/home/frappe/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
WARNING: The directory ‘/home/frappe/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages (41.0.1)
Requirement already up-to-date: cryptography in /usr/local/lib/python2.7/dist-packages (2.7)
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (19.1.1)
Requirement already satisfied, skipping upgrade: enum34; python_version < “3” in /usr/local/lib/python2.7/dist-packages (from cryptography) (1.1.6)
Requirement already satisfied, skipping upgrade: cffi!=1.11.3,>=1.8 in /usr/local/lib/python2.7/dist-packages (from cryptography) (1.12.3)
Requirement already satisfied, skipping upgrade: six>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from cryptography) (1.12.0)
Requirement already satisfied, skipping upgrade: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/dist-packages (from cryptography) (0.24.0)
Requirement already satisfied, skipping upgrade: ipaddress; python_version < “3” in /usr/local/lib/python2.7/dist-packages (from cryptography) (1.0.22)
Requirement already satisfied, skipping upgrade: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi!=1.11.3,>=1.8->cryptography) (2.19)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7.
WARNING: The directory ‘/home/frappe/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
WARNING: The directory ‘/home/frappe/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages (41.0.1)
Requirement already up-to-date: cryptography in /usr/local/lib/python2.7/dist-packages (2.7)
Requirement already up-to-date: ansible in /usr/local/lib/python2.7/dist-packages (2.8.0)
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (19.1.1)
Requirement already satisfied, skipping upgrade: enum34; python_version < “3” in /usr/local/lib/python2.7/dist-packages (from cryptography) (1.1.6)
Requirement already satisfied, skipping upgrade: cffi!=1.11.3,>=1.8 in /usr/local/lib/python2.7/dist-packages (from cryptography) (1.12.3)
Requirement already satisfied, skipping upgrade: six>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from cryptography) (1.12.0)
Requirement already satisfied, skipping upgrade: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/dist-packages (from cryptography) (0.24.0)
Requirement already satisfied, skipping upgrade: ipaddress; python_version < “3” in /usr/local/lib/python2.7/dist-packages (from cryptography) (1.0.22)
Requirement already satisfied, skipping upgrade: jinja2 in /usr/local/lib/python2.7/dist-packages (from ansible) (2.10.1)
Requirement already satisfied, skipping upgrade: PyYAML in /usr/local/lib/python2.7/dist-packages (from ansible) (5.1)
Requirement already satisfied, skipping upgrade: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi!=1.11.3,>=1.8->cryptography) (2.19)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /usr/local/lib/python2.7/dist-packages (from jinja2->ansible) (1.1.1)
[WARNING]: No inventory was parsed, only implicit localhost is available

[WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match ‘all’

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

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

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

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

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

TASK [Change default shell to bash] ********************************************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost : ok=5 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

Passwords saved at ~/passwords.txt
[WARNING]: No inventory was parsed, only implicit localhost is available

[WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match ‘all’

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

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

TASK [common : include_tasks] **************************************************
included: /tmp/.bench/playbooks/roles/common/tasks/debian_family.yml for localhost

TASK [common : Install prerequisites using apt-get] ****************************
[DEPRECATION WARNING]: Invoking “apt” only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple items
and specifying pkg: "{{ item }}", please use pkg: ['dnsmasq', 'fontconfig', 'git', 'htop', 'libcrypto++-dev', 'libfreetype6-dev', 'liblcms2-dev', 'libssl- dev', 'libwebp-dev', 'libxext6', 'libxrender1', 'libxslt1-dev', 'libxslt1.1', 'libffi-dev', 'ntp', 'postfix', 'python-dev', 'python3-dev', 'python-tk', 'screen', 'vim', 'xfonts-75dpi', 'xfonts-base', 'zlib1g-dev', 'apt-transport- https', 'libsasl2-dev', 'libldap2-dev', 'libcups2-dev', 'pv'] and remove the
loop. This feature will be removed in version 2.11. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost] => (item=[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’python3-dev’, u’python-tk’, u’screen’, u’vim’, u’xfonts-75dpi’, u’xfonts-base’, u’zlib1g-dev’, u’apt-transport-https’, u’libsasl2-dev’, u’libldap2-dev’, u’libcups2-dev’, u’pv’])
[WARNING]: Could not find aptitude. Using apt-get instead

TASK [common : include_tasks] **************************************************
skipping: [localhost]

TASK [common : include_tasks] **************************************************
included: /tmp/.bench/playbooks/roles/common/tasks/ubuntu.yml for localhost

TASK [common : install pillow prerequisites for Ubuntu < 14.04] ****************
[DEPRECATION WARNING]: Invoking “apt” only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple items
and specifying pkg: "{{ item }}", please use pkg: ['libjpeg8-dev', 'libtiff4-dev', 'tcl8.5-dev', 'tk8.5-dev'] and remove the loop. This feature
will be removed in version 2.11. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
result|version_compare use result is version_compare. This feature will be
removed in version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=[])

TASK [common : install pillow prerequisites for Ubuntu >= 14.04] ***************
[DEPRECATION WARNING]: Invoking “apt” only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple items
and specifying pkg: "{{ item }}", please use pkg: ['libjpeg8-dev', 'libtiff5-dev', 'tcl8.6-dev', 'tk8.6-dev'] and remove the loop. This feature
will be removed in version 2.11. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
result|version_compare use result is version_compare. This feature will be
removed in version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
ok: [localhost] => (item=[u’libjpeg8-dev’, u’libtiff5-dev’, u’tcl8.6-dev’, u’tk8.6-dev’])

TASK [common : include_tasks] **************************************************
skipping: [localhost]

TASK [locale : Check current locale] *******************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “localectl”, “delta”: “0:00:00.004173”, “end”: “2019-06-04 23:11:10.679780”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-06-04 23:11:10.675607”, “stderr”: “Failed to create bus connection: No such file or directory”, “stderr_lines”: [“Failed to create bus connection: No such file or directory”], “stdout”: “”, “stdout_lines”: []}

PLAY RECAP *********************************************************************
localhost : ok=5 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0

Traceback (most recent call last):
File “install.py”, line 432, in
install_bench(args)
File “install.py”, line 128, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 344, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2

This also occurs when I try to install the develop branch. I see two other closed threads about this but none of the solutions proffered in those threads have helped resolve mine. So I’m hoping anyone with a more recent experience or someone who can look through the failure point and decode the issue can help.

which os distribution you are using?

Ubuntu 16.04 and 18.04 showed similar errors

You are executing the command from frappe user…

Yes. I have also tried from root, another user with sudo privileges and so on but I reach the same roadblock.

Please retry by removing frappe user from the system

This is what I get when user is not present in the system:

root@cloud:~# sudo python install.py --production --user frappe

TASK [common : install pillow prerequisites for Ubuntu >= 14.04] ***************
[DEPRECATION WARNING]: Invoking “apt” only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple items
and specifying pkg: "{{ item }}", please use pkg: ['libjpeg8-dev', 'libtiff5-dev', 'tcl8.6-dev', 'tk8.6-dev'] and remove the loop. This feature
will be removed in version 2.11. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using
result|version_compare use result is version_compare. This feature will be
removed in version 2.9. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
failed: [localhost] (item=[u’libjpeg8-dev’, u’libtiff5-dev’, u’tcl8.6-dev’, u’tk8.6-dev’]) => {“ansible_loop_var”: “item”, “cache_update_time”: 1559719744, “cache_updated”: false, “changed”: false, “item”: [“libjpeg8-dev”, “libtiff5-dev”, “tcl8.6-dev”, “tk8.6-dev”], “msg”: “’/usr/bin/apt-get -y -o “Dpkg::Options::=–force-confdef” -o “Dpkg::Options::=–force-confold” --force-yes install ‘tcl8.6-dev’ ‘tk8.6-dev’’ failed: W: --force-yes is deprecated, use one of the options starting with --allow instead.\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libi/libice/libice6_1.0.9-2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libs/libsm/libsm6_1.2.2-1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxinerama/libxinerama1_1.1.3-1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxxf86dga/libxxf86dga1_1.1.4-1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxxf86vm/libxxf86vm1_1.1.4-1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-common_2.4.95-1~18.04.1_all.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm2_2.4.95-1~18.04.1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxmu/libxmuu1_1.1.2-2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-amdgpu1_2.4.95-1~18.04.1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libp/libpciaccess/libpciaccess0_0.14-1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-intel1_2.4.95-1~18.04.1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-nouveau2_2.4.95-1~18.04.1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libd/libdrm/libdrm-radeon1_2.4.95-1~18.04.1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/libfontconfig1-dev_2.12.6-0ubuntu2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libglapi-mesa_18.2.8-0ubuntu0~18.04.2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/llvm-toolchain-7/libllvm7_7-3~ubuntu0.18.04.1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dri_18.2.8-0ubuntu0~18.04.2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libglvnd0_1.0.0-2ubuntu2.2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-xcb1_1.6.4-3ubuntu0.2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-dri2-0_1.13-2~ubuntu18.04_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-dri3-0_1.13-2~ubuntu18.04_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-glx0_1.13-2~ubuntu18.04_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-present0_1.13-2~ubuntu18.04_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-sync1_1.13-2~ubuntu18.04_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxdamage/libxdamage1_1.1.4-3_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxfixes/libxfixes3_5.0.3-1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxshmfence/libxshmfence1_1.3-1_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libglx-mesa0_18.2.8-0ubuntu0~18.04.2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libglx0_1.0.0-2ubuntu2.2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libgl1_1.0.0-2ubuntu2.2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-glx_18.2.8-0ubuntu0~18.04.2_amd64.deb Temporary failure resolving ‘archive.ubuntu.com’\nE: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/x/xorg-sgml-doctools/xorg-sgml-doctools_1.11-1_all.deb bgl1 libgl1-mesa-dri libgl1-mesa-glx\n libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libice-dev libice6 libllvm7\n libpciaccess0 libpthread-stubs0-dev libsm-dev libsm6 libx11-dev libx11-doc\n libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0\n libxcb-present0 libxcb-shape0 libxcb-sync1 libxcb1-dev libxcomposite1\n libxdamage1 libxdmcp-dev libxext-dev libxfixes3 libxft-dev libxi6\n libxinerama1 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender-dev\n libxshmfence1 libxss-dev libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1\n libxxf86vm1 tcl8.6 tk8.6 x11-utils x11proto-core-dev x11proto-dev\n x11proto-scrnsaver-dev x11proto-xext-dev xbitmaps xorg-sgml-doctools xterm\n xtrans-dev\nSuggested packages:\n libice-doc pciutils libsm-doc libxcb-doc libxext-doc libxt-doc\n tcl-tclreadline tcl8.6-doc tk8.6-doc mesa-utils xfonts-cyrillic\nThe following NEW packages will be installed:\n libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1\n libdrm2 libfontconfig1-dev libgl1 libgl1-mesa-dri libgl1-mesa-glx\n libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libice-dev libice6 libllvm7\n libpciaccess0 libpthread-stubs0-dev libsm-dev libsm6 libx11-dev libx11-doc\n libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0\n libxcb-present0 libxcb-shape0 libxcb-sync1 libxcb1-dev libxcomposite1\n libxdamage1 libxdmcp-dev libxext-dev libxfixes3 libxft-dev libxi6\n libxinerama1 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender-dev\n libxshmfence1 libxss-dev libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1\n libxxf86vm1 tcl8.6 tcl8.6-dev tk8.6 tk8.6-dev x11-utils x11proto-core-dev\n x11proto-dev x11proto-scrnsaver-dev x11proto-xext-dev xbitmaps\n xorg-sgml-doctools xterm xtrans-dev\n0 upgraded, 67 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 30.6 MB of archives.\nAfter this operation, 249 MB of additional disk space will be used.\nErr:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libice6 amd64 2:1.0.9-2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsm6 amd64 2:1.2.2-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxinerama1 amd64 2:1.1.3-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxxf86dga1 amd64 2:1.1.4-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxxf86vm1 amd64 1:1.1.4-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-common all 2.4.95-1~18.04.1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm2 amd64 2.4.95-1~18.04.1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-amdgpu1 amd64 2.4.95-1~18.04.1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpciaccess0 amd64 0.14-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-intel1 amd64 2.4.95-1~18.04.1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-nouveau2 amd64 2.4.95-1~18.04.1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-radeon1 amd64 2.4.95-1~18.04.1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfontconfig1-dev amd64 2.12.6-0ubuntu2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglapi-mesa amd64 18.2.8-0ubuntu0~18.04.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libllvm7 amd64 1:7-3~ubuntu0.18.04.1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1-mesa-dri amd64 18.2.8-0ubuntu0~18.04.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglvnd0 amd64 1.0.0-2ubuntu2.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-xcb1 amd64 2:1.6.4-3ubuntu0.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri2-0 amd64 1.13-2~ubuntu18.04\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri3-0 amd64 1.13-2~ubuntu18.04\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-glx0 amd64 1.13-2~ubuntu18.04\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-present0 amd64 1.13-2~ubuntu18.04\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-sync1 amd64 1.13-2~ubuntu18.04\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdamage1 amd64 1:1.1.4-3\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxfixes3 amd64 1:5.0.3-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxshmfence1 amd64 1.3-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:28 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglx-mesa0 amd64 18.2.8-0ubuntu0~18.04.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:29 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglx0 amd64 1.0.0-2ubuntu2.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1 amd64 1.0.0-2ubuntu2.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1-mesa-glx amd64 18.2.8-0ubuntu0~18.04.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 xorg-sgml-doctools all 1:1.11-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-dev all 2018.4-4\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:34 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-core-dev all 2018.4-4\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 libice-dev amd64 2:1.0.9-2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpthread-stubs0-dev amd64 0.3-4\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsm-dev amd64 2:1.2.2-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau-dev amd64 1:1.0.8-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:39 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp-dev amd64 1:1.1.2-3\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 xtrans-dev all 1.3.5-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1-dev amd64 1.13-2~ubuntu18.04\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:42 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-dev amd64 2:1.6.4-3ubuntu0.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-doc all 2:1.6.4-3ubuntu0.2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:44 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxt6 amd64 1:1.1.5-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:45 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmu6 amd64 2:1.1.2-2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:46 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxpm4 amd64 1:3.5.12-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:47 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxaw7 amd64 2:1.0.13-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-shape0 amd64 1.13-2~ubuntu18.04\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:49 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxcomposite1 amd64 1:0.4.4-2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xext-dev all 2018.4-4\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:51 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext-dev amd64 2:1.3.3-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:52 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxrender-dev amd64 1:0.9.10-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:53 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxft-dev amd64 2.3.2-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:54 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxi6 amd64 2:1.7.9-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:55 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxrandr2 amd64 2:1.5.1-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:56 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-scrnsaver-dev all 2018.4-4\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:57 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxss-dev amd64 1:1.2.2-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:58 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxt-dev amd64 1:1.1.5-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:59 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxtst6 amd64 2:1.2.3-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:60 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxv1 amd64 2:1.0.11-1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:61 http://archive.ubuntu.com/ubuntu bionic/main amd64 tcl8.6 amd64 8.6.8+dfsg-3\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:62 http://archive.ubuntu.com/ubuntu bionic/main amd64 tcl8.6-dev amd64 8.6.8+dfsg-3\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:63 http://archive.ubuntu.com/ubuntu bionic/main amd64 tk8.6 amd64 8.6.8-4\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:64 http://archive.ubuntu.com/ubuntu bionic/main amd64 tk8.6-dev amd64 8.6.8-4\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:65 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11-utils amd64 7.7+3build1\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:66 http://archive.ubuntu.com/ubuntu bionic/main amd64 xbitmaps all 1.1.1-2\n Temporary failure resolving ‘archive.ubuntu.com’\nErr:67 http://archive.ubuntu.com/ubuntu bionic/universe amd64 xterm amd64 330-1ubuntu2\n Temporary failure resolving ‘archive.ubuntu.com’\n”, “stdout_lines”: [“Reading package lists…”, “Building dependency tree…”, “Reading state information…”, “The following additional packages will be installed:”, " libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1", " libdrm2 libfontconfig1-dev libgl1 libgl1-mesa-dri libgl1-mesa-glx", " libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libice-dev libice6 libllvm7", " libpciaccess0 libpthread-stubs0-dev libsm-dev libsm6 libx11-dev libx11-doc", " libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0", " libxcb-present0 libxcb-shape0 libxcb-sync1 libxcb1-dev libxcomposite1", " libxdamage1 libxdmcp-dev libxext-dev libxfixes3 libxft-dev libxi6", " libxinerama1 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender-dev", " libxshmfence1 libxss-dev libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1", " libxxf86vm1 tcl8.6 tk8.6 x11-utils x11proto-core-dev x11proto-dev", " x11proto-scrnsaver-dev x11proto-xext-dev xbitmaps xorg-sgml-doctools xterm", " xtrans-dev", “Suggested packages:”, " libice-doc pciutils libsm-doc libxcb-doc libxext-doc libxt-doc", " tcl-tclreadline tcl8.6-doc tk8.6-doc mesa-utils xfonts-cyrillic", “The following NEW packages will be installed:”, " libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1", " libdrm2 libfontconfig1-dev libgl1 libgl1-mesa-dri libgl1-mesa-glx", " libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libice-dev libice6 libllvm7", " libpciaccess0 libpthread-stubs0-dev libsm-dev libsm6 libx11-dev libx11-doc", " libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0", " libxcb-present0 libxcb-shape0 libxcb-sync1 libxcb1-dev libxcomposite1", " libxdamage1 libxdmcp-dev libxext-dev libxfixes3 libxft-dev libxi6", " libxinerama1 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender-dev", " libxshmfence1 libxss-dev libxt-dev libxt6 libxtst6 libxv1 libxxf86dga1", " libxxf86vm1 tcl8.6 tcl8.6-dev tk8.6 tk8.6-dev x11-utils x11proto-core-dev", " x11proto-dev x11proto-scrnsaver-dev x11proto-xext-dev xbitmaps", " xorg-sgml-doctools xterm xtrans-dev", “0 upgraded, 67 newly installed, 0 to remove and 0 not upgraded.”, “Need to get 30.6 MB of archives.”, “After this operation, 249 MB of additional disk space will be used.”, “Err:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libice6 amd64 2:1.0.9-2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsm6 amd64 2:1.2.2-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxinerama1 amd64 2:1.1.3-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxxf86dga1 amd64 2:1.1.4-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxxf86vm1 amd64 1:1.1.4-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-common all 2.4.95-1~18.04.1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm2 amd64 2.4.95-1~18.04.1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-amdgpu1 amd64 2.4.95-1~18.04.1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpciaccess0 amd64 0.14-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-intel1 amd64 2.4.95-1~18.04.1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-nouveau2 amd64 2.4.95-1~18.04.1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-radeon1 amd64 2.4.95-1~18.04.1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfontconfig1-dev amd64 2.12.6-0ubuntu2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglapi-mesa amd64 18.2.8-0ubuntu0~18.04.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libllvm7 amd64 1:7-3~ubuntu0.18.04.1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1-mesa-dri amd64 18.2.8-0ubuntu0~18.04.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglvnd0 amd64 1.0.0-2ubuntu2.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-xcb1 amd64 2:1.6.4-3ubuntu0.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri2-0 amd64 1.13-2~ubuntu18.04”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri3-0 amd64 1.13-2~ubuntu18.04”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-glx0 amd64 1.13-2~ubuntu18.04”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-present0 amd64 1.13-2~ubuntu18.04”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-sync1 amd64 1.13-2~ubuntu18.04”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdamage1 amd64 1:1.1.4-3”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxfixes3 amd64 1:5.0.3-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxshmfence1 amd64 1.3-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:28 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglx-mesa0 amd64 18.2.8-0ubuntu0~18.04.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:29 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglx0 amd64 1.0.0-2ubuntu2.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1 amd64 1.0.0-2ubuntu2.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1-mesa-glx amd64 18.2.8-0ubuntu0~18.04.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 xorg-sgml-doctools all 1:1.11-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-dev all 2018.4-4”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:34 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-core-dev all 2018.4-4”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 libice-dev amd64 2:1.0.9-2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpthread-stubs0-dev amd64 0.3-4”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsm-dev amd64 2:1.2.2-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxau-dev amd64 1:1.0.8-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:39 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp-dev amd64 1:1.1.2-3”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 xtrans-dev all 1.3.5-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1-dev amd64 1.13-2~ubuntu18.04”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:42 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-dev amd64 2:1.6.4-3ubuntu0.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-doc all 2:1.6.4-3ubuntu0.2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:44 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxt6 amd64 1:1.1.5-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:45 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmu6 amd64 2:1.1.2-2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:46 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxpm4 amd64 1:3.5.12-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:47 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxaw7 amd64 2:1.0.13-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-shape0 amd64 1.13-2~ubuntu18.04”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:49 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxcomposite1 amd64 1:0.4.4-2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xext-dev all 2018.4-4”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:51 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxext-dev amd64 2:1.3.3-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:52 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxrender-dev amd64 1:0.9.10-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:53 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxft-dev amd64 2.3.2-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:54 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxi6 amd64 2:1.7.9-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:55 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxrandr2 amd64 2:1.5.1-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:56 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-scrnsaver-dev all 2018.4-4”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:57 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxss-dev amd64 1:1.2.2-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:58 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxt-dev amd64 1:1.1.5-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:59 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxtst6 amd64 2:1.2.3-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:60 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxv1 amd64 2:1.0.11-1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:61 http://archive.ubuntu.com/ubuntu bionic/main amd64 tcl8.6 amd64 8.6.8+dfsg-3”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:62 http://archive.ubuntu.com/ubuntu bionic/main amd64 tcl8.6-dev amd64 8.6.8+dfsg-3”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:63 http://archive.ubuntu.com/ubuntu bionic/main amd64 tk8.6 amd64 8.6.8-4”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:64 http://archive.ubuntu.com/ubuntu bionic/main amd64 tk8.6-dev amd64 8.6.8-4”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:65 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11-utils amd64 7.7+3build1”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:66 http://archive.ubuntu.com/ubuntu bionic/main amd64 xbitmaps all 1.1.1-2”, " Temporary failure resolving ‘archive.ubuntu.com’", “Err:67 http://archive.ubuntu.com/ubuntu bionic/universe amd64 xterm amd64 330-1ubuntu2”, " Temporary failure resolving ‘archive.ubuntu.com’"]}

PLAY RECAP *********************************************************************
localhost : ok=4 changed=1 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0

Traceback (most recent call last):
File “install.py”, line 432, in
install_bench(args)
File “install.py”, line 128, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 344, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2
root@cloud:~#

I hit the same roadblock regardless of whether I use the --user tag to create the frappe user during installation or not.

It will probably be quicker to install manually