Skip to content

Install Node.js fails, "Could not fetch updated apt files" #37

Description

@tyleha

Installing on Ubuntu 14.04, I get

TASK [nodesource.node : Install Node.js] ***************************************
fatal: [CCAP4]: FAILED! => {"changed": false, "failed": true, "msg": "Could not fetch updated apt files"}

on the last task. I can install node via the command line fine at this stage using apt-get install nodejs. Using -vvv produces

fatal: [CCAP4]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "only_upgrade": false, "package": ["nodejs"], "pkg": ["nodejs"], "purge": false, "state": "present", "update_cache": true, "upgrade": null}, "module_name": "apt"}, "msg": "Could not fetch updated apt files"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions