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
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): 1-1.fc11. x86_64
rpm-4.7.
How reproducible:
Always
Steps to Reproduce: repos.d/ fedora{ ,-updates} .repo . (The x86_64 repos contain i386 libraries but not i386 debuginfos.) debuginfo. {i686,x86_ 64}
1. On an x86_64 system, enable the i386 repositories by making appropriately edited copies of /etc/yum.
2. yum install openssl-
Actual results: debug/usr/ bin/openssl. debug .
Successful installation with the debuginfo for the 64-bit /usr/bin/openssl ending up at /usr/lib/
Expected results: 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
Transaction Check Error:
file /usr/lib/