[SOLVED] YUM: can not find RHNS CA file ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

YUM: can not find RHNS CA file ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT: Some time we face can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT error while updating packages in RHEL.

Also follow Kernel panic not syncing vfs unable to mount root fs on unknown-block  and yum error - package is a duplicate with for yum update related errors.

Solving this error is easy: 

Follow below steps for solve can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT error

Error Check:
[root@localhost ~]# yum check-update
ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

[root@localhost ~]# yum list all
ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

Resolution:
[root@localhost ~]# rpm -qa|grep rhn
[sudo] password for nicva:
yum-rhn-plugin-2.0.1-10.el7.noarch
rhn-check-2.0.2-21.el7.noarch
rhncfg-client-5.10.87-12.el7sat.noarch
rhncfg-5.10.87-12.el7sat.noarch
rhn-client-tools-2.0.2-21.el7.noarch
rhn-setup-2.0.2-21.el7.noarch
rhnlib-2.5.65-7.el7.noarch
rhncfg-actions-5.10.87-12.el7sat.noarch
rhn-setup-gnome-2.0.2-21.el7.noarch
rhnsd-5.0.13-10.el7.x86_64

[root@localhost ~]# rpm -e yum-rhn-plugin-2.0.1-10.el7.noarch rhn-check-2.0.2-21.el7.noarch rhncfg-client-5.10.87-12.el7sat.noarch rhncfg-5.10.87-12.el7sat.noarch rhn-client-tools-2.0.2-21.el7.noarch rhn-setup-2.0.2-21.el7.noarch rhnlib-2.5.65-7.el7.noarch rhncfg-actions-5.10.87-12.el7sat.noarch rhn-setup-gnome-2.0.2-21.el7.noarch
rhnlib-2.5.65-7.el7.noarch rhncfg-actions-5.10.87-12.el7sat.noarch rhn-setup-gnome-2.0.2-21.el7.noarch rhnsd-5.0.13-10.el7.x86_64 --nodeps

or

'enabled = 0' in /etc/yum/pluginconf.d/rhnplugin.conf

[root@localhost ~]# yum check-update
[root@localhost ~]# yum list all

will list all rpm packages.

Also follow Kernel panic not syncing vfs unable to mount root fs on unknown-block  and yum error - package is a duplicate with for yum update related errors.

Comments

Popular posts from this blog

How to install glibc 2.14 on RHEL 6/ RHEL 7/ CentOS 7

Export and Import users/groups and OU in AD Server 2008 using LDIFDE command.

How to Set Up and Configure latest yum repository on CentOS