如何解决Linux上Mongodb中的错误?

时间:2020-01-10 18:21:35

标签: mongodb

我在Linux mogodb上安装了它,并且可以正常工作,但是大约8个月后,我不记得发生了什么,因此我卸载并重新安装了它,然后它可以正常工作。现在,当我卸载并重新安装它时,它不起作用。我的命令行来卸载它并喜欢

sudo service mongod stop
sudo apt-get purge mongodb-org *
sudo rm -r / var / log / mongodb
sudo rm -r / var / lib / mongodb.

我按照以下网址进行安装; https://www.tutorialspoint.com/mongodb/mongodb_quick_guide.htm

我的错误是当我放入“ sudo apt-get update”时,它看起来像这样

E: Unable to recover http://downloads-distro.mongodb.org/repo/ubuntu- 
upstart/dists/dist/InRelease The plain signed file is not valid, what was received is 
"NOSPLIT". Perhaps the network requires authentication.
E: The http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist InRelease deposit is not 
signed.
N: Updates from such a repository cannot be done securely, and are therefore disabled by 
default.
N: See the apt-secure (8) manual pages for creating repositories and user configuration 
details.

0 个答案:

没有答案