Question : unable to correct problems you have held broken packages npm
Answered by : xsynergyx
# If you are getting unmet dependency issues this may help
# I got this issue while trying to install npm
sudo apt-get install aptitude
sudo aptitude install <package name>
Source : https://stackoverflow.com/questions/26571326/how-do-i-resolve-the-following-packages-have-unmet-dependencies | Last Update : Sun, 10 Oct 21
Question : E: Unable to correct problems, you have held broken packages.
Answered by : you
sudo apt update
sudo apt install -f
sudo apt upgrade
sudo dpkg --configure -a
sudo apt-get install -f
Source : | Last Update : Tue, 19 Sep 23
Question : how to fix Unable to correct problems, you have held broken packages npm ubuntu
Answered by : kian-azizmohammadi
sudo apt install libssl1.0-dev
sudo apt install nodejs-dev
sudo apt install node-gyp
sudo apt install npm
Source : https://askubuntu.com/questions/899756/cant-install-npm-unable-to-correct-problems-you-have-held-broken-packages | Last Update : Mon, 18 Jul 22