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 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list