Hi all ,
I am new to ubuntu and frappe , I installed ubuntu 14.04 and started installing frappe as described in GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps , first I ran
wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh
sudo bash setup_frappe.sh . I omitted setup production and didnt install erpnext . setup succesfully installed and I got the passwords . Then I typed this command in the terminal
wget https://raw.githubusercontent.com/frappe/bench/develop/playbooks/install.py
python install.py --develop and got this error message :
TASK [install prequisites] *****************************************************
failed: [localhost] (item=[uâbuild-essentialâ, uâredis-serverâ, uânodejsâ, uânpmâ, uâsoftware-properties-commonâ, uâlibxrender1â, uâlibxext6â, uâxfonts-75dpiâ, uâxfonts-baseâ, uâlibjpeg8-devâ, uâzlib1g-devâ, uâlibfreetype6-devâ, uâliblcms2-devâ, uâlibwebp-devâ, uâpython-tkâ]) => {âcache_update_timeâ: 0, âcache_updatedâ: false, âfailedâ: true, âitemâ: [âbuild-essentialâ, âredis-serverâ, ânodejsâ, ânpmâ, âsoftware-properties-commonâ, âlibxrender1â, âlibxext6â, âxfonts-75dpiâ, âxfonts-baseâ, âlibjpeg8-devâ, âzlib1g-devâ, âlibfreetype6-devâ, âliblcms2-devâ, âlibwebp-devâ, âpython-tkâ], âmsgâ: ââ/usr/bin/apt-get -y -o "Dpkg::Options::=âforce-confdef" -o "Dpkg::Options::=âforce-confold" install ânpmââ failed: E: Unable to correct problems, you have held broken packages.\nâ, âstderrâ: âE: Unable to correct problems, you have held broken packages.\nâ, âstdoutâ: âReading package listsâŠ\nBuilding dependency treeâŠ\nReading state informationâŠ\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n npm : Depends: nodejs but it is not going to be installed\n Depends: node-abbrev (>= 1.0.4) but it is not going to be installed\n Depends: node-ansi but it is not going to be installed\n Depends: node-archy but it is not going to be installed\n Depends: node-block-stream but it is not going to be installed\n Depends: node-fstream (>= 0.1.22) but it is not going to be installed\n Depends: node-fstream-ignore but it is not going to be installed\n Depends: node-github-url-from-git but it is not going to be installed\n Depends: node-glob (>= 3.1.21) but it is not going to be installed\n Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed\n Depends: node-inherits but it is not going to be installed\n Depends: node-ini (>= 1.1.0) but it is not going to be installed\n Depends: node-lockfile but it is not going to be installed\n Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed\n Depends: node-minimatch (>= 0.2.11) but it is not going to be installed\n Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed\n Depends: node-gyp (>= 0.10.9) but it is not going to be installed\n Depends: node-nopt (>= 2.1.1) but it is not going to be installed\n Depends: node-npmlog but it is not going to be installed\n Depends: node-once but it is not going to be installed\n Depends: node-osenv but it is not going to be installed\n Depends: node-read but it is not going to be installed\n Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed\n Depends: node-request (>= 2.25.0) but it is not going to be installed\n Depends: node-retry but it is not going to be installed\n Depends: node-rimraf (>= 2.2.2) but it is not going to be installed\n Depends: node-semver (>= 2.1.0) but it is not going to be installed\n Depends: node-sha but it is not going to be installed\n Depends: node-slide but it is not going to be installed\n Depends: node-tar (>= 0.1.18) but it is not going to be installed\n Depends: node-which but it is not going to be installed\nâ, âstdout_linesâ: [âReading package listsâŠâ, âBuilding dependency treeâŠâ, âReading state informationâŠâ, âSome packages could not be installed. This may mean that you haveâ, ârequested an impossible situation or if you are using the unstableâ, âdistribution that some required packages have not yet been createdâ, âor been moved out of Incoming.â, âThe following information may help to resolve the situation:â, ââ, âThe following packages have unmet dependencies:â, " npm : Depends: nodejs but it is not going to be installed", " Depends: node-abbrev (>= 1.0.4) but it is not going to be installed", " Depends: node-ansi but it is not going to be installed", " Depends: node-archy but it is not going to be installed", " Depends: node-block-stream but it is not going to be installed", " Depends: node-fstream (>= 0.1.22) but it is not going to be installed", " Depends: node-fstream-ignore but it is not going to be installed", " Depends: node-github-url-from-git but it is not going to be installed", " Depends: node-glob (>= 3.1.21) but it is not going to be installed", " Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed", " Depends: node-inherits but it is not going to be installed", " Depends: node-ini (>= 1.1.0) but it is not going to be installed", " Depends: node-lockfile but it is not going to be installed", " Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed", " Depends: node-minimatch (>= 0.2.11) but it is not going to be installed", " Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed", " Depends: node-gyp (>= 0.10.9) but it is not going to be installed", " Depends: node-nopt (>= 2.1.1) but it is not going to be installed", " Depends: node-npmlog but it is not going to be installed", " Depends: node-once but it is not going to be installed", " Depends: node-osenv but it is not going to be installed", " Depends: node-read but it is not going to be installed", " Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed", " Depends: node-request (>= 2.25.0) but it is not going to be installed", " Depends: node-retry but it is not going to be installed", " Depends: node-rimraf (>= 2.2.2) but it is not going to be installed", " Depends: node-semver (>= 2.1.0) but it is not going to be installed", " Depends: node-sha but it is not going to be installed", " Depends: node-slide but it is not going to be installed", " Depends: node-tar (>= 0.1.18) but it is not going to be installed", " Depends: node-which but it is not going to be installed"]}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @develop/install.retry
PLAY RECAP *********************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1
Traceback (most recent call last):
File âinstall.pyâ, line 153, in
install_bench(args)
File âinstall.pyâ, line 58, in install_bench
run_playbook(âdevelop/install.ymlâ, sudo=True)
File âinstall.pyâ, line 131, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(bench_repo, âplaybooksâ))
File â/usr/lib/python2.7/subprocess.pyâ, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command â[âansible-playbookâ, â-câ, âlocalâ, âdevelop/install.ymlâ, â-Kâ]â returned non-zero exit status 2
Please help