[Gluster-users] Problem with Gluster's LATEST RPM Builds

Greg_Swift at aotx.uscourts.gov Greg_Swift at aotx.uscourts.gov
Wed Oct 5 14:27:42 UTC 2011


Best way to check the actual contents of the rpm is to query the rpm's meta
data.

# rpm -query --queryformat '%{name}-%{version}-%{release}-%{arch}\n'
--package glusterfs-core-3.2.4-1.x86_64.rpm
should return:
glusterfs-core-3.2.4-1.x86_64

Shorter equivalent:
# rpm --qf '%{name}-%{version}-%{release}-%{arch}\n' -qp
glusterfs-core-3.2.4-1.x86_64.rpm
should return:
glusterfs-core-3.2.4-1.x86_64

Check just the arch (not useful w/ multiple packages):
# rpm --qf '%{arch}\n' -qp glusterfs-core-3.2.4-1.x86_64.rpm
should return:
x86_64


-greg

gluster-users-bounces at gluster.org wrote on 10/03/2011 02:11:43 AM:

> Hi -
> Interesting,I have downloaded python 64-bit rpm from other resources
> (like centos,rpmfind ) they show  arch as 32-bit!
>
> $ file python-2.6.5-3.el6.x86_64.rpm
> python-2.6.5-3.el6.x86_64.rpm: RPM v3 bin i386 python-2.6.5-3.el6
>
> $ file python-2.7.1-7.fc15.x86_64.rpm
> python-2.7.1-7.fc15.x86_64.rpm: RPM v3 bin i386 python-2.7.1-7.fc15
>
> Reading more about from here http://www.rpm.org/max-rpm/s1-rpm-file-
> format-rpm-file-format.html
>
> My guess is, 'file' command still uses an old magic signature (lead
> - where 'arch' value can be found with in first few bytes), but the
> new magic signature(header) stores the details
> in some other place.May be recent the rpmbuild updates arch value in
> 'header' but not in old 'lead' structure.

> $ file --version
> file-5.03

> .
> ..
> ...
> Cheers,
> Lakshmipathi.G
> FOSS Programmer.
>
> From: gluster-users-bounces at gluster.org [gluster-users-
> bounces at gluster.org] on behalf of Joey McDonald [joey at scare.org]
> Sent: Sunday, October 02, 2011 5:26 AM
> To: gluster-users at gluster.org
> Subject: [Gluster-users] Problem with Gluster's LATEST RPM Builds

> Hi,
>
> You have some Gluster packages available for download here:
>
> http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS/
>
> They are labeled as x86_64, however they're actually i386, as you
> can see here:
>
> [joey at nahalam-0-0 ~]$ wget http://download.gluster.com/pub/gluster/
> glusterfs/LATEST/CentOS/glusterfs-core-3.2.4-1.x86_64.rpm--2011-10-01
> 23:55:48--  http://download.gluster.com/pub/gluster/glusterfs/
> LATEST/CentOS/glusterfs-core-3.2.4-1.x86_64.rpm
> Resolving download.gluster.com... 70.38.57.57
> Connecting to download.gluster.com|70.38.57.57|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 2317773 (2.2M) [application/x-redhat-package-manager]
> Saving to: `glusterfs-core-3.2.4-1.x86_64.rpm'
>
> 100%
>
[===========================================================================================>]

> 2,317,773   1.98M/s   in 1.1s
>
> 2011-10-01 23:55:49 (1.98 MB/s) - `glusterfs-core-3.2.
> 4-1.x86_64.rpm' saved [2317773/2317773]
>
> [joey at nahalam-0-0 ~]$ file glusterfs-core-3.2.4-1.x86_64.rpm
> glusterfs-core-3.2.4-1.x86_64.rpm: RPM v3 bin i386 glusterfs-core-3.2.4-1
>
>    --joey
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users




More information about the Gluster-users mailing list