I installed all the dependencies , and tried to do script install on my new 16.04 .
- sudo apt-get update
- sudo apt-get upgrade
- sudo adduser frappe
- sudo usermod -aG sudo frappe
- sudo nano /etc/resolv.conf
- sudo apt-get install python-minimal && python -V # was 2.7.12+
- wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
- sudo python install.py --develop
got the following error when tried to do sudo python install.py --develop
reading package lists… Done
W: The repository ‘cdrom://Ubuntu 16.04.3 LTS Xenial Xerus - Release amd64 (20170801) 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 cdrom://Ubuntu 16.04.3 LTS Xenial Xerus - Release amd64 (20170801)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
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 386, 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 220, 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
there is no similar error i got in forum,
please help.
Thanks