Yum, operating system above RHEL 6, tells This system is not registered what to do.
This issue of the content of the editor will bring you about the RHEL 6 operating system Yum tips on how to do This system is not registered, the article is rich in content and professional analysis and description for you, after reading this article, I hope you can get something.
The operating system Yum above RHEL 6 prompts This system is not registered. 1. Problem phenomenon:
[root@open_source ~] # yum clean
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.
Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, rpmdb, all
[root@open_source ~] # yum check-update
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.
[root@open_source ~] # yum makecache
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.
Base | 2.8kB 00:00:00
Metadata Cache Created
Second, the cause of the problem:
Because my operating system uses RedHat, I am prompted to sign up for a subscription. To put it bluntly, I have to pay for it.
Third, problem analysis:
The solution to this problem is actually very simple, because RedHat is a commercial version of the enterprise Linxu system, and the only package involved is Yum, which we can solve by replacing the community version of the package.
Fourth, the solution:
Replace the package for the community version of CentOS to resolve this issue.
4.1. The main ways to get a package are as follows:
Http://mirror.centos.org/
Https://mirrors.edge.kernel.org/
Http://mirrors.aliyun.com/centos/