repoquery/yum latest_and_not_obsoleted?

Axel Thimm <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Hi,

for running bcfg2 or also maybe other configuration engines checking
the package install status one needs a list of valid packages for that
repo. Ideally there would be a command to query all packages in the
repos like yum does, but only show the latest and the ones not
obsoleted by other packages, e.g. what yum uses in its final rounds.

I know about yum list all and repoquery, but I would still need to
sort by evr, remove all but the latest and then check for
obsoletes/conflicts etc. I guess I would need something like yum
install '*' into an empty chroot, but in a repoquery like formated
manner. Any ideas on how to do this?
-- 
Axel.Thimm at ATrpms.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.