W: The repository 'http://ppa.launchpad.net/fossfreedom/byzanz/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/fossfreedom/byzanz/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-amd64/by-hash/SHA256/cc1bd9d29b056679fee61e972c99fb69104250eeee5d7e975055c808a3a43db0 Hash Sum mismatch
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-amd64/by-hash/SHA256/0c365db4dd94ee0177c73c5680bcd6a7ab812edd30f1b1d9d2586d4463f71b7c
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-i386/by-hash/SHA256/df9b1c44f9865fa2e4aeafb400a6d9fa054f799f56e35dac110650721c8a2cd7
E: Some index files failed to download. They have been ignored, or old ones used instead.
Traceback (most recent call last):
File "install.py", line 425, in <module>
install_bench(args)
File "install.py", line 21, in install_bench
'sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel'
File "install.py", line 234, in run_os_command
returncode = subprocess.check_call(command, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'sudo apt-get update' returned non-zero exit status 100
sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel implies CentOS, but the command is failing on sudo apt-get update.
Which OS are you actually using?
Issue you are facing is not related to bench auto installer, as its your system repos are not in good shape.
You should start with fresh server or remove your existing repos from source.list file and/or source.list.d directory so that apt-get update command will finish successfully, then you can give retry to bench auto installer.
TASK [swap : Create swap space] ***************************************************************************************************************
fatal: [localhost]: FAILED! => {âmsgâ: âThe conditional check âproduction and not containerâ failed. The error was: error while evaluating conditional (production and not container): âcontainerâ is undefined\n\nThe error appears to have been in â/tmp/.bench/playbooks/roles/swap/tasks/main.ymlâ: line 1, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create swap space\n ^ here\nâ}