Page 1 of 1

RHEL 6 Yum Update

Posted: Wed May 23, 2018 3:56 pm
by dancormack
Hello,
I am running into an issue trying to update my RHEL 6 install which has Nagios running on it. I am fully subscribed to Red Hat for updates. It looks like I am missing a repository which I suspect is related to Nagios (as I do not have this issue anywhere else).I have attached the relevant error messages in the update attempt. Please assist by identifying what I need to do to successfully update this server.. Thanks!

Re: RHEL 6 Yum Update

Posted: Wed May 23, 2018 4:33 pm
by npolovenko
Hello, @dancormack. Please show us the list of your repositories:

Code: Select all

yum repolist
Also, please run the following command:

Code: Select all

yum install -y gcc glibc glibc-common openssl openssl-devel perl wget

Re: RHEL 6 Yum Update

Posted: Thu May 24, 2018 11:01 am
by dancormack
yum repolist
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager
epel/metalink | 19 kB 00:00
nagios-base | 1.5 kB 00:00
nagiosxi-deps | 1.5 kB 00:00
rhel-6-server-rpms | 3.5 kB 00:00
rhel-server-dts-6-rpms | 3.4 kB 00:00
rhel-server-dts2-6-rpms | 3.2 kB 00:00
repo id repo name status
epel Extra Packages for Enterprise Linux 6 - x86_64 12,506
nagios-base Nagios 161
nagiosxi-deps Nagios XI Dependencies 35
rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 20,091
rhel-server-dts-6-rpms Red Hat Developer Toolset RPMs for Red Hat Enterprise Linux 6 Server 84
rhel-server-dts2-6-rpms Red Hat Developer Toolset 2 RPMs for Red Hat Enterprise Linux 6 Server 469
repolist: 33,346


When I run the yum install, I get similar errors. I attached the output .. Errors2.txt) It looks like I am missing some repo however I do not know what one(s).

Re: RHEL 6 Yum Update

Posted: Thu May 24, 2018 11:44 am
by npolovenko
@dancormack, It's likely the rhel-6-server-optional-rpms.

Code: Select all

subscription-manager repos --enable=rhel-6-server-optional-rpms

Code: Select all

yum clean all
yum update
yum can be configured to try to resolve such errors by temporarily enabling disabled repos and searching for missing dependencies. To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
I haven't tried it but maybe worth giving a shot. If you follow this instruction run these two commands after you modify the config.

Code: Select all

yum clean all
yum update

Re: RHEL 6 Yum Update

Posted: Thu May 24, 2018 11:59 am
by dancormack
@npolovenko,

Adding the optional rpms repo did the trick. Thank you for your help! This issue has been resolved.

Re: RHEL 6 Yum Update

Posted: Thu May 24, 2018 1:09 pm
by npolovenko
@dancormack, Great! I will close this thread as resolved.