Answers for "sudo apt install npm "E: Unable to correct problems, you have held broken packages.""

0

Unable to correct problems, you have held broken packages.

sudo apt-get install -f
sudo dpkg --configure -a
Posted by: Guest on November-24-2020
1

Unable to correct problems, you have held broken packages

$ sudo dpkg --list

then look for a package with the name of the one you're trying to install
eg mysql and purge them by name. I repeat by name. 

$sudo apt-get purge <package name>
Posted by: Guest on December-04-2020
0

unable to correct problems you have held broken packages npm

# 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>
Posted by: Guest on October-03-2021

Code answers related to "sudo apt install npm "E: Unable to correct problems, you have held broken packages.""

Browse Popular Code Answers by Language