come on, people!  look at the rpm man page - you can customize your
listings down to the fine details.  i have listed the contents of CD's
full of RPM's many times - i usually use something like:

rpm -q --queryformat "%{name} %{version}-%{release}
  \n\n%{description}\n\n\n" /mnt/cdrom/Redhat/RPMS/*.rpm | less 

(on one line, naturally) to get a nice, concise description of everything.

-matt

-----------------------------------------------------------------------------
Matthew Nelson
Dynamics Technology, Inc. 
21311 Hawthorne Blvd., Suite 300, Torrance, CA 90503-5610
Voice: (310) 543-5433   FAX: (310) 543-2117   Email: [EMAIL PROTECTED]

On Wed, 26 Apr 2000, Ron Golan wrote:

> On Wed, Apr 26, 2000 at 04:29:48PM -0400, Burke, Thomas G. wrote:
> > My point is, that if you did a full install, then these would be identical
> > 
> > > -----Original Message-----
> > > From:     Bob Rankin [SMTP:[EMAIL PROTECTED]]
> > > Sent:     Wednesday, April 26, 2000 3:26 PM
> > > To:       '[EMAIL PROTECTED]'
> > > Subject:  RE: 6.2 package list
> > > 
> > > On Wed, 26 Apr 2000, Burke, Thomas G. wrote:
> > > 
> > > > doesn't rpm -q tell you everything that's installed?
> > > 
> > > Yes, but I want to know everything that's on the CD, not just the
> > > installed packages.
> 
> how about
> 
> rpm -qip /mnt/cdrom/Redhat/RPMS/*.rpm > CD_RPMS
> 
> I'm not sure I have the capitalization correct on the path and it
> would be nice to have blank lines between packages. I'm sure a simple
> bash script could do this. 
> 
> -- 
> Ron Golan
> [EMAIL PROTECTED]
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to