SCIENTIFIC-LINUX-USERS Archives

October 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Arnau Bria <[log in to unmask]>
Reply To:
Arnau Bria <[log in to unmask]>
Date:
Tue, 20 Oct 2009 16:54:19 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
Hi all,

I'd like to see package's arch when doing rpm -qa. I though it
was not possible, but when talking to other admin he sent me
this output:

> [root@wn060 ~]# rpm -qa | grep compat-gcc-34
> compat-gcc-34-g77-3.4.6-4.x86_64
> compat-gcc-34-c++-3.4.6-4.x86_64
> compat-gcc-34-3.4.6-4.x86_64

> [root@wn060 ~]# rpm --version
> RPM version 4.4.2.3

> [root@wn060 ~]# yum --version
> 3.2.19

> [root@wn060 ~]# cat /etc/redhat-release
> Scientific Linux SL release 5.3 (Boron)

He does not know why he see that output.

Now I'm on SL 5.3 but rpm does not show package arch:

# rpm -qa|grep compat-gcc-34
compat-gcc-34-g77-3.4.6-4
compat-gcc-34-3.4.6-4
compat-gcc-34-3.4.6-4
compat-gcc-34-g77-3.4.6-4
compat-gcc-34-c++-3.4.6-4
compat-gcc-34-c++-3.4.6-4

And I have same versions as him:

[root@td006 ~]# rpm --version
RPM version 4.4.2.3
[root@td006 ~]# yum --version
3.2.19
# cat /etc/redhat-release
Scientific Linux SL release 5.3 (Boron)

Anyone could help to get that output?

rpm should do it with no other options specified... The reason for that
is that we use puppet for configuring our nodes, and it uses rpm for
querying packages installed. If rpm does not answer with arch rpm does
not know if the package is 386 or 64 bits....

TIA,
Arnau

ATOM RSS1 RSS2