RPM

Comment 1 for bug 633687

Revision history for this message
In , Matt (matt-redhat-bugs) wrote :

Description of problem:
On an x86_64 system, it may be useful to install not only 32-bit and 64-bit versions of libraries but also the corresponding debuginfos so that both 32-bit and 64-bit binaries can be debugged. If the library packages contain conflicting executables at the same path, rpm resolves the conflict in favor of the 64-bit executable. However, this special rule does not apply to the _debuginfo_ of the executable, so parallel installation of the debuginfos hits a file conflict. I think it would be natural to extend the special rule to executable debuginfos.

A good example package is openssl with the /usr/bin/openssl executable.

Version-Release number of selected component (if applicable):
rpm-4.7.1-1.fc11.x86_64

How reproducible:
Always

Steps to Reproduce:
1. On an x86_64 system, enable the i386 repositories by making appropriately edited copies of /etc/yum.repos.d/fedora{,-updates}.repo . (The x86_64 repos contain i386 libraries but not i386 debuginfos.)
2. yum install openssl-debuginfo.{i686,x86_64}

Actual results:
Successful installation with the debuginfo for the 64-bit /usr/bin/openssl ending up at /usr/lib/debug/usr/bin/openssl.debug .

Expected results:
Transaction Check Error:
  file /usr/lib/debug/usr/bin/openssl.debug from install of openssl-debuginfo-0.9.8k-5.fc11.i686 conflicts with file from package openssl-debuginfo-0.9.8k-5.fc11.x86_64