Category Archives: Oracle Enterprise Linux

YUM: can not find RHNS CA file

OELHello my friends, long time! Haven’t written a thing for a long period of time, my fault, I’m sorry 🙂

Well, some time ago I started to study OpenStack and it’s implementation in Oracle Enterprise Linux 7.2. Quite interesting way of Cloud Computing.

And today I’ve met some strange behavior of YUM utility. In documentation is written, that you must completely update your host operating system by

[root@localhost ~]# yum update

Well, that’s nice, comfortable and peaceful procedure after those I’ve got the following error:

[root@localhost ~]# yum
Loaded plugins: langpacks, ulninfo
ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

The reason of this is in RHN* packages, which have been installed during update procedure. So, we need to identify them by RPM tool:

[root@localhost ~]# rpm -qa|grep rhn

and remove from system:

[root@localhost ~]# rpm -e yum-rhn-plugin-2.2.6-1.el7.noarch \ 
                           yum-plugin-ulninfo-0.2-13.el7.noarch \
                           rhn-check-2.2.6-1.0.2.el7.noarch \
                           rhnsd-5.0.14-1.el7.x86_64 \
                           rhn-setup-2.2.6-1.0.2.el7.noarch \

And here we are, YUM works nice and smoothly:

[root@localhost ~]# yum
Loaded plugins: langpacks
You need to give some command
Usage: yum [options] COMMAND

List of Commands:

check          Check for problems in the rpmdb
%d такие блоггеры, как: