https://bugzilla.novell.com/show_bug.cgi?id=818503 https://bugzilla.novell.com/show_bug.cgi?id=818503#c7 --- Comment #7 from Michael Andres <ma@suse.com> 2014-07-10 17:53:10 CEST --- If you're using a recent libzypp, the `zypp-NameReqPrv` command might already be available on your systems. It's a quick hack we use when investigating solver testcases. But it has little overhead and it basically does what we need: Usage: NameReqPrv [--root ROOTDIR] [OPTIONS] NAME... [[OPTIONS] NAME...]... Load all enabled repositories (no refresh) and search for occurrences of NAME (regex) in package names, provides or requires. --root Load repos from the system located below ROOTDIR. If ROOTDIR denotes a sover testcase, the testcase is loaded. --installed Process installed packages only. -i/-I turn on/off case insensitive search (default on) -n/-N turn on/off looking for names (default on) -p/-P turn on/off looking for provides (default off) -r/-R turn on/off looking for requires (default off) -c/-C turn on/off looking for conflicts (default off) -o/-O turn on/off looking for obsoletes (default off) -m/-M turn on/off looking for recommends (default off) -s/-S turn on/off looking for supplements (default off) -a short for -n -p -r -A short for -n -P -R -D <pkg> dump dependencies of <pkg> It supports --root and --installed (up/rm); per default searches case insensitive for package names matching a regexp and prints the result in a pretty ugly format. zypp-NameReqPrv '^zypp' The 270 lines of code could easily serve as template for a zypp-complete command, producing more suitable output. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.