distributions icon indicating copy to clipboard operation
distributions copied to clipboard

deb-src repository broken / no source artifacts

Open ghost opened this issue 5 years ago • 6 comments

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.

ghost avatar Jul 09 '19 08:07 ghost

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.

ghost avatar Jul 09 '19 09:07 ghost

There are also no .dsc or tar.gz files in the pool directory:

https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/

pabs3 avatar Aug 29 '19 04:08 pabs3

At this time we no longer support Node.js version 10. We recommend installing one of the currently supported versions.

JesusPaz avatar Mar 08 '22 14:03 JesusPaz

@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/

pabs3 avatar Mar 09 '22 01:03 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/).

mika avatar Sep 23 '22 11:09 mika