Problem:
We’re having a weird issue here with Katello where it is showing one of our servers as having:
glibc-2.12-1.212.el6.x86_64
as an applicable update. When we click to install it in Katello’s web UI it says success however it doesn’t actually do anything. Doing a yum install glibc-2.12-1.212.el6.x86_64 on the server itself shows No package glibc-2.12-1.212.el6.x86_64 available.
Does anyone know what’s wrong?
Expected outcome:
Katello should be accurate in displaying software updates and patches
Katello is calculating the errata state based on packages available in Library and not the Content view by default. You can change this on Administer > Settings > Content by changing “Installable errata from Content View” to “Yes”. Could this be the problem?
Another issue I had in the past were repository priorities and packages excludes defined in yum configuration because Katello does not know about such things.
Thanks for the reply! glibc is actually not an erratra, but showing up as an applicable update… so that setting unfortunately did not work for us. Any other ideas?
Good to hear from ya. Running ‘yum info glibc’ shows me this:
Installed Packages
Name : glibc
Arch : x86_64
Version : 2.12
Release : 1.192.el6
Size : 12 M
Repo : installed
From repo : base
Summary : The GNU libc libraries
URL : http://sources.redhat.com/glibc/
License : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Description : The glibc package contains standard libraries which are used by
: multiple programs on the system. In order to save disk space and
: memory, as well as to make upgrading easier, common system code is
: kept in one place and shared between programs. This particular package
: contains the most important sets of shared libraries: the standard C
: library and the standard math library. Without these two libraries, a
: Linux system will not function.
I’ve just ran your other two commands on the host and will report back if there are any changes
glibc-2.12-1.212.el6.x86_64 still shows on Katello Web UI as an applicable update and allows me to update it with a success message, even though the server itself says no package found when doing:
‘yum install glibc-2.12-1.212.el6.x86_64’
Is the client registered to a content view or to “Library”?
If its registered to library, does the repository show the gcc-212 package? (products > click a product > click the repo > click the package count)
If its registered to a content view/lifecycle environment, does the content view version show the gcc 212 package? (Content views -> click your view -> click the version in the correct lifecycle environment -> click the package tab)
I misspoke. Looking under the content view, I do see glib 2.12-1.212.el6 under the version that the server is subscribed to. So we’re back to square 1. I’m not quite sure why the server doesn’t see the package.