Sitelet https://github.com/nodesource/distributions/issues/871
Skip to content

deb-src repository broken / no source artifacts #871

Description

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.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions