I needed to remove "Maven" Installed with binary files and npm. I followed this link: How to install maven on ubuntu

and also npm installed with:

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt update

and reinstall them with them with the version provided by normal apt-get.

I tried to remove with sudo apt-get remove npm sudo apt-get install npm

but now I get "E: Unable to correct problems, you have held broken packages"

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.