New Frappe installation error


I was trying to install Frappe on a new machine. I followed the easy install method and am getting this following error while running

sudo python --production

Hit vivid-security/universe Sources
Hit vivid-security/multiverse Sources
Hit vivid-security/main amd64 Packages
Hit vivid-security/restricted amd64 Packages
Hit vivid-security/universe amd64 Packages
Hit vivid-security/multiverse amd64 Packages
Hit vivid-security/main i386 Packages
Hit vivid-security/restricted i386 Packages
Hit vivid-security/universe i386 Packages
Hit vivid-security/multiverse i386 Packages
Hit vivid-security/main Translation-en
Hit vivid-security/multiverse Translation-en
Hit vivid-security/restricted Translation-en
Hit vivid-security/universe Translation-en
Hit vivid-backports/restricted Sources
Hit vivid-backports/multiverse Sources
Hit vivid-backports/restricted amd64 Packages
Hit vivid-backports/multiverse amd64 Packages
Hit vivid-backports/restricted i386 Packages
Hit vivid-backports/multiverse i386 Packages
Hit vivid-backports/multiverse Translation-en
Hit vivid-backports/restricted Translation-en
Hit vivid/main Sources
Hit vivid/restricted Sources
Hit vivid/universe Sources
Hit vivid/multiverse Sources
Hit vivid/main amd64 Packages
Hit vivid/restricted amd64 Packages
Hit vivid/universe amd64 Packages
Hit vivid/multiverse amd64 Packages
Hit vivid/main i386 Packages
Hit vivid/restricted i386 Packages
Hit vivid/universe i386 Packages
Hit vivid/multiverse i386 Packages
Hit vivid/main Translation-en
Hit vivid/multiverse Translation-en
Hit vivid/restricted Translation-en
Hit vivid/universe Translation-en
Hit vivid-updates/main Sources
Hit vivid-updates/restricted Sources
Hit vivid-updates/universe Sources
Hit vivid-updates/multiverse Sources
Hit vivid-updates/main amd64 Packages
Hit vivid-updates/restricted amd64 Packages
Hit vivid-updates/universe amd64 Packages
Hit vivid-updates/multiverse amd64 Packages
Hit vivid-updates/main i386 Packages
Hit vivid-updates/restricted i386 Packages
Hit vivid-updates/universe i386 Packages
Hit vivid-updates/multiverse i386 Packages
Hit vivid-updates/main Translation-en
Hit vivid-updates/multiverse Translation-en
Hit vivid-updates/restricted Translation-en
Hit vivid-updates/universe Translation-en
Hit vivid-backports/main Sources
Hit vivid-backports/universe Sources
Hit vivid-backports/main amd64 Packages
Hit vivid-backports/universe amd64 Packages
Hit vivid-backports/main i386 Packages
Hit vivid-backports/universe i386 Packages
Hit vivid-backports/main Translation-en
Hit vivid-backports/universe Translation-en
W: Failed to fetch HttpError404

W: Failed to fetch HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.
Traceback (most recent call last):
File “”, line 351, in
File “”, line 21, in install_bench
‘sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel’
File “”, line 219, in run_os_command
returncode = subprocess.check_call(command, shell=True)
File “/usr/lib/python2.7/”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘sudo apt-get update’ returned non-zero exit status 100

Please help.

you have to run
apt-get update
apt-get upgrade
before any installation its recommanded

good luckk