In regard to: querying for i386 versus x86_64 versions, Marcin Krzysztof...:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've noticed that on the 64-bit version of Fedora Core 4, when I query for certain packages, they show up twice. For example, and rpm -q samba-common shows that there are two copies of samba-common on the system: samba-common-3.0.14a samba-common-3.0.14a
04:56 PM dogbert ~$rpm -q glibc-devel glibc-devel-2.3.4-2.19 glibc-devel-2.3.4-2.19 04:56 PM dogbert ~$rpm -q glibc-devel.x86_64 glibc-devel-2.3.4-2.19 04:56 PM dogbert ~$rpm -q glibc-devel.i386 glibc-devel-2.3.4-2.19
I guessed at the fact that one is an x86_64 version and the other is an i386 version, but I haven't been able to find a programmatic way of disambiguating this scenario. There don't seem to be flags to --query to provide this information, and it is not returned by --info. On a related note, how do you specify architecture requirements on the "Requires:" line? So that if I built my own version of samba, I could specify that it requires both samba-common-<myversion>.x86_64.rpm and samba-common-<myversion>.i386.rpm
Check the difference between rpm -q --provides glib-2.3.4-2.19.i686 vs. rpm -q --provides glib-2.3.4-2.19.x86_64 for ideas. Tim -- Tim Mooney mooney@xxxxxxxxxxxxxxxxxxxxxxxxx Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list