On 04/08/2015 12:27 PM, Carlos E. R. wrote:
On 2015-04-08 18:06, jdd wrote:
Le 08/04/2015 17:58, Carlos E. R. a écrit :
True. But the list doesn't contain data as to what repo to obtain each package from, and that is a problem when we use alternate repos for the same packages.
zypper lr should give a list that ca, be used to include them, isn't it? No. That produces a list of repos. We need a list of packages installed from each repo, separate.
I don't see that as a problem. Go back to the
This will get you a list of package names: rpm -qa --qf "%{NAME}">installed_rpms
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 -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org