I have this issue in the Ubuntu Core "classic" app on the snapdragon
(classic)liu-xiao-guo@localhost:~$ sudo apt install npm
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.
** Changed in: npm (Ubuntu)
Status: Expired => New
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
installation fails due to broken dependencies
To manage notifications about this bug go to:
ubuntu-bugs mailing list