sudo apt update 在 ubuntu 中不工作。 我收到此错误 E: Type 'gpg' is not known on line 1 in source list /etc/apt/sources.list.d/yarn.list E: 无法读取来源列表。当我运行 sudo apt update 命令时。
我想要解决方案 E: Type 'gpg' is not known on line 1 in source list /etc/apt/sources.list.d/yarn.list E:由于这个错误无法读取源列表。
你可以试试这个命令来解决你的问题--
sudo rm /etc/apt/sources.list.d/yarn.list