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

deb post install script writes to /etc/apt/sources.list.d #85881

Closed
vlijmenfileer opened this issue Dec 1, 2019 · 1 comment
Closed

deb post install script writes to /etc/apt/sources.list.d #85881

vlijmenfileer opened this issue Dec 1, 2019 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) install-update VS Code installation and upgrade system issues

Comments

@vlijmenfileer
Copy link

Issue Type: Bug

After adding a deb source for vscode:
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
in /etc/apt/sources.list.d/microsoft-vscode.list
the deb post install script writes its own variant of that file under its own name.

See:
https://github.com/microsoft/vscode/blob/master/resources/linux/debian/postinst.template

I'm not sure if it is a bug in the sense that it goes against Debian packaging rules, but applications secretly dropping their own package sources in one of the most fundamental OS configuration places sure is a breach of trust at the very least. Managing /etc/apt is the administrator's job, not that of a random package maintainer.

VS Code version: Code 1.40.2 (f359dd6, 2019-11-25T14:54:40.719Z)
OS version: Linux x64 5.2.0-0.bpo.3-amd64

System Info
Item Value
CPUs Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (4 x 2993)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 4, 2, 2
Memory (System) 7.75GB (0.12GB free)
Process Argv --no-sandbox --unity-launch
Screen Reader no
VM 0%
Extensions (7)
Extension Author (truncated) Version
project-manager ale 10.9.1
vscode-markdownlint Dav 0.32.0
vscode-azurestorage ms- 0.7.2
azure-account ms- 0.8.7
powershell ms- 2019.11.0
azurerm-vscode-tools msa 0.8.2
vscode-yaml red 0.6.1
@vscodebot vscodebot bot added the install-update VS Code installation and upgrade system issues label Dec 1, 2019
@joaomoreno joaomoreno assigned Tyriar and unassigned joaomoreno Dec 2, 2019
@Tyriar
Copy link
Member

Tyriar commented Dec 2, 2019

/duplicate #22145

That was open for 2 years and no one seemed to care enough to contribute, I'd still accept a PR for it though.

@Tyriar Tyriar closed this as completed Dec 2, 2019
@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 2, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 16, 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) install-update VS Code installation and upgrade system issues
Projects
None yet
Development

No branches or pull requests

3 participants