解决ubuntu下error occurred during the signature verification


解决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
 

相关内容

    暂无相关文章