Score:0

Not able to install npm, Unable to correct problems, you have held broken packages. 20.04

us flag

Hi all I am trying to install npm after having installed nodejs but it gave me the following error "E: Unable to correct problems, you have held broken packages." . If I install singularly npm I get the list of broken packages but when i use which I am not able to find nothing enter image description here

guiverc avatar
cn flag
You've not provided any OS & release details which provide useful details; so we're somewhat limited & have to base on what you provided; ie. `node-gyp | 3.6.2-1ubuntu1 | bionic/universe | source, all` but without your release details we can't know how it fully relates...
us flag
Can you run `sudo apt update` and try again?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.