getting-power-or-powder
April 19th, 2020, 05:16 PM
I have used this commands and have errors, i don't know what to do...
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
You can inspect the contents of this script with nano (or your preferred text editor):
nano nodesource_setup.sh
Run the script under sudo:
sudo bash nodesource_setup.sh
The PPA will be added to your configuration and your local package cache will be updated automatically. After running the setup script from Nodesource, you can install the Node.js package in the same way you did above:
sudo apt install nodejs
How to fix this problem?
use@closect:~$ sudo apt-get install nodejs
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 installable
E: Unable to correct problems, you have held broken packages.
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
You can inspect the contents of this script with nano (or your preferred text editor):
nano nodesource_setup.sh
Run the script under sudo:
sudo bash nodesource_setup.sh
The PPA will be added to your configuration and your local package cache will be updated automatically. After running the setup script from Nodesource, you can install the Node.js package in the same way you did above:
sudo apt install nodejs
How to fix this problem?
use@closect:~$ sudo apt-get install nodejs
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 installable
E: Unable to correct problems, you have held broken packages.