detecting 32-bit verses 64-bit RPMs
Bill Rugolsky Jr.
brugolsky at telemetry-investments.com
Tue Dec 6 20:28:36 UTC 2005
On Tue, Dec 06, 2005 at 05:51:49PM +0000, Dave Mitchell wrote:
> This then leads me to wonder how both RPMs can co-exist on my
> system when they share common files? eg
rpm silently "prefers" the x86_64 version.
Shield the children's eyes from this perversion:
rugolsky at ti88: diff -u <(rpm -q --dump mysql.i386 | grep -w /usr/bin/mysql) <(rpm -q --dump mysql.x86_64 | grep -w /usr/bin/mysql)
--- /dev/fd/63 2005-12-06 15:20:09.887296750 -0500
+++ /dev/fd/62 2005-12-06 15:20:09.887296750 -0500
@@ -1 +1 @@
-/usr/bin/mysql 207868 1131988963 3213064ff886052de74c5dd96a227ce5 0100755 root root 0 0 0 X
+/usr/bin/mysql 236472 1131988237 69eef75df90b272a20379a2836ba630e 0100755 root root 0 0 0 X
rugolsky at ti88: rpmverify mysql.i386 | grep -w /usr/bin/mysql
S.5....T. /usr/bin/mysql
rugolsky at ti88: rpmverify mysql.x86_64 | grep -w /usr/bin/mysql
rugolsky at ti88:
In the rpm build tree:
rugolsky at ti88: egrep -nir '(resolve|prefer).*64' .
./rpmrc.in:96:# We always want to prefer sparc to sparc64.
./CHANGES:217: - prefer elf64 over elf32 files, everywhere and always (#126853).
./CHANGES:281: - resolve elf32/elf64 file conflicts to prefer elf64.
./lib/transaction.c.ghostconflicts:194: /* Resolve file conflicts to prefer Elf64 (if not forced). */
./lib/transaction.c.ghostconflicts:566: /* Resolve file conflicts to prefer Elf64 (if not forced) ... */
./lib/transaction.c.exclude:199: /* Resolve file conflicts to prefer Elf64 (if not forced). */
./lib/transaction.c.exclude:571: /* Resolve file conflicts to prefer Elf64 (if not forced) ... */
./lib/transaction.c:199: /* Resolve file conflicts to prefer Elf64 (if not forced). */
./lib/transaction.c:571: /* Resolve file conflicts to prefer Elf64 (if not forced) ... */
Regards,
Bill Rugolsky
More information about the users
mailing list