Skip to content

Problem: npm dependency fails on Xenial #31

@mamedin

Description

@mamedin

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"]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions