Linux进行yum程序安装时遇到:This system is not registered with an entitlement server. You can use subscription

#安装linux遇到:Linux进行yum程序安装时遇到:This system is not registered with an entitlement server. You can use subscription
Linux进行yum程序安装时遇到:This system is not registered with an entitlement server. You can use subscription
再试,又遇到个么错误,然后

Linux进行yum程序安装时遇到:This system is not registered with an entitlement server. You can use subscription

再试 。。。

[[email protected] pluginconf.d]# yum install samba
已加载插件:langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.

您已启用软件包 GPG 签名检查,这样很好。不过您尚未安装任何 GPG 公钥。请下载您希望安装的软件签名公钥并安装。假设公钥已下载,安装命令是:
rpm --import public.gpg.key

或者,在软件源配置中,使用 ‘gpgkey’ 选项指定软件源使用的公钥 URL,这样 yum 会自动安装它。

详情请联系发行版或软件包制作人。

问题源:dvd
解决:yum install samba –nogpgcheck
ps:
–nogpgcheck是跳过检查

成功
Linux进行yum程序安装时遇到:This system is not registered with an entitlement server. You can use subscription

后来看到别人的解决:

2.运行

[[email protected] Packages]# yum.conf 文件,把里面的gpgcheck=1改为gpgcheck=0

(不推荐)。

注:方法2的效果很好

3.最好的解决办法:

加上"–nogpgcheck"参数

[[email protected] Packages]# yum install google-chrome-stable_current_i386.rpm --nogpgcheck

https://www.cnblogs.com/brave-cz/p/4139854.html