yum install mongodb 3.2 fails

后端 未结 13 1312
自闭症患者
自闭症患者 2021-02-08 00:04

I am trying to install mongodb 3.2 on a CentOS 7 machine and facing issues in locating the packages.

I have updated the repo file as per the documentation:



        
13条回答
  •  离开以前
    2021-02-08 00:33

    I know this issue is old and more than 2 years but I have received this error recently in Mongo DB 4.0

    I have checked my yum.conf by

     vi /etc/yum.conf yum.conf
    

    and there was one line with the following.

    exclude=courier* dovecot* exim* filesystem httpd* mod_ssl* **mongodb-org,mongodb-org-server,mongodb-org-shell,mongodb-org-mongos,mongodb-org-tools** mydns* nsd* p0f php* proftpd* pure-ftpd* spamassassin* squirrelmail*
    

    Removed the

    mod_ssl* mongodb-org,mongodb-org-server,mongodb-org-shell,mongodb-org-mongos,mongodb-org-tools
    

    and changed it to

    exclude=courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f php* proftpd* pure-ftpd* spamassassin* squirrelmail*
    

    This has fixed my issue and should fix yours.

提交回复
热议问题