我在 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