Discerning x86_64 and i386 packages
James Bourne
jbourne at hardrock.org
Wed Nov 5 18:43:04 UTC 2008
On Wed, 5 Nov 2008, Hearn, Stan J. wrote:
> I've answered my own question. Use the --arch=[i386|x86_64] option of
> up2date and drop the version number.
bash# rpm -qa --queryformat="%{name}-%{version}-%{release}-%{arch}\n" glibc
glibc-2.3.4-2.41-x86_64
glibc-2.3.4-2.41-i686
For RPM to query what you have installed.
Regards
James
>
> [root at viola ~]# up2date --arch=i386 --install openmotif
>
> Fetching Obsoletes list for channel: rhel-x86_64-as-4...
>
> Fetching rpm headers...
> ########################################
>
> Name Version Rel
> ----------------------------------------------------------
> openmotif 2.2.3 10.2.el4
> i386
>
>
> Thanks,
> Stan
>
>
> -----Original Message-----
> From: redhat-sysadmin-list-bounces at redhat.com
> [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Hearn,
> Stan J.
> Sent: Wednesday, November 05, 2008 12:39 PM
> To: redhat-sysadmin-list at redhat.com
> Subject: RE: Discerning x86_64 and i386 packages
>
> Why does this install fail?
>
> [root at viola ~]# up2date --show-available | grep openmo
> openmotif-2.2.3-10.2.el4.i386
> openmotif-2.2.3-10.2.el4.x86_64
> openmotif-devel-2.2.3-10.2.el4.i386
> openmotif-devel-2.2.3-10.2.el4.x86_64
> openmotif21-2.1.30-11.RHEL4.6.i386
> [root at viola ~]# up2date --install openmotif-2.2.3-10.2.el4.i386
>
> Fetching Obsoletes list for channel: rhel-x86_64-as-4...
>
> Fetching rpm headers...
> ########################################
>
> Name Version Rel
> ----------------------------------------------------------
>
>
> The following packages you requested were not found:
> openmotif-2.2.3-10.2.el4.i386
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>
>
--
James Bourne | Email: jbourne at hardrock.org
UNIX Systems Administration | WWW: http://www.hardrock.org
Custom UNIX Programming | Linux: The choice of a GNU generation
----------------------------------------------------------------------
"All you need's an occasional kick in the philosophy." Frank Herbert
Need an inexpensive domain alternative? http://fastforwarddomains.com
More information about the redhat-sysadmin-list
mailing list