列表中条目 1 格式错误

列表中条目 1 格式错误

当我sudo apt upgrade在终端中运行时,收到以下消息:

E: Malformed entry 1 in list file /etc/apt/sources.list.d/vscode.list (URI)

E: The list of sources could not be read.

E: Malformed entry 1 in list file /etc/apt/sources.list.d/vscode.list (URI)

E: The list of sources could not be read.

当我这样做的时候 cat /etc/apt/sources.list.d/vscode.list

它打印这个

deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg]
https://packages.microsoft.com/repos/code stable main

哪里有问题?

相关内容