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

apt.add_source keeps adding lines #445

Closed
willirath opened this issue Oct 10, 2019 · 0 comments · Fixed by #449
Closed

apt.add_source keeps adding lines #445

willirath opened this issue Oct 10, 2019 · 0 comments · Fixed by #449
Labels
bug Something isn't working

Comments

@willirath
Copy link
Collaborator

On one of my Ubuntu deployments, I've found a /etc/apt/sources.list.d/nodesource.list containing the following:

deb https://deb.nodesource.com/node_10.x bionic maindeb https://deb.nodesource.com/node_10.x bionic maindeb https://deb.nodesource.com/node_10.x bionic maindeb https://deb.nodesource.com/node_10.x bionic maindeb https://deb.nodesource.com/node_10.x bionic maindeb https://deb.nodesource.com/node_10.x bionic maindeb https://deb.nodesource.com/node_10.x bionic maindeb https://deb.nodesource.com/node_10.x bionic maindeb https://deb.nodesource.com/node_10.x bionic main

If I remember rightly, we had connectivity problems when setting up the machine, and re-ran the TLJH setup multiple times. My understanding of https://github.com/jupyterhub/the-littlest-jupyterhub/blob/master/tljh/apt.py#L21_L36 is that it should prevent adding the source if it's already contained. But it does seem to fail at that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants