installation fails due to broken dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
npm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
`sudo apt-get update && sudo apt-get -f install npm` fails with
Reading package lists... Done
Building dependency tree
Reading state information... Done
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
E: Unable to correct problems, you have held broken packages.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: npm (not installed)
Uname: Linux 4.2.5-040205-
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Wed Nov 18 15:21:24 2015
InstallationDate: Installed on 2015-09-14 (64 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MarkForUpload: True
SourcePackage: npm
SystemImageInfo: Error: command ['system-
UpgradeStatus: Upgraded to wily on 2015-10-23 (26 days ago)
Thanks for taking your time to report this issue.
I wasn't able to reproduce this issue on Ubuntu 15.10, npm installed fine without problems for me. Looks like it has problem finding a version of node-gyp which satisfies the version requirement, could you please attache the output of `apt-cache policy node-gyp`?