更新 - 没有发布文件,签名密钥弱

更新 - 没有发布文件,签名密钥弱

apt-get update在 ubuntu server 16.04 上运行后出现此错误:

W: The repository 'http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.0 Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://packages.elastic.co/elasticsearch/1.7/debian/dists/stable/Release.gpg: Signature by key 46095ACC8568582C1A2699B9D27D666CD88E42B4 uses weak digest algorithm (SHA1)
E: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.0/multiverse/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

我见过类似的重复内容,但是它们与 PPA 有关,通过删除包并apt-get remove不能解决问题。

elasticsearch 的签名密钥也比较弱,我该怎么办?

我为 graylog 安装了 mongodb 和 elasticsearch,遇到了一些问题,于是决定卸载它们并从头开始。

感谢您的帮助!

更新:mongodb-org 未安装。我点击了链接,但找不到 3.0 版本:http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/

我怎样才能删除获取该包的指令?

答案1

解决了。

我必须手动mongodb-org-3.0.list删除/etc/apt/sources.list.d/

希望服务器不会崩溃。

相关内容