On Fri, Aug 01, 2008 at 03:26:53PM +0200, Michael Roberts wrote:
How can I best find out whether anything currently installed on the system is coming from a particular repository?
With a bit of luck, rpm --queryformat can help you. With: $ rpm -q --queryformat "%{name} -- Distribution: %{distribution} Vendor: %{vendor}\n" <any packman package> you can check what packman writes into the Distribution: and Vendor: tags of their package, and if any of it is usable for your search. Then with a rather brute-force (for example) $ rpm -q --queryformat "%{name}: %{distribution}\n" | grep <repository-name> you can search all your packages. This example assumes that packman writes repository info into Distribution, which I actually don't know. The build service uses that tag. A list of all tags usable with --queryformat is available with: $ rpm --queryformat hope that helps, Sonja -- Sonja Krause-Harder (skh@suse.de) SUSE Research & Development ----------------------------------------------------------------- SUSE Linux Products GmbH GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org