Installation Failed on Checking Locale TASK (using Install Script)

I am installing using the install script for production and it fails at this point:

TASK [locale : Check current locale] ******************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “localectl”, “delta”: “0:00:00.129583”, “end”: “2018-07-19 14:25:51.064934”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2018-07-19 14:25:50.935351”, “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”: []}
to retry, use: --limit @/tmp/.bench/playbooks/site.retry

PLAY RECAP ********************************************************************************************
localhost : ok=5 changed=2 unreachable=0 failed=1

Traceback (most recent call last):
File “”, line 420, in
File “”, line 122, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “”, line 338, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/”, 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

Any idea why?

Check New installation failed - #28 by Mahmoud_Ghoneem - at the bottom

Here’s the result:

dbus is already the newest version (1.10.6-1ubuntu3.3).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

There might be other info in the same thread that is useful.

What is your install environment?
Are you installing as a normal user using sudo commands?

Ubuntu 16.04. Yes i am installing as a normal user using “sudo” command for elevation.