Thanks @crafter, I have repeated steps today and faced same error,
please find below all steps which I have executed, at the end the error message
windows 10 home
version : 1803
Installed ubuntu wsl 18.04.02
logged in using my unix user nofal
-
nofal@LAPTOP-5F23F7J8:~$ sudo apt-get update
-
nofal@LAPTOP-5F23F7J8:~$ sudo apt-get upgrade
-
nofal@LAPTOP-5F23F7J8:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
-
nofal@LAPTOP-5F23F7J8:~$ sudo su -
-
root@LAPTOP-5F23F7J8:~# apt-get install python-minimal
-
root@LAPTOP-5F23F7J8:~# apt-get install build-essential python-setuptools
-
root@LAPTOP-5F23F7J8:~# wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
-
root@LAPTOP-5F23F7J8:~# adduser frappe
-
root@LAPTOP-5F23F7J8:~# usermod -aG sudo frappe
-
root@LAPTOP-5F23F7J8:~# python install.py --production --site localhost --user frappe
reach this point and error message shown
[WARNING]: Could not find aptitude. Using apt-get instead
failed: [localhost] (item=[‘dnsmasq’, ‘fontconfig’, ‘git’, ‘htop’, ‘libcrypto+±dev’, ‘libfreetype6-dev’, ‘liblcms2-dev’, ‘libssl1.0-dev’, ‘libwebp-dev’, ‘libxext6’, ‘libxrender1’, ‘libxslt1-dev’, ‘libxslt1.1’, ‘libffi-dev’, ‘ntp’, ‘postfix’, ‘python3-dev’, ‘python-tk’, ‘screen’, ‘vim’, ‘xfonts-75dpi’, ‘xfonts-base’, ‘zlib1g-dev’, ‘apt-transport-https’, ‘libsasl2-dev’, ‘libldap2-dev’, ‘libcups2-dev’, ‘pv’]) =>
…
end of message
PLAY RECAP *************************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Traceback (most recent call last):
File “install.py”, line 413, in
install_bench(args)
File “install.py”, line 135, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 327, 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’, ‘-vvvv’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2
I really appreciate your help.
Thanks a lot