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

Prevent adding a new source in sources.list.d #24042

Closed
mprobst opened this issue Apr 6, 2017 · 2 comments
Closed

Prevent adding a new source in sources.list.d #24042

mprobst opened this issue Apr 6, 2017 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@mprobst
Copy link

mprobst commented Apr 6, 2017

Steps to Reproduce:

  1. Install VS Code from a local repository mirror
  2. VS Code automatically updates /etc/apt/sources.list.d/vscode.list
  3. My distribution prevents downloads from "foreign" debian repositories for security reasons, and complains about this

It'd be nice if we could somehow avoid adding that repo, in particular as the .deb in this case already comes from that repo.

@evmar
Copy link

evmar commented Apr 9, 2017

Google Chrome uses a similar "add yourself to apt" scheme as VSCode, but has some environment variable you can set to opt out of it. But now that I mention this I cannot find any documentation for it so maybe it's not so great. ;)

@Tyriar
Copy link
Member

Tyriar commented Apr 19, 2017

Duplicate #22145, see proposed solution in #22145 (comment)

In the meantime, vscode.list isn't touched if the file exists. You could put an empty file there to prevent the file write.

@Tyriar Tyriar closed this as completed Apr 19, 2017
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Apr 19, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants