distributions
distributions copied to clipboard
nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u2 is to be installed
Hi,
I'm trying to upgrade from node 11 and I'm getting this error
pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash - . . .
pi@raspberrypi:~ $ sudo apt-get install -y 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: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u2 is to be installed E: Unable to correct problems, you have held broken packages. pi@raspberrypi:~ $
This error happens on all node versions >= 12
How can I solve this?
+1
this is a Node.js dependency, you should upgrade to use it.