Mailinglist Archive: opensuse-factory (454 mails)

< Previous Next >
Re: [opensuse-factory] Zypper: list packages installed from a repository?
zypper lr
zypper se -i -r <number of repo>

On 2017-12-05 12:39, Tom Hardy wrote:
So far I've got "zypper se -is .* | grep <repository>", e.g.:

zypper se -is .* | grep Hardware
i+ | android-tools | package |
| x86_64 | Hardware-Tumbleweed
i+ | heimdall | package |
| x86_64 | Hardware-Tumbleweed
i+ | heimdall-frontend | package |
| x86_64 | Hardware-Tumbleweed

It works well if the repository name is unique to the whole list; helpful even
if it's not. But I'm wondering if I'm missing a way for zypper to do it

List all sources of a package: "zypper se -s <package> | grep ^[iv]"

Same caveat, but it often won't be a clean list.

Are there any other zypper tricks I should know?

Tom Hardy <rhardy702@xxxxxxxxx>
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >