C R Ritson
2010-May-25 09:49 UTC
[CentOS] Centos 5.4 to 5.5 fails to update lvm2 (needs newer device-mapper?)
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/
Karanbir Singh
2010-May-25 10:09 UTC
[CentOS] Centos 5.4 to 5.5 fails to update lvm2 (needs newer device-mapper?)
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