Katello 2.4 RHEL7.1 unable to yum update

As part of the preparation to upgrade Katello to 3 and Foreman to 1.12 I
need to update my base system. When I do this I get a package dependency
issue:

Error: Package: libdb-cxx-5.3.21-17.el7_0.1.x86_64
(@rhel-7-server-optional-rpms)

       Requires: libdb(x86-64) = 5.3.21-17.el7_0.1

       Removing: libdb-5.3.21-17.el7_0.1.x86_64 (@anaconda/7.1)

           libdb(x86-64) = 5.3.21-17.el7_0.1

       Updated By: libdb-5.3.21-19.el7.x86_64 (rhel-7-server-rpms)

           libdb(x86-64) = 5.3.21-19.el7

       Available: libdb-5.3.21-17.el7.x86_64 (rhel-7-server-rpms)

           libdb(x86-64) = 5.3.21-17.el7

The libdb-cxx package is required by qpid-cpp-server-linearstore-0.30-8.el7.x86_64.
There is no update available for this package at my current Katello version
repo
(https://fedorapeople.org/groups/katello/releases/yum/2.4/pulp/RHEL/7Server/x86_64)

I've checked google and the only hits I can find is some RedHat bug reports
saying this issue was fixed with RH Satellite 6.1.1
(https://bugzilla.redhat.com/show_bug.cgi?id=1228709).

Any ideas or suggestions on how can I fix this dependency issue?

Thanks.

Hmm maybe you need to clean your yum cache with 'yum clean all'?

My recently updated RHEL 7 system has:
libdb.x86_64 5.3.21-19.el7
@rhel-7-server-rpms
libdb-cxx.x86_64 5.3.21-19.el7
@rhel-7-server-optional-rpms
libdb-utils.x86_64 5.3.21-19.el7
@rhel-7-server-rpms

The other possibility is your system points to a Katello/Satellite repo for
rhel-7-server-optional-rpms, which is out of date.

I've cleaned the yum cache and the issue still remains. But I think the
other point you make may be the issue. I've just noticed the
rhel7-optional-rpms hasn't been able to sync for over a month. I'll resolve
that now and see if that fixes the issue and report back.

I managed to get my repo syncing working correctly again. But the new
package of libdb-cxx still wasn't available. I had to republish the repo by
disabling it and then re-enabling it in Foreman (Content -> Redhat
repositories)