Skip to content

Wrong package installed with default repo on Ubuntu 16.04 LTS #171

@AlexeyDemidov

Description

@AlexeyDemidov

When installing from packages on Ubuntu 16.04 LTS with default repo we get nodejs-4.2.6~dfsg-1ubuntu4.1 package from Ubuntu repo instead of deb.nodesource.com. The apt-cache policy nodejs output:

nodejs:
  Installed: (none)
  Candidate: 4.2.6~dfsg-1ubuntu4.1
  Version table:
     4.2.6~dfsg-1ubuntu4.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
     4.2.6~dfsg-1ubuntu4 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
     0.10.46-1nodesource1~xenial1 500
        500 https://deb.nodesource.com/node xenial/main amd64 Packages

The fix is to set node['nodejs']['repo'] = 'https://deb.nodesource.com/node_6.x' (default repo is https://deb.nodesource.com/node)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: LowIs a nice to have, not an essential

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions