[CentOS] Centos 5.4 to 5.5 fails to update lvm2 (needs newer device-mapper?)

C R Ritson

c.r.ritson at newcastle.ac.uk
Tue May 25 09:49:28 UTC 2010


Updating from centos 5.4 to 5.5 using an update rather than a rebuild, I get the following complaint from yum:-
  lvm2-2.02.56-8.el5_5.1.x86_64 from setup has depsolving problems
  --> Missing Dependency: device-mapper >= 1.02.39-1 is needed by package lvm2-2.02.56-8.el5_5.1.x86_64 (setup)

This is from a local mirror, so checking the upstream feed in case the mirroring is incomplete I see the following:-

The updates directory http://mirror.centos.org/centos-5/5/updates/x86_64/RPMS/ contains no device-mapper package, just:-
  lvm2-2.02.56-8.el5_5.1.x86_64.rpm

The install directory http://mirror.centos.org/centos-5/5/os/x86_64/CentOS/ contains contains newer copies of both device-mapper and lvm2 than was current for centos 5.4:-
  device-mapper-1.02.39-1.el5.x86_64.rpm
  lvm2-2.02.56-8.el5.x86_64.rpm

What is the right solution? To copy the missing RPM into our local mirror? There is a redhat bug report that may relate... https://rhn.redhat.com/errata/RHBA-2010-0368.html as does the earlier https://rhn.redhat.com/errata/RHBA-2010-0298.html report.

Chris Ritson (Computing Officer and School Safety Officer)

Room 707, Claremont Tower,        EMAIL: C.R.Ritson at ncl.ac.uk
School of Computing Science,      PHONE: +44 191 222 8175
Newcastle University,             FAX  : +44 191 222 8232
Newcastle upon Tyne, UK NE1 7RU.  WEB  : http://www.cs.ncl.ac.uk/





More information about the CentOS mailing list