![更新时出错(sudo apt update)](https://linux22.com/image/1181118/%E6%9B%B4%E6%96%B0%E6%97%B6%E5%87%BA%E9%94%99%EF%BC%88sudo%20apt%20update%EF%BC%89.png)
Err:17 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 58712A2291FA4AD5
Hit:18 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist InRelease [149 kB]
Err:2 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://swupdate.openvpn.net/community/openvpn3/repos focal InRelease' doesn't support architecture 'i386'
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 58712A2291FA4AD5
E: Failed to fetch http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我正在我的机器上安装 mongodb,在输入时出现这些错误sudo apt update
答案1
我已经解决了,伙计们。软件更新去其他软件正如@AArturMeinild所说我删除了Xenial 仓库 mongo..。因此此后我没有收到任何错误。