Diskless 7.6 image won't update?

Posted on

I created a diskless image using RHEL 7.6 Server (3.10.0-957.27.2.el7.x86_64) using the currently available version. I later had to reinstall the server hosting the diskless image and it got the then current 7.7 (3.10.0.1062.9.1.el7.x86_64). I've been updating the server pretty regularly without any hitch, but I cannot get yum (v 3.4.3-163) to offer the diskless image any updates. I cannot get yum to run by simply doing a chroot but have been able to get yum check-update to run using --installroot pointing to the root of the diskless image; however, though it runs without appearing to offer any errors, it also comes back without offering any updates. Since I created the image many months ago, I rather suspect there must be at least one package that requires an update and I would like to see the diskless image update to have the same RHEL version as the server.

Other possibly relevant software versions: subscription-manager 1.24.13.3 and rpm: 4.11.3-40.

I have tried clearing the cache in various ways but they didn't seem to change the situation.

o Should yum automatically offer to patch the system up to the 7.7 version? I'm assuming that this ought to be the case, but maybe I'm wrong?

o Since yum isn't complaining, I assume the connection to the RHEL subscriptions is OK? A repolist using --installroot shows the that there 7.7 server repo is enabled along with epel and a couple of others.

o My guess is that the yum db and or cache is a likely root of this? Maybe the best route is to take some drastic measure to make yum build up a correct DB, maybe by dropping repos, unsubscribing or something similarly drastic?

Responses