sudo apt update 错误:“E:在源列表 /etc/apt/sources.list.d/spotify.list 的第 1 行中无法识别类型‘sudo’”

sudo apt update 错误:“E:在源列表 /etc/apt/sources.list.d/spotify.list 的第 1 行中无法识别类型‘sudo’”
$ sudo apt-get update                      
N: Ignoring file 'some-ppa.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'some-ppa.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/spotify.list
E: The list of sources could not be read.

我在安装 Spotify 时使用此命令后开始收到此错误:

sudo rm /etc/apt/sources.list.d/some-ppa.list  

我使用了网站上提供的一些解决方案,但并不适用于我的情况。

以下是我的sources.list

sources.list 的截图

相关内容