[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: OBSOLETES tag



On Thu, 2006-09-07 at 19:33 +0530, Murali Krishnan wrote:
> Hi all,
> 

> 
> $ rpm –qp samplepkg-6.0.0-01.i386.rpm –queryformat ‘%{OBSOLETES}\n’ 
> 
> testpkg
> 
> $ rpm –qp samplepkg-6.0.0-01.i386.rpm –queryformat ‘%{CONFLICTS}\n’

Obsoletes and conflicts are lists - use the list iterator syntax:

rpm --queryformat '[%{OBSOLETES}\n]' -q foo

See also the popt aliases in /usr/lib/rpm.../rpmpopt for further
examples.

Paul


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]