VSCodeN:跳过配置文件“main/binary-arm64/Packages”的获取
我正在运行 POP OS 20.04 并且已经安装/卸载了 VS 代码。当我运行时sudo apt-get update
,我得到:
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://packages.microsoft.com/repos/vscode stable InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://packages.microsoft.com/repos/vscode stable InRelease' doesn't support architecture 'armhf'
回答
对于 Ubuntu,编辑:/etc/apt/sources.list.d/vscode.list。从括号之间删除任何不需要的架构,它应该像这样结束:
deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
THE END
二维码