[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpm -qg Development/* ?
- From: Jeff Johnson <jbj redhat com>
- To: rpm-list redhat com
- Subject: Re: rpm -qg Development/* ?
- Date: Sat, 11 May 2002 18:33:58 -0400
On Sat, May 11, 2002 at 02:58:01PM -0600, Rob Nagler wrote:
> Jeff Johnson writes:
> > rpm -qag | grep 'Development/*'
>
> rpm 4.0.4 gives me:
>
> rpmq: one type of query/verify may be performed at a time
Hmm, there was some problem with returning empty results taht was
fixed in the last month or so. Try rpm-4.0.4 from the 7.3 release (but
the problem may exist in 7.3, I fergit).
>
> What I'm trying to do is:
>
> rpm -qa --queryformat '%30{group} %{name}-%{version}-%{release}\n' | grep Development/
>
> but in a reasonable shorthand. There are a number of queries like
> this, e.g. find all packages from a vendor. It probably doesn't make
> sense to build us into RPM.
Certainly no reason to build into rpm, but you might want to
use some popt aliases to minimize typing. See /usr/lib/rpm/rpmpopt
for examples like --info, --requires, etc.
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]