vscode: .deb Linux repos changed Origin and Label fields, triggering update errors
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.84.2-1699528352
- OS Version: Ubuntu 23.10
Steps to Reproduce:
- have
packages.microsoft.com/repos/code
added to a list of apt repos - run
sudo apt update
- see warning messages (coming from contents of InRelease file):
Get:7 https://packages.microsoft.com/repos/code stable InRelease [3,533 B]
E: Repository 'https://packages.microsoft.com/repos/code stable InRelease' changed its 'Origin' value from 'code stable' to 'Pulp 3'
E: Repository 'https://packages.microsoft.com/repos/code stable InRelease' changed its 'Label' value from 'code stable' to ''
Are these changes intentional or the package server has been misconfigured?
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Reactions: 64
- Comments: 15 (2 by maintainers)
apt remove code
remove sources
go code oss!
https://appimage.github.io/Code_OSS/
Same here, I’m reluctant to accept the changes until confirmation
Thanks for the bug report. We’re working to fix this issue. Updates are being tracked here: https://github.com/microsoft/linux-package-repositories/issues/96
Yes, I would also appreciate very much some clarification on this chance from the official VS Code team. For now it looks as if this could be a malicious change by someone from outside of the team.
FYI, this should be fixed now.
This change also means users can’t update using Ubuntu’s inbuilt updating application which just shows a generic error that says “Failed to download repository information” with no explanation, and tells you to check your internet connection.
The only way to see what has happened is to use
apt update
in the terminal where you can accept the change (which is not something I am happy to do and I have avoided).InRelease is changing to and fro: