尝试更新软件包时出现 Clearsigned 文件错误

尝试更新软件包时出现 Clearsigned 文件错误

当我运行时apt update出现以下错误:

E: Clearsigned file '/var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_focal-updates_InRelease' contains unsigned lines.
E: The package lists or status file could not be parsed or opened.

您能建议我如何解决这个问题吗?

答案1

删除有问题的列表

sudo rm -r /var/lib/apt/lists/*

然后重试

sudo apt update

相关内容