deb post install script writes to /etc/apt/sources.list.d #85881
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
install-update
VS Code installation and upgrade system issues
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
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
Extensions (7)
The text was updated successfully, but these errors were encountered: