Installed packages and extra modules?

Is there way to determine which packages installed on a box are from which package? Getting a notification that the “Legacy Module” is now deprecated and I’m trying to figure out if we have anything installed from it or we can just ignore this.

Thanks,
Matt

Hi Matt
Look at the options for zypper se…

zypper se --help

zypper se --provides /usr/bin/bash
i | bash | The GNU Bourne-Again Shell | package

zypper se --file-list /usr/bin/bash
i | bash | The GNU Bourne-Again Shell | package

Do you have a particular package/file in question?


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.90-18.32-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

On 06/11/17 17:04, skunkboy wrote:
[color=blue]

Is there way to determine which packages installed on a box are from
which package? Getting a notification that the “Legacy Module” is now
deprecated and I’m trying to figure out if we have anything installed
from it or we can just ignore this.[/color]

I think you’re asking which packages are installed from which module? If
so, modules show up as repos so you can do “zypper lr” to list all
repos. You can then do "zypper se -ir " (where is the
number of the repo corresponding to the Legacy Module) to list all
packages installed from that module.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

On 06/11/17 17:58, Simon Flood wrote:
[color=blue]

I think you’re asking which packages are installed from which module? If
so, modules show up as repos so you can do “zypper lr” to list all
repos. You can then do "zypper se -ir " (where is the
number of the repo corresponding to the Legacy Module) to list all
packages installed from that module.[/color]

Sorry, it’s actually simpler than this if you know the name of the
module. Note there should be two repos enabled for each module, -Pool
and -Updates just as per SLES12. You can use “zypper se -ir
SLE-Module-12-Pool -r SLE-Module--Updates”.

So to find out which packages have been installed from the Legacy Module
use “zypper se -ir SLE-Module-Legacy12-Pool -r SLE-Module-Legacy12-Updates”.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Uhm, yes, bad mangled my question, didn’t I… sigh…

Thanks!

Simon Flood Wrote in message:
[color=blue]

Sorry, it’s actually simpler than this if you know the name of the
module. Note there should be two repos enabled for each module, -Pool
and -Updates just as per SLES12. You can use “zypper se -ir
SLE-Module-12-Pool -r SLE-Module--Updates”.[/color]

Whoops that second -r should have been SLE-Module-12-Updates
so “zypper se -ir SLE-Module-12-Pool -r SLE-Module-12
-Updates”.
[color=blue]

So to find out which packages have been installed from the Legacy Module
use “zypper se -ir SLE-Module-Legacy12-Pool -r SLE-Module-Legacy12-Updates”.[/color]

At least I got it right above!

HTH.

Simon Flood
SUSE Knowledge Partner

----Android NewsGroup Reader----
http://usenet.sinaapp.com/