关于apt-get update时遇到签名错误的解决方案, [debian][ubuntu][apt] |
关于apt-get update时遇到签名错误的解决方案, [debian][ubuntu][apt] |
2010-07-14 21:42:41, Wed
Post
#1
|
|
猫猫猫 Group: Power Cat Posts: 626 Joined: 2006-12-8 Member No.: 2 |
比如安装 VirtualBox 时出现
代码 A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://download.virtualbox.org karmic Release: The following signatures were invalid: BADSIG 54422A4B98AB5139 Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org> 这是因为软件索引数据库出错导致的,解决方式如下: 代码 apt-get clean cd /var/lib/apt mv lists lists.old mkdir -p lists/partial apt-get clean apt-get update 注意可能需要视情况添加 sudo 等前缀命令 成功后即可 rm -rf /var/lib/apt/list.old 了 |
|
|
Lo-Fi Version | Time is now: 2024-12-25 01:44 |