1.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.
Nothing to do
这是因为使用redhat自带的yum源要付费,所以需要自己重新生成yum源。
大概意思是是让你先注册一下。
这是redhat 自带的 yum 源需要注册,花钱才能使用,博主比较穷,怎么办呢,发现网上说可以替换,于是开始撸,中间也有不少心酸。把心得写下来!!!
第一步:先卸载原来的yum
rpm -qa |grep yum 查看原来是否安装
yum-rhn-plugin-2.0.1-9.el7.noarch
yum-metadata-parser-1.1.4-10.el7.x86_64
yum-3.4.3-154.el7.noarch
直接卸载:
rpm -qa|grep yum|xargs rpm -e --nodeps
在次运行 :rpm -qa |grep yum 发现卸载干净了
原文:https://www.cnblogs.com/lukelook/p/11200230.html