distributions: Unable to install nodejs on Debian and Ubuntu
I am unable to install NodeJS 12 on Debian buster due to unmet dependencies. The specific error is nodejs : Depends: libgcc-s1 (>= 3.4) but it is not installable
.
Steps to replicate:
$ docker run debian:buster-slim bash -c 'apt-get update && apt-get -y install curl && curl -fsSL https://deb.nodesource.com/setup_12.x | bash - && apt-get -y install nodejs'
...
## Confirming "buster" is supported...
...
The following packages have unmet dependencies:
nodejs : Depends: libgcc-s1 (>= 3.4) but it is not installable
E: Unable to correct problems, you have held broken packages.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 32
- Comments: 19 (3 by maintainers)
We are actively working on solving this issue, as soon as it has been fixed it will be reported here.
We have detected the source of the problem and this issue has been fixed.
Unfortunately still failing for me.
Hello! Thank you all for fixing yesterday. I am also still experiencing the checksum failure:
Same underlying issue but I want to point out that this additionally breaks for both
ubuntu:xenial
andubuntu:bionic
which up to today both built fine.I can confirm that it resolved itself! Thanks @igsu.
Still have an issue on CircleCI with :
I get a similar error but it says
Mirror sync in progress
in theFailed to fetch...
line. Hopefully it will resolve itself in a bit.Thanks for the prompt fix, it was breaking Tugboat builds for our customers… Closing the issue. Oh, and here’s a goat for your troubles. 🐐
Based on this other topic: https://github.com/nodesource/distributions/issues/33
We found a temp workaround by pinning to the previous version. We’re using docker w/ Ubuntu & Node 14, so added with this: