Hey,
it seems that the deb-src repository, added by calling
curl -sL https://deb.nodesource.com/setup_10.x | bash -,
doesn't contain source artifacts / is broken. After a successful nodejs installation with the command above I tried to call apt-get source nodejs and got the error E: You must put some 'source' URIs in your sources.list
I need the source code of the package to do a node-gyp rebuild in environments which don't have internet access.
The bug occurs on ubuntu bionic. I didn't test other versions yet.
I wrote a Dockerfile which demonstrates the issue:
FROM ubuntu:bionic
RUN apt-get update && \
apt-get -y install curl && \
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get install -y nodejs && \
apt-get update && \
echo "grepping for deb-src without # to ensure that it's activated" && \
grep -E ^deb-src /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get source nodejs
You can just call docker build on that to reproduce the error.
Hey,
it seems that the deb-src repository, added by calling
curl -sL https://deb.nodesource.com/setup_10.x | bash -,doesn't contain source artifacts / is broken. After a successful nodejs installation with the command above I tried to call
apt-get source nodejsand got the errorE: You must put some 'source' URIs in your sources.listI need the source code of the package to do a node-gyp rebuild in environments which don't have internet access.
The bug occurs on ubuntu bionic. I didn't test other versions yet.
I wrote a Dockerfile which demonstrates the issue:
You can just call docker build on that to reproduce the error.