ERPnext localhost installation error

I am trying to create a localhost on ERPnext while following the below command:
sudo python install.py --develop
i am getting the following error.Please help.

root@ashutosh-Latitude-E7450:/home/ashutosh# sudo python install.py --develop
Hit:1 https://dl.yarnpkg.com/debian stable InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:3 Index of /ubuntu precise InRelease
Hit:4 http://dl.google.com/linux/chrome/deb stable Release
Get:5 Index of /ubuntu precise Release [11.9 kB]
Ign:6 Index of /ubuntu precise InRelease
Get:8 Index of /ubuntu precise Release.gpg [72 B]
Ign:8 Index of /ubuntu precise Release.gpg
Get:9 Index of /ubuntu precise Release [8,180 B]
Ign:10 http://us.archive.ubuntu.com/ubuntu precise InRelease
Get:11 Index of /ubuntu precise Release.gpg [181 B]
Hit:12 https://download.sublimetext.com apt/stable/ InRelease
Ign:11 Index of /ubuntu precise Release.gpg
Hit:13 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Get:17 http://us.archive.ubuntu.com/ubuntu precise Release [49.6 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu precise-security InRelease [55.7 kB]
Err:14 http://us.archive.ubuntu.com/ubuntu precise-security InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
Get:15 http://us.archive.ubuntu.com/ubuntu precise-updates InRelease [55.7 kB]
Err:15 http://us.archive.ubuntu.com/ubuntu precise-updates InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
Get:16 http://us.archive.ubuntu.com/ubuntu precise-backports InRelease [55.7 kB]
Err:16 http://us.archive.ubuntu.com/ubuntu precise-backports InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
Get:18 http://us.archive.ubuntu.com/ubuntu precise Release.gpg [198 B]
Ign:18 http://us.archive.ubuntu.com/ubuntu precise Release.gpg
Reading package lists… Done
W: GPG error: Index of /ubuntu precise Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
E: The repository ‘Index of /ubuntu precise Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: Index of /ubuntu precise Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository ‘Index of /ubuntu precise Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise-security InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository ‘http://us.archive.ubuntu.com/ubuntu precise-security InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise-updates InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository ‘http://us.archive.ubuntu.com/ubuntu precise-updates InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise-backports InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository ‘http://us.archive.ubuntu.com/ubuntu precise-backports InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
E: The repository ‘http://us.archive.ubuntu.com/ubuntu precise Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Traceback (most recent call last):
File “install.py”, line 413, in
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 226, in run_os_command
returncode = subprocess.check_call(command, shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘sudo apt-get update’ returned non-zero exit status 100

the public key is not available: NO_PUBKEY 40976EAF437D05B5 implies that your repos are not correct or not reachable

still the same error

root@ashutosh-Latitude-E7450:/home/ashutosh# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
Executing: /tmp/apt-key-gpghome.2KpTt6blNh/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
gpg: key 40976EAF437D05B5: 60 signatures not checked due to missing keys
gpg: key 40976EAF437D05B5: public key “Ubuntu Archive Automatic Signing Key ftpmaster@ubuntu.com” imported
gpg: Total number processed: 1
gpg: imported: 1
root@ashutosh-Latitude-E7450:/home/ashutosh# python install.py --develop
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://dl.yarnpkg.com/debian stable InRelease
Hit:3 Index of /webupd8team/y-ppa-manager/ubuntu bionic InRelease
Ign:4 Index of /ubuntu precise InRelease
Get:5 Index of /ubuntu precise Release [8,180 B]
Ign:6 http://us.archive.ubuntu.com/ubuntu precise InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable Release
Get:8 Index of /ubuntu precise Release.gpg [181 B]
Err:9 https://apt.dockerproject.org/repo ubuntu-bionic InRelease
403 Forbidden [IP: 13.35.226.110 443]
Ign:10 Index of /ubuntu precise InRelease
Ign:8 Index of /ubuntu precise Release.gpg
Get:12 Index of /mirror/mariadb/repo/10.3/ubuntu/ xenial InRelease [4,626 B]
Get:13 Index of /ubuntu precise Release [11.9 kB]
Hit:14 https://download.sublimetext.com apt/stable/ InRelease
Get:16 Index of /ubuntu precise Release.gpg [72 B]
Ign:16 Index of /ubuntu precise Release.gpg
Hit:17 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Get:20 http://us.archive.ubuntu.com/ubuntu precise Release [49.6 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu precise-security InRelease [55.7 kB]
Err:15 http://us.archive.ubuntu.com/ubuntu precise-security InRelease
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
Get:18 http://us.archive.ubuntu.com/ubuntu precise-updates InRelease [55.7 kB]
Err:18 http://us.archive.ubuntu.com/ubuntu precise-updates InRelease
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
Get:19 http://us.archive.ubuntu.com/ubuntu precise-backports InRelease [55.7 kB]
Err:19 http://us.archive.ubuntu.com/ubuntu precise-backports InRelease
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
Get:21 http://us.archive.ubuntu.com/ubuntu precise Release.gpg [198 B]
Ign:21 http://us.archive.ubuntu.com/ubuntu precise Release.gpg
Reading package lists… Done
E: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-bionic/InRelease 403 Forbidden [IP: 13.35.226.110 443]
E: The repository ‘https://apt.dockerproject.org/repo ubuntu-bionic InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: Index of /ubuntu precise Release: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository ‘Index of /ubuntu precise Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: Index of /ubuntu precise Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
E: The repository ‘Index of /ubuntu precise Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise-security InRelease: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository ‘http://us.archive.ubuntu.com/ubuntu precise-security InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise-updates InRelease: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository ‘http://us.archive.ubuntu.com/ubuntu precise-updates InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise-backports InRelease: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository ‘http://us.archive.ubuntu.com/ubuntu precise-backports InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise Release: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository ‘http://us.archive.ubuntu.com/ubuntu precise Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Traceback (most recent call last):
File “install.py”, line 413, in
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 226, in run_os_command
returncode = subprocess.check_call(command, shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘sudo apt-get update’ returned non-zero exit status 100

I don’t know this offhand, so I am guessing a bit, but this looks like the main problem to me.

Err:9 https://apt.dockerproject.org/repo ubuntu-bionic InRelease
403 Forbidden [IP: 13.35.226.110 443]

This indicates an error in your
/etc/apt/sources.list
file

please check and tell if there is any error

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

Ubuntu Main Repos

deb Index of /ubuntu precise main restricted universe multiverse
deb-src Index of /ubuntu precise main restricted universe multiverse

Ubuntu Update Repos

deb Index of /ubuntu precise-security main restricted universe multiverse
deb Index of /ubuntu precise-updates main restricted universe multiverse
deb Index of /ubuntu precise-backports main restricted universe multiverse
deb-src Index of /ubuntu precise-security main restricted universe multiverse
deb-src Index of /ubuntu precise-updates main restricted universe multiverse
deb-src Index of /ubuntu precise-backports main restricted universe multiverse

Ubuntu Partner Repo

deb Index of /ubuntu precise partner
deb-src Index of /ubuntu precise partner

Ubuntu Extras Repo

deb Index of /ubuntu precise main
deb-src Index of /ubuntu precise main
deb [arch=ppc64el,i386,amd64] Index of /mirror/mariadb/repo/10.3/ubuntu/ xenial main

deb-src [arch=ppc64el,i386,amd64] Index of /mirror/mariadb/repo/10.3/ubuntu/ xenial main

deb https://apt.dockerproject.org/repo/ ubuntu-bionic main

deb-src https://apt.dockerproject.org/repo/ ubuntu-bionic main