Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 229992

Summary: Multilib conflict (i386,x86_64): file /usr/share/man/man8/dmsetup.8.gz
Product: [Fedora] Fedora Reporter: Saikat Guha <sg266>
Component: device-mapper-obsoleteAssignee: Alasdair Kergon <agk>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: agk, christophe.varoqui, dwysocha, egoggin, jbrassow, j-nomura, k-ueda, lmb, mbroz, prockai, tranlan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 1.02.17-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-19 20:19:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Saikat Guha 2007-02-25 16:54:51 UTC
Conflicts while yum upgrade.

Transaction Check Error:   file /usr/share/man/man8/dmsetup.8.gz from install of
device-mapper-1.02.17-6.fc7 conflicts with file from package

Seems like yum isn't pulling in the 1.02.17-6.fc7.i386 causing the conflict

[root@sioux ~]#  rpm -qf /usr/share/man/man8/dmsetup.8.gz

[root@sioux ~]# yum install device-mapper.x86_64 device-mapper.i386
Dependencies Resolved

 Package                 Arch       Version          Repository        Size
 device-mapper           x86_64     1.02.17-6.fc7    development       466 k
Installing for dependencies:
 device-mapper-libs      x86_64     1.02.17-6.fc7    development        42 k
Updating for dependencies:

Both x86 and x86_64 packages are enabled in yum.

[root@sioux ~]# cat /etc/yum.conf 
#exclude=*.i?86      # commented out

[root@sioux ~]# yum list device-mapper
Installed Packages
device-mapper.i386                       1.02.13-1.fc7          installed       
device-mapper.x86_64                     1.02.13-1.fc7          installed       
wine.i386                                0.9.27-1.fc7           installed       
Available Packages
device-mapper.x86_64                     1.02.17-6.fc7          development     
wine.i386                                0.9.31-1.fc7           extras-developme

Comment 1 Alasdair Kergon 2007-02-27 17:04:43 UTC
I think it's a question for yum, what the right behaviour should be when
overlapping packages from two archs have been installed like that.

[-libs is now separate so you probably don't want the device-mapper i386 package
installed any more.]

Comment 2 Jeremy Katz 2007-02-27 17:07:37 UTC
This is purely a bug in the upgrade path in the package.  You don't have
anything saying that the old, other arch of the device-mapper package should be

Comment 3 Alasdair Kergon 2007-02-27 17:11:44 UTC
can you point to an example of how to do this?

Comment 4 Alasdair Kergon 2007-02-27 20:43:13 UTC
Trying with -libs Obsoleting pre-split device-mapper package.

Comment 5 Alasdair Kergon 2007-02-27 20:44:23 UTC
I note that 'gzip -n' should have been used to compress the man page to avoid
the conflict.

Comment 6 Alasdair Kergon 2007-07-19 20:19:39 UTC
Hopefully fixed now.