Hello, On Wed, 08 Apr 2015, Carlos E. R. wrote:
On 2015-04-08 18:48, Anton Aylward wrote:
On 04/08/2015 12:27 PM, Carlos E. R. wrote: [..] Now use that file with a foreach script that runs
zypper info
on each one. That will tell you repository it came from.
Run that output though SED to extract the relevant info and you have the package + repository
That can take hours to run, provided I could code it.
Try zypper pa -iN | tr -d '|' | \ awk -F' ' '$1 == "i" {printf("%s\t%s\t%s\n", $3, $2, $5); }' (or start with a file for each repo, e.g. 'zypper pa -i -r Packman |...') Or rather: let zypper write a file first and then work on that or those. HTH, -dnh -- If only I'd spent some of that effort on chasing girls. But then, it's much easier to understand a polysubstitution cypher than a female. -- Robert Uhl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org