V 11 install error

root@vmi319960:~# sudo python3 install.py --production --version 11 --user sanat h
Logs are saved under /tmp/logs/install_bench.log
Checking System Compatibility…
debian 9 is compatible!
Bench’s CLI needs these to be defined!
Run the following commands in shell:
export LC_ALL=C.UTF-8
root@vmi319960:~# esport LC_ALL=C.UTF-8
-bash: esport: command not found
root@vmi319960:~# export LC_ALL=C.UTF-8
root@vmi319960:~# sudo python3 install.py --production --version 11 --user sanat h
Logs are saved under /tmp/logs/install_bench.log
Checking System Compatibility…
debian 9 is compatible!
Installing curl…
curl installed!
wget already installed!
git already installed!
pip installed!
[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’
Input mySQL and Frappe Administrator passwords:
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]: 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’
[WARNING]: Updating cache and auto-installing missing dependency: python3-apt
[WARNING]: Could not find aptitude. Using apt-get instead
Traceback (most recent call last):
File “install.py”, line 428, in
install_bench(args)
File “install.py”, line 254, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 369, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’), st dout=log_stream, stderr=sys.stderr)
File “/usr/lib/python3.5/subprocess.py”, line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘sit e.yml’, ‘-vvvv’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=sanat h’]’ returned non-zero exit status 2
root@vmi319960:~#

I just follow below steps and got installed V 11 successfully

  1. Install sudo apt install dirmngr -y
  2. Reboot
  3. run the easy script again