当我尝试运行更新列表命令以更正顶部栏上的红色减号时出现此错误:
$ sudo apt-get update
E: Type' !DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/playonlinux.list
E: The list of sources could not be read.
请解决一下??
答案1
该文件/etc/apt/sources.list.d/playonlinux.list
包含 HTML,而不是正确的源列表条目。请将其删除:
sudo rm /etc/apt/sources.list.d/playonlinux.list