我有一个RHEL7 vm设置,并且正在尝试运行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并手动安装它,但是我没有找到任何关于如何正确地这样做的信息。任何帮助都将不胜感激。
发布于 2021-02-24 04:34:06
正如信息所述:
此系统未在权限服务器上注册。您可以使用订阅管理器注册。
您要么没有为RHEL订阅付费,要么没有为订阅正确地配置您的系统。因此,您的系统无法安装任何软件包。
修复您的系统或使用像CentOS这样的操作系统,不需要支付操作费用。
https://stackoverflow.com/questions/66343542
复制相似问题