On Tuesday, 01 June 2004, at 17:19:39 (+0300), Andrei Tarassov wrote: > Is there any way to query a package or the RPM database for the list > of "Conflicts" and "Obsoletes"? > > I know this is possbile through APIs, but I need the command line > variant, e.g. rpm -qa --queryformat "%{obsoletes}" > > The variant above will work, but it will display only one record. Is > it anyhow possible to list several records within one package? rpm -qa --qf '[%{obsoletes}\n]' rpm -q --qf '[%{obsoletes}\n]' bash Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <mej@xxxxxxxxx> n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) ----------------------------------------------------------------------- "What kind of a person would spend the equivalent of 2 years painting her face, pluck out her eyebrow hairs, and plant silicone or saline into her chest? There is a name for this kind of person: woman. She does all these things because men, we like it. Don't talk to me about equality." -- Greg Germann (Richard Fish), Ally McBeal _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list