apt sources.list中的文件扩展名无效
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.
我怎样才能解决这个问题?
在终端运行
sudo rm /etc/apt/sources.list.d/yandex-browser*
问题应该解决。
某些脚本或您在安装Yandex浏览器时损坏了一些sources.list文件。