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