Get:16 http://packages.microsoft.com/repos/code stable InRelease [9,890 B]
Err:16 http://packages.microsoft.com/repos/code stable InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Hit:17 https://packages.microsoft.com/repos/ms-teams stable InRelease
Reading package lists... Done
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.
this happens on a fully updated Ubuntu 20.04 where the normal system update commands ran OK yesterday
apt update
on Linux Mint 20.2 Uma. – TheJeed Sep 29 '21 at 11:24sudo vi /etc/apt/sources.list.d/vscode.list
and then comment out the only active line in that file ... btw this was fine yesterday ... no none of the suggestions helped as referenced in link in above comment – Scott Stensland Sep 29 '21 at 12:27