Hello, On Wed, 25 Dec 2013, jdd wrote:
I want to use this view to know what application come from what repo.
rpm -qa --qf '%{distribution} %{packager} %{name}-%{version}\n' |sort|less The "Packager" tag is only in there because Packman is split into Essentials/Extra/Games/Multimedia (but can be recognized by packager being "packman@links2linux.de"). I've seen you've found a solution with zypper, but it is definitely worthwhile acquainting yourself with rpm's query features. For starters, have a look at 'rpm --querytags'. For using that stuff, have a look at http://www.rpm.org/max-rpm-snapshot/ch-rpm-query.html ff. and http://www.rpm.org/max-rpm-snapshot/s1-rpm-query-parts.html for basics and http://rpm.org/wiki/Docs/QueryFormat for the hopefully up-to-date stuff. rpm is probably one of the most underrated (und underused) programs. And yes, it's a bit slow. Probably should discontinue using BerkleyDB files and/or optimize queries to those files (haven't looked at a ltrace of rpm yet (seems all in "rpmcliQuery")), as any 'rpm -qa' seems mighty slow for just ~4400 installed packages. HTH, -dnh PS: repeated 'rpm -qa |wc -l' result in ~2.4s real --
You can probably make sendmail play chess if you configure it right. Judging by its conf file it already does. Checkmate in 3 moves. -- Anthony Mandic in comp.sys.sun.admin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org