当我输入时sudo apt-get update
,出现此错误:
$ sudo apt-get update
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Type '' is not known on line 3 in source list /etc/apt/sources.list.d/libdvdcss.list
E: The list of sources could not be read.
答案1
将文件移动getdeb.list.bck
至另一位置。
sudo mv /etc/apt/sources.list.d/getdeb.list.bck ~/Desktop
然后''
从文件/etc/apt/sources.list.d/libdvdcss.list
第 3 行中删除。
您可以通过sudo -H nautilus
命令执行此操作。最后运行sudo apt-get update
以更新所有存储库。