microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.64k stars 29.05k forks source link

Package Repository Banned - Insecure #134110

Closed DaveBolt closed 3 years ago

DaveBolt commented 3 years ago

Issue Type: Bug

Ubuntu, but probably any Linux, Code installed using Snap. Running apt update returns errors. E: Failed to fetch http://packages.microsoft.com/repos/code/dists/stable/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'http://packages.microsoft.com/repos/code stable InRelease' is no longer signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Obviously, http is not secure. The address should possibly be https, although other repositories being checked are also http and do not give an error. Don't know why updating is returning an error today. It was fine yesterday. Also don't know what this Clearsigned File is about.

VS Code version: Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e, 2021-09-22T12:01:43.795Z) OS version: Linux x64 4.15.0-159-generic Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (3 x 4007)| |GPU Status|2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: disabled_off
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software| |Load (avg)|1, 1, 0| |Memory (System)|11.73GB (6.59GB free)| |Process Argv|--unity-launch --crash-reporter-id f0b5f7a7-a0c7-4ce5-82a4-eff531d2e38a| |Screen Reader|no| |VM|100%| |DESKTOP_SESSION|ubuntu-wayland| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu-wayland| |XDG_SESSION_TYPE|wayland|
Extensions (23) Extension|Author (truncated)|Version ---|---|--- pgformatter|bra|1.17.0 npm-intellisense|chr|1.4.0 gitlens|eam|11.6.0 php-debug|fel|1.19.0 php-intellisense|fel|2.3.14 git-extensions-for-vs-code|for|1.1.3 vscode-phpfmt|kok|1.0.30 git-graph|mhu|1.30.0 code-beautifier|mic|2.3.3 vscode-docker|ms-|1.17.0 python|ms-|2021.9.1246542782 vscode-pylance|ms-|2021.9.3 jupyter|ms-|2021.8.2041215044 jupyter-keymap|ms-|1.0.0 remote-containers|ms-|0.194.3 vscode-typescript-tslint-plugin|ms-|1.3.3 php-docblocker|nei|2.6.0 vscode-print|pdc|0.9.14 vscode-commons|red|0.0.6 vscode-xml|red|0.18.0 code-settings-sync|Sha|3.4.3 vscode-scss-formatter|sib|2.2.4 refactor-css|urb|0.4.2
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 pythonvspyt602:30300191 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30300192 pythontb:30283811 pythonvspyt551cf:30345471 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 pythonvsuse255:30340121 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 vsccppwt:30364497 pythonvssor306:30344512 bridge0708:30335490 pygetstartedt2:30371810 dockerwalkthrucf:30370837 bridge0723:30353136 pythonrunftest32:30373476 pythonf5test824:30373475 javagetstartedt:30364666 pythonvspyt187:30373474 pydsgsc2:30361791 vsqsis400:30374798 ```
stujonesuk commented 3 years ago

/duplicate of #134097

gjsjohnmurray commented 3 years ago

/duplicate indeed