distributions icon indicating copy to clipboard operation
distributions copied to clipboard

nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u2 is to be installed

Open migabc opened this issue 4 years ago • 1 comments

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?

migabc avatar Nov 01 '20 12:11 migabc

+1

eswenson1 avatar Jun 01 '21 17:06 eswenson1

this is a Node.js dependency, you should upgrade to use it.

JesusPaz avatar Jan 03 '23 16:01 JesusPaz