知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

解决ubuntu下error occurred during the signature verification

发布时间:2014-09-05 14:04:33作者:知识屋

解决ubuntu下error occurred during the signature verification
 
在ubuntu 下想安装一个软件(我使用的是163的源),却被告知 file size mismatch.
 
于是更新了package list: 
sudo apt-get update
...
 
...
 
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://security.ubuntu.com lucid-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
 
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://us.archive.ubuntu.com lucid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
 
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://us.archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
 
即使执行:
 
sudo apt-get clean
 
sudo apt-get update
 
还是会有相同的错误。
 
有了解决方案:
 
sudo apt-get clean 
 
cd /var/lib/apt 
 
sudo mv lists lists.old 
 
sudo mkdir -p lists/partial 
 
sudo apt-get clean 
 
sudo apt-get update
 
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜