Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deb-src repository broken / no source artifacts #871

Open
ghost opened this issue Jul 9, 2019 · 6 comments
Open

deb-src repository broken / no source artifacts #871

ghost opened this issue Jul 9, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2019

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
Copy link
Author

ghost commented Jul 9, 2019

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.

@pabs3
Copy link

pabs3 commented Aug 29, 2019

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

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

@JesusPaz
Copy link
Contributor

JesusPaz commented Mar 8, 2022

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

@JesusPaz JesusPaz closed this as completed Mar 8, 2022
@JesusPaz JesusPaz reopened this Mar 9, 2022
@mika
Copy link

mika commented Sep 23, 2022

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
Copy link

mika commented Sep 9, 2024

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/).

FTR, still applies to existing as well as newer nodejs versions like https://deb.nodesource.com/node_20.x, https://deb.nodesource.com/node_21.x + https://deb.nodesource.com/node_22.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants