Hi Paul, Thanks Very much. It worked. I never saw this in max-rpm. Can you tell me where I can get more info on RPM packaging. -- Regards S.Murali Krishnan > -----Original Message----- > From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On > Behalf Of Paul Nasrat > Sent: Thursday, September 07, 2006 7:48 PM > To: RPM Package Manager > Subject: 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 > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list