![正在读取软件包列表...错误!GPG 错误和 Mergelist 问题](https://linux22.com/image/1131491/%E6%AD%A3%E5%9C%A8%E8%AF%BB%E5%8F%96%E8%BD%AF%E4%BB%B6%E5%8C%85%E5%88%97%E8%A1%A8...%E9%94%99%E8%AF%AF%EF%BC%81GPG%20%E9%94%99%E8%AF%AF%E5%92%8C%20Mergelist%20%E9%97%AE%E9%A2%98%20.png)
我在 Ubuntu 14.04 中升级软件包时遇到问题。我重试了几次,但问题仍然存在,并且消息说我应该向开发人员报告
以下是我的错误
Reading package lists... Error!
W: GPG error: http://archive.ubuntu.com trusty Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
我该如何修复这个问题?
答案1
清理你的 apt-get 缓存:
sudo apt-get clean
创建一个新的 apt-get 软件包列表
cd /var/lib/apt
sudo mv lists lists.orig
sudo mkdir -p lists/partial
更新您的来源列表
sudo apt-get update