简体   繁体   中英

While installing mongodb in kali linux, I get errors in apt-get

need help. Trying to install Mongodb in kali linux 2, using the command

sudo apt-get install mongodb-org

but it always gives me the following error:

The following packages have unmet dependencies:
 mongodb-org : Depends: mongodb-org-shell but it is not going to be installed
               Depends: mongodb-org-server but it is not going to be installed
               Depends: mongodb-org-mongos but it is not going to be installed
               Depends: mongodb-org-tools but it is not going to be installed

I have tried installing those packages by themself, but couldn't be found in the repository of kali. [1]: https://i.stack.imgur.com/Tz1bF.png

try Aptitude instead

sudo aptitude install mongodb-org

also did you try

sudo apt-get clean
sudo apt-get autoclean

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM