2018-02-19 13:51 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002557CentOS-4lvm2public2009-02-18 16:52
Reporteraott01 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
Product Version4.5 - i386 
Target VersionFixed in Version 
Summary0002557: yum update/upgrade from 4.5 to 4.6 fails on lvm2 dependency device-mapper
Descriptionrunning 'yum update' to get from 4.5 to 4.6:

[qa1]~# yum upgrade
Setting up Upgrade Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package

[... list of to-be-updated RPMs]

--> Running transaction check
--> Processing Dependency: device-mapper >= 1.02.21-1 for package: lvm2
--> Finished Dependency Resolution
Error: Missing Dependency: device-mapper >= 1.02.21-1 is needed by package lvm2
[qa1]~#
Additional Informationon 4.5 the system currently has

lvm2-2.02.21-5.el4
device-mapper-1.02.17-3.0.1.el4
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0006592

range (administrator)

Cannot reproduce.

Does your [base] repo somehow point to 4.5 instead of $releasever?

For example

4.5/os/$basearch/

instead of

$releasever/os/$basearch/?

Because the "missing" device-mapper version is clearly in the 4.6 os repository.

~0006593

aott01 (reporter)

workaround: update these two packages manually (using a mirror close by)

[qa1]~# rpm -Uvh http://mirrors.kernel.org/centos/4.6/os/i386/CentOS/RPMS/lvm2-2.02.27-2.el4.i386.rpm http://mirrors.kernel.org/centos/4.6/os/i386/CentOS/RPMS/device-mapper-1.02.21-1.el4.i386.rpm
Retrieving http://mirrors.kernel.org/centos/4.6/os/i386/CentOS/RPMS/lvm2-2.02.27-2.el4.i386.rpm
Retrieving http://mirrors.kernel.org/centos/4.6/os/i386/CentOS/RPMS/device-mapper-1.02.21-1.el4.i386.rpm
Preparing... ########################################### [100%]
   1:device-mapper ########################################### [ 50%]
   2:lvm2 ########################################### [100%]
[qa1]~#

~0006594

aott01 (reporter)

/etc/yum.repos.d/CentOS-Base.repo is from centos-release-4-4.3 and looks like
this:

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1


I do have a reference to 4.5 in the [update] section, pointing to an
internal mirror of just the updates repo.

~0006595

range (administrator)

> I do have a reference to 4.5 in the [update] section, pointing to an
> internal mirror of just the updates repo.
 
That might be the culprit. 4.6 has its "own" updates repo. As said, cannot reproduce, we updated *several* 4.5 machines to 4.6 over the last few days.

~0006596

aott01 (reporter)

I did download the initial set of 4.6 updates onto the internal mirror and
actually pointed the [update] section to it.

For resolution, I grabbed the centos-release RPM from 4.6 and tried again,
this time it worked. I have several more machines to update and will try to
reproduce there. I will report back.
+Notes

-Issue History
Date Modified Username Field Change
2007-12-20 09:37 aott01 New Issue
2007-12-20 09:44 range Note Added: 0006592
2007-12-20 09:44 range Status new => feedback
2007-12-20 09:56 aott01 Note Added: 0006593
2007-12-20 10:02 aott01 Note Added: 0006594
2007-12-20 10:06 range Note Added: 0006595
2007-12-20 10:15 aott01 Note Added: 0006596
2009-02-18 16:52 range Status feedback => closed
2009-02-18 16:52 range Resolution open => no change required
+Issue History