apt sources.list 中的文件扩展名无效

loo*_*cal 0 apt software-sources

N: Ignoring file 'yandex-browser.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'yandex-browser.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type 'andex.ru/yandex-browser/deb' is not known on line 1 in source list /etc/apt/sources.list.d/yandex-browser.list
E: The list of sources could not be read.
Run Code Online (Sandbox Code Playgroud)

我怎样才能解决这个问题?

Pil*_*ot6 5

在终端运行

sudo rm /etc/apt/sources.list.d/yandex-browser*
Run Code Online (Sandbox Code Playgroud)

问题应该得到解决。

某些脚本或您在安装 Yandex 浏览器时损坏了某些 source.list 文件。