无法在 RHEL7 VM 上安装 cyrus-sasl



我有一个RHEL7虚拟机设置,我试图运行mongodb。安装后得到:

--> Finished Dependency Resolution
Error: Package: mongodb-database-tools-100.3.0-1.x86_64 (MongoDB)
Requires: cyrus-sasl
Error: Package: mongodb-database-tools-100.3.0-1.x86_64 (MongoDB)
Requires: cyrus-sasl-plain
Error: Package: mongodb-database-tools-100.3.0-1.x86_64 (MongoDB)
Requires: cyrus-sasl-gssapi
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[vagrant@rhel7 yum.repos.d]$ mongo -v
-bash: mongo: command not found
[vagrant@rhel7 yum.repos.d]$ mongod -v
-bash: mongod: command not found
[vagrant@rhel7 yum.repos.d]$ mongod
-bash: mongod: command not found
[vagrant@rhel7 yum.repos.d]$ sudo yum install cyrus-sasl
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
No package cyrus-sasl available.
Error: Nothing to do
[vagrant@rhel7 yum.repos.d]$ sudo yum install cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain krb5-libs libcurl net-snmp openldap openssl xz-libs
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
No package cyrus-sasl available.
No package cyrus-sasl-gssapi available.
No package cyrus-sasl-plain available.
No package net-snmp available.
Nothing to do

我已经尝试下载cyrus-sasl并手动安装它,但我没有找到任何关于如何正确地做到这一点的信息。如有任何帮助,不胜感激。

正如消息所说:

系统未注册授权服务器。您可以使用订阅管理器注册。

您要么没有为RHEL订阅付费,要么没有为您的订阅正确配置系统。因此,您的系统无法安装任何软件包。

修复你的系统,或者使用像CentOS这样不需要支付操作费用的操作系统。

最新更新