nodesource / nodesource/distributions
deb-src repository broken / no source artifacts
@JesusPaz is already working on this.
Since Feb 9, 2022.
- Dominant language
- Shell
- Stars
- 13.8k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.