Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: npm dependency fails on Xenial #31

Open
mamedin opened this issue Apr 22, 2019 · 1 comment
Open

Problem: npm dependency fails on Xenial #31

mamedin opened this issue Apr 22, 2019 · 1 comment

Comments

@mamedin
Copy link
Contributor

mamedin commented Apr 22, 2019

When deploying AtoM 2.4.1 on Xenial I got this error:

TASK [external-roles/artefactual-atom : Install AtoM dependencies] ************************************************************************************************************************************************
failed: [mamedin-xenial-atom] (item=[u'imagemagick', u'ghostscript', u'poppler-utils', u'ffmpeg', u'git', u'nodejs', u'npm', u'make', u'python-pip', u'python-setuptools']) => {"cache_update_time": 1555434255, "cache_updated": false, "failed": true, "item": ["imagemagick", "ghostscript", "poppler-utils", "ffmpeg", "git", "nodejs", "npm", "make", "python-pip", "python-setuptools"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'imagemagick' 'ghostscript' 'poppler-utils' 'ffmpeg' 'nodejs' 'npm' 'make' 'python-pip' 'python-setuptools'' failed: E: Unable to correct problems, you have held broken packages.\n", "stderr": "E: Unable to correct problems, you have held broken packages.\n", "stderr_lines": ["E: Unable to correct problems, you have held broken packages."], "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 nodejs : Conflicts: npm\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:", " nodejs : Conflicts: npm"]}
@mamedin
Copy link
Contributor Author

mamedin commented Apr 22, 2019

Removing the npm dependency for Xenial fixes the issue:

https://github.com/artefactual-labs/ansible-atom/blob/master/tasks/deps.yml#L38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant