Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ansible fails all subsequent runs on Raspbian Stretch: Sugarizer "npm : Depends: node-gyp (>= 0.10.9)" #193

@holta

Description

@holta

./runansible ran to completion using http://download.iiab.io/6.4/rpi/load-vpn.txt on Raspbian Stretch Lite on RPi3 (master, about 12 hours ago...after runansible immediately rebooted, I ran "cd /opt/iiab/iiab; ./runansible" continuing the load-vpn.txt script from there).

Sugarizer's main page http://box/sugarizer loaded correctly during spot testing.

But then all 3 subsequent runs of "./runansible" or "./runtags sugarizer" failed as follows:

TASK [sugarizer : Actually get it installed] ***********************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["apt", "install", "-y", "npm"], "delta": "0:00:02.159470", "end": "2017-09-02 12:28:13.043157", "failed": true, "rc": 100, "start": "2017-09-02 12:28:10.883687", "stderr": "\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n\nE: 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 npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed", "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: node-gyp (>= 0.10.9) but it is not going to be installed"], "warnings": []}
to retry, use: --limit @/opt/iiab/iiab/iiab.retry

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions