您的位置:首页 > 其它

sudo apt-get update 或者更新源阿里云源或中科大源错误 解决方法

2019-07-12 17:11 459 查看

参考:https://www.geek-share.com/detail/2550916582.html

说明:

$ 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://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.

 

解决方法:

$ sudo rm -rf /var/lib/apt/lists/*

$ sudo apt-get update

 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: