* [linux-lvm] upgrade lvm2
@ 2010-06-21 10:13 PENNEREE JEAN-LOUIS
2010-06-21 10:46 ` Bryn M. Reeves
0 siblings, 1 reply; 2+ messages in thread
From: PENNEREE JEAN-LOUIS @ 2010-06-21 10:13 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
Hi,
I would like to upgrade lvm2 version on a RHEL5 machine.
How to proceed?
#rpm -Uvh device-mapper-1.02.39-1.el5.x86_64.rpm
le fichier /usr/include/libdevmapper-event.h de l'installation de
device-mapper-1.02.39-1.el5 entre en conflit avec le fichier du
paquetage device-mapper-1.02.20-1.el5
le fichier /usr/include/libdevmapper.h de l'installation de
device-mapper-1.02.39-1.el5 entre en conflit avec le fichier du
paquetage device-mapper-1.02.20-1.el5
le fichier /usr/share/man/man8/dmsetup.8.gz de l'installation de
device-mapper-1.02.39-1.el5 entre en conflit avec le fichier du
paquetage device-mapper-1.02.20-1.el5
Best regards
[-- Attachment #2: Type: text/html, Size: 1029 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] upgrade lvm2
2010-06-21 10:13 [linux-lvm] upgrade lvm2 PENNEREE JEAN-LOUIS
@ 2010-06-21 10:46 ` Bryn M. Reeves
0 siblings, 0 replies; 2+ messages in thread
From: Bryn M. Reeves @ 2010-06-21 10:46 UTC (permalink / raw)
To: jlpenneree, LVM general discussion and development
On 06/21/2010 11:13 AM, PENNEREE JEAN-LOUIS wrote:
> Hi,
>
> I would like to upgrade lvm2 version on a RHEL5 machine.
This isn't really an lvm2/device-mapper related question - your problem
appears to be just package management.
> #rpm -Uvh device-mapper-1.02.39-1.el5.x86_64.rpm
>
> le fichier /usr/include/libdevmapper-event.h de l'installation de
> device-mapper-1.02.39-1.el5 entre en conflit avec le fichier du paquetage
> device-mapper-1.02.20-1.el5
> le fichier /usr/include/libdevmapper.h de l'installation de
> device-mapper-1.02.39-1.el5 entre en conflit avec le fichier du paquetage
> device-mapper-1.02.20-1.el5
> le fichier /usr/share/man/man8/dmsetup.8.gz de l'installation de
> device-mapper-1.02.39-1.el5 entre en conflit avec le fichier du paquetage
> device-mapper-1.02.20-1.el5
So the files conflict with an older version. It looks like you have an
earlier RPM (1.02.20-1.el5) built for the i386 architecture installed.
This is normal on 64-bit x86 as it is a multilib platform (it means both
32 and 64 bit applications that use the device-mapper library can be
installed and used).
E.g.:
# rpm -q --qf="%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" device-mapper
device-mapper-1.02.39-1.el5.x86_64
device-mapper-1.02.39-1.el5.i386
When it comes to upgrading however you must update the packages together
in a single transaction, e.g.:
# rpm -Uvh device-mapper-1.02.39-1.el5.x86_64.rpm \
device-mapper-1.02.39-1.el5.i386.rpm
Alternately use the distribution-supplied update tool (yum for RHEL5) to
apply updates automatically and this will resolve dependencies and pull
in any other requirements automatically.
Regards,
Bryn.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-21 10:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21 10:13 [linux-lvm] upgrade lvm2 PENNEREE JEAN-LOUIS
2010-06-21 10:46 ` Bryn M. Reeves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).