I have tried this: sudo apt install nodejs
Getting Error this:
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:
nodejs : Depends: python-minimal but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo
command before your editor. For examplesudo nano /etc/apt/sources.list
orsudo -H gedit /etc/apt/sources.list
– Gryu Mar 30 '20 at 15:29The following packages have unmet dependencies: npm : Depends: nodejs but it is not going to be installed Depends: node-abbrev (>= 1.0.4) but it is not going to be installed Depends: node-ansi (>= 0.3.0-2) but it is not going to be insta Depends: node-rimraf (>= 2.2.2) but it is not going to b.................... E: Unable to correct problems, you have held broken packages.
– Rupesh Kumar Sahu Mar 30 '20 at 15:40