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

vscode.list is always added on Debian #108203

Closed
nkiesel opened this issue Oct 6, 2020 · 1 comment
Closed

vscode.list is always added on Debian #108203

nkiesel opened this issue Oct 6, 2020 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@nkiesel
Copy link

nkiesel commented Oct 6, 2020

  • VSCode Version: 1.49.3-1601661857
  • OS Version: Debian bullseye/sid

I found multiple similar issues but all were closed, so opening a new one. The problem is that code.postinst unconditionally adds /etc/apt/sources.list.d/vscode.list unless it is not there. I renamed this file to establish a stable order of repos (to resolve cases where multiple repos have the same package), and then also switched to the new ".sources" format. This results in duplicate entries for vscode whenever a new version of vscode is released (and thus code.postinst is executed).

One (hopefully easy) way out would be to add a flag which controls whether code.postinst runs this code or not.

Does this issue occur when all extensions are disabled?: Yes

@Tyriar
Copy link
Member

Tyriar commented Nov 4, 2020

/duplicate #22145

@Tyriar Tyriar closed this as completed Nov 4, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2020
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
@nkiesel @Tyriar and others