Thanks to all folks who have responded to my request! 

I have following question to clarify myself.

I usually run 'rpm -qi pkgname' and it gives details regarding the package 
installed. I was wondering if there was way to tell by looking at the output of 
the command (rpm -qi) if its 32 or 64bit RPM package instead of using querytype 
option to find about it.

Sorry If my question sounds incorrect.

Thank you,
AN




From: kickstart-list-requ...@redhat.com
Subject: Kickstart-list Digest, Vol 71, Issue 5
To: kickstart-list@redhat.com
Date: Sat, 16 Jan 2010 12:00:07 -0500

Send Kickstart-list mailing list submissions to
        kickstart-list@redhat.com
 
To subscribe or unsubscribe via the World Wide Web, visit
        https://www.redhat.com/mailman/listinfo/kickstart-list
or, via email, send a message with subject or body 'help' to
        kickstart-list-requ...@redhat.com
 
You can reach the person managing the list at
        kickstart-list-ow...@redhat.com
 
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Kickstart-list digest..."


--Forwarded Message Attachment--
From: pbdli...@pinboard.com
To: kickstart-list@redhat.com
Date: Fri, 15 Jan 2010 21:08:13 +0100
Subject: Re: Installing 32 & 64 bit package

Hi Arvind,
 
On Fri, Jan 15, 2010 at 02:35:28PM -0500, Arvind Navale wrote:
> 
> Hi Folks,
> 
> I am kickstart a server with a custom profile where I have RPM package names 
> listed in it instead or going with Core, Base or Everything. In the kickstart 
> configuration I am specifying initial name of the RPM and apparently see that 
> only one RPM package gets installed (not sure if its 32 or 64 bit). So 
> basically I wanted to know,
> 
> 1. What entries are needed in kickstart config file in order to install both 
> 32 and 64 bit RPMs.
 
I don't know the proper format by heart, but there is a way to specify
the architechture. Something like
 
  pkgname.i386
  pkgname.x86_64
 
Don't know, however whether the same work for package groups.
 
if you want to install packages of a certain architecture by hand or in
the %post section, you'd use:
 
  rpm -i --arch=i386 pkgname
  rpm -i --arch=x86_64 pkgname
  yum install pkganem.i386
  yum install pkgname.x8664
 
> 2. When I run 'rpm -qi' for a RPM package name how can I tell which one is 
> the information for 32 or 64 bit.
 
You might want to try the following:
 
  rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"
 
To get a list of all the tags available use
 
  rpm --querytags
 
Cheers,
 
Kurt
 
 
                                          
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/196390709/direct/01/
_______________________________________________
Kickstart-list mailing list
Kickstart-list@redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list

Reply via email to