尝试升级测试/扩展 Debian Linux:
$ sudo apt 更新 Ign:1 http://dl.google.com/linux/talkplugin/deb 稳定 InRelease 点击:2 http://dl.google.com/linux/talkplugin/deb 稳定版本 ... 获取:25 http://mirror.vorboss.net/debian不稳定/main i386软件包2016-03-25-1456.28.pdiff [15.0 kB] 7 秒内获取 686 kB (89.5 kB/s) 正在阅读包裹清单...完成 W:gpgv:/var/lib/apt/lists/dl.google.com_linux_talkplugin_deb_dists_stable_Release.gpg:存储库未由密钥4CCA1EAF950CEE4AB83976DCA040830F7FAC5991充分签名(弱摘要) W:gpgv:/var/lib/apt/lists/deb.opera.com_opera_dists_stable_InRelease:存储库未由密钥419D0ACF314E8E993F7F92E563F7D4AFF6D61D45充分签名(弱摘要) W:无法获取 http://dl.google.com/linux/talkplugin/deb/dists/stable/Release 发布文件 /var/lib/apt/lists/dl.google.com_linux_talkplugin_deb_dists_stable_Release 中没有哈希条目,这被认为是出于安全目的足够强大 E: 部分索引文件下载失败。它们已被忽略,或使用旧的。
怎么了?如何修复它?
答案1
首先,尽管最后一行以E:
(表示错误)开头,但apt
并没有完全失败;它下载了大部分更新的软件包列表,只跳过了 Opera 和 Google Talk 插件的软件包列表。因此apt upgrade
仍然应该提供升级所有其他软件包。
这些警告会告诉您出现了什么问题:
W: gpgv:/var/lib/apt/lists/dl.google.com_linux_talkplugin_deb_dists_stable_Release.gpg: The repository is insufficiently signed by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 (weak digest)
W: gpgv:/var/lib/apt/lists/deb.opera.com_opera_dists_stable_InRelease: The repository is insufficiently signed by key 419D0ACF314E8E993F7F92E563F7D4AFF6D61D45 (weak digest)
W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release No Hash entry in Release file /var/lib/apt/lists/dl.google.com_linux_talkplugin_deb_dists_stable_Release, which is considered strong enough for security purposes
前两个意味着存储库描述符是使用旧的摘要算法进行签名的,该算法apt
现在有所抱怨。第三个原因是由于apt
最近仅切换到 SHA-256 或 SHA-512 哈希值; Talk 插件存储库仅提供 MD5 和 SHA-1 哈希值,这些哈希值现在被apt
.
要解决此问题,您可以暂时删除存储库,或者等待 Opera 和 Google 修复它们...