[TriLUG] lvm2/lvm2-cluster conflict (can I replace an RPM inline?)
josh_johnson at unc.edu
Fri Mar 26 11:07:37 EDT 2010
Turns out I misread the error. lvm2-cluster has a hard requirement for
LVM2 < 2.02.46. 2.02.46 was the version I had installed.
To get the lvm2-cluster package to install, I just had to run `yum
downgrade lvm2` a couple of times to get it under 2.02.46 (3 times to
be exact, to get it down to 2.02.40).
I'm not sure I'm happy with this, but it gets me past this hurdle.
On Mar 26, 2010, at 10:43 AM, Dave Hostetler wrote:
> I seem to recall that there are --force and --replace-files switches
> to rpm that may be what you need.
> On Mar 26, 2010, at 10:00 AM, Josh Johnson wrote:
>> I'm adding cLVM to a test cluster, both nodes are running RHEL 5.3.
>> When I try to install lvm2-cluster (with yum install), I get the
>> following error:
>> lvm2-2.02.46-8.el5_4.2.x86_64 from installed has depsolving problems
>> --> lvm2 conflicts with lvm2-cluster
>> Error: lvm2 conflicts with lvm2-cluster
>> You could try using --skip-broken to work around the problem
>> You could try running: package-cleanup --problems
>> package-cleanup --dupes
>> rpm -Va --nofiles --nodigest
>> After digging a bit, I've come to realize that the conflict is
>> indeed valid, LVM2 and "LVM2-with-clustering" come from the same
>> source code, just compiled with different options (as such the RPMs
>> both provide 'lvm2' to other packages, which is what I think is
>> causing the conflict)
>> Uninstalling "regular" lvm2 with yum wants to uninstall a bunch of
>> other stuff. What should I do?
>> Is there some way to replace the "regular" lvm2 without
>> uninstalling all the packages that depend on it?
>> My RPM/RHN/yum skills are a bit rusty, am I missing something?
>> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>> TriLUG FAQ : http://www.trilug.org/wiki/Frequently_Asked_Questions
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ : http://www.trilug.org/wiki/Frequently_Asked_Questions
More information about the TriLUG