distributions
distributions copied to clipboard
deb-src repository broken / no source artifacts
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.
Just checked the Sources Indices
https://deb.nodesource.com/node_10.x/dists/disco/main/source/Sources.gz is empty, so there doesn't seem to be any deployed source package.
There are also no .dsc or tar.gz files in the pool directory:
https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/
At this time we no longer support Node.js version 10. We recommend installing one of the currently supported versions.
@JesusPaz please reopen, the same issue applies to Node.js 12 to 17:
https://deb.nodesource.com/node_12.x/pool/main/n/nodejs/ https://deb.nodesource.com/node_13.x/pool/main/n/nodejs/ https://deb.nodesource.com/node_14.x/pool/main/n/nodejs/ https://deb.nodesource.com/node_15.x/pool/main/n/nodejs/ https://deb.nodesource.com/node_16.x/pool/main/n/nodejs/ https://deb.nodesource.com/node_17.x/pool/main/n/nodejs/
-- bye, pabs
https://bonedaddy.net/pabs3/
This is also still valid for https://deb.nodesource.com/node_18.x/pool/main/n/nodejs/, there sadly are no source files available (like *.orig.tar.gz
, *.debian.tar.xz
+ *.dsc
), would be great to have them available, so e.g. apt-get source nodejs
+ dget $URL_TO.dsc
work (the setup script even installs the deb-src
apt sources.list configuration, which isn't working though currently), as it used to be for older versions (like https://deb.nodesource.com/node_8.x/pool/main/n/nodejs/).