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

Tue May 25 10:09:26 UTC 2010
Karanbir Singh <mail-lists at karan.org>

On 05/25/2010 10:49 AM, C R Ritson wrote:
> The updates directory http://mirror.centos.org/centos-5/5/updates/x86_64/RPMS/ contains no device-mapper package, just:-
> 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:-
> 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.


The right solution is to fix your yum configs. There are no 'install' 
and 'updates' directories. There is the 'os' repository and things that 
have updated FROM that 'os' repository in the updates repository. In 
other workds, the updates is an extension to - not replacement of the 
'os' repository, if you disable your 'os' repo, your yum configs are broken.

- KB