On Wed, 19 Mar 2008, Troy Dawson wrote:

[...]
I think maybe the correct way to do it, is to rebuild it again without the dist tag, and push it out to SL 40-45. But then we'll have to keep doing that until they finally update the number in a way that we can get things back on track.

I'm afraid that is the only clean solution. Currently, yum has become essentially useless for both updating and installing packages. See below.

I checked the 44/45/46 and 50/51 repositories for more of these problems, and here's what I found:

Name max evr buildtime found in ======== === ==================== ========== ========
openldap   *  0:2.2.13-8.1           1195150510  44e,45e
              0:2.2.13-8.el4_6.4     1203710285  44e,45e,46

pcre       *  0:4.5-4.4              1194966992  44e,45e
              0:4.5-4.el4_6.6        1196430438  44e,45e,46

net-snmp   *  0:5.1.2-11.11.1        1195148825  44e,45e
              0:5.1.2-11.el4_6.11.2  1202429778  46

Name      max evr                    buildtime   found in
========  === ====================   ==========  ========
cups       *  1:1.2.4-11.14.el5.3    1194465485  50e
              1:1.2.4-11.14.el5_1.4  1203701509  50e,51e

Where "max" means the latest release according to rpmlib.

In most cases, this means that security updates are not making it onto the systems because yum thinks the latest version is already installed.

There are *many* more cases where this could potentially happen with a future update, especially if systems were first installed with SL < 4.6 or < 5.1.

To make it worse, yum sometimes disagrees with itself on what is the latest release, depending on what it's doing. Example on a 64bit SL5.0 system just updated to 5.1 with limited success:

# rpm -qa cups\*
cups-1.2.4-11.14.el5.3.x86_64
cups-libs-1.2.4-11.14.el5.3.x86_64

A "yum list cups\*" will list the -11.14.el5_1.4 packages as available.
But a "yum update cups\*" will not do anything. And "yum install cups-libs.i386" will fail with this message:

  Transaction Check Error:
    package cups-libs-1.2.4-11.14.el5.3 (which is newer than
    cups-libs-1.2.4-11.14.el5_1.4) is already installed


I guess I *have* to dump yum and find my old scripts :-( Reinstalling every system from scratch with 4.6 or 5.1 is not an option.

- Stephan

--
Stephan Wiesand
  DESY - DV -
  Platanenallee 6
  15738 Zeuthen, Germany

Reply via email to