MoHassan
By:
MoHassan

problem installing ERPNExt on Ubuntu 14.04 droplet

August 20, 2016 916 views
DigitalOcean MariaDB Python Frameworks Ubuntu

Please can any one help, never got ERPNext to install on ubuntu droplet, here is the part where it falls over
TASK [apt-get install] *********************************************************
failed: [localhost] (item=[u'mariadb-server', u'mariadb-client', u'mariadb-common', u'libmariadbclient-dev']) => {"cacheupdatetime": 1471693137, "cacheupdated": true, "failed": true, "item": ["mariadb-server", "mariadb-client", "mariadb-common", "libmariadbclient-dev"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'mariadb-client' 'libmariadbclient-dev'' 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 mariadb-client : Depends: mariadb-client-10.1 (= 10.1.16+maria-1~trusty) but it is not going to be installed\n", "stdoutlines": ["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:", " mariadb-client : Depends: mariadb-client-10.1 (= 10.1.16+maria-1~trusty) but it is not going to be installed"]}
to retry, use: --limit @production/install.retry

PLAY RECAP *********************************************************************
localhost : ok=13 changed=2 unreachable=0 failed=1

Traceback (most recent call last):
File "/tmp/bench-repo/playbooks/install.py", line 342, in <module>
installbench(args)
File "/tmp/bench-repo/playbooks/install.py", line 111, in install
bench
runplaybook('production/install.yml', sudo=True, extravars=extravars)
File "/tmp/bench-repo/playbooks/install.py", line 292, in run
playbook
success = subprocess.checkcall(args, cwd=os.path.join(cwd, 'playbooks'))
File "/usr/lib/python2.7/subprocess.py", line 540, in check
call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'production/install.yml', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=frappe']' returned non-zero exit status 2

1 comment
  • Can you share the exact command you are running when this error occurs and the process you followed up to this point to get ERPNExt installed on your droplet? Are you following a guide or some documentation?

Be the first one to answer this question.