Cleaning system - orphaned packages

Hi,

Context: I’m considering removing Packman (separate thread) and I’m concerned about orphaned packages.

I noticed these orphaned packages - @System “repository.” Leave them be?

:~> zypper packages --orphaned
Loading repository data...
Reading installed packages...
S  | Repository | Name                              | Version                                 | Arch
---+------------+-----------------------------------+-----------------------------------------+-------
i  | @System    | libgpgme11                        | 1.24.3-2.1                              | x86_64
i  | @System    | libgpgmepp6                       | 1.24.3-2.1                              | x86_64
il | @System    | libnsl1                           | 2.38-150600.12.1                        | x86_64
i  | @System    | libopenh264-7                     | 2.3.1-2.suse1699.101                    | x86_64
i  | @System    | libpoppler146                     | 25.02.0-1.2                             | x86_64
i  | @System    | libpoppler147                     | 25.03.0-1.1                             | x86_64
i  | @System    | libwx_baseu-suse-nostl14_0_0      | 3.2.6-4.1                               | x86_64
i  | @System    | libwx_baseu_net-suse-nostl14_0_0  | 3.2.6-4.1                               | x86_64
i  | @System    | libwx_baseu_xml-suse-nostl14_0_0  | 3.2.6-4.1                               | x86_64
i  | @System    | libwx_gtk3u_core-suse-nostl14_0_0 | 3.2.6-4.1                               | x86_64
i  | @System    | libwx_gtk3u_html-suse-nostl14_0_0 | 3.2.6-4.1                               | x86_64
i  | @System    | libwx_gtk3u_qa-suse-nostl14_0_0   | 3.2.6-4.1                               | x86_64
i  | @System    | libx264-164                       | 0.164+git20231001.31e19f92-1699.1.pm.26 | x86_64
i  | @System    | libx265-209

Thanks.

Oh, I see libnsl1 is installed - I need that for my VPN. Maybe I should leave it alone.

Those are only available on Packman (patent encumbered coders), only you can know if you need those or not.
You already explained for libnsl1.
The others are just obsolete versions of packages you should already have with newer versions; I think that you may uninstall them unless you need older versions for other old apps still installed, but trying to remove should raise a conflict if that is the case.

You can try:

zypper dup --dry-run --remove-orphaned

and check whether you like what it will do. It should leave “libnsl1” because that is needed.

If you like what it wants to do, then repeat the command but without the “--dry-run”.

1 Like

Thank you gentlemen for your help. I’ll report back if I have issues (I can’t zypper dup yet because Packman has issues). Ah, what a plonker - if I remove Packman as I broached in this thread, I should be good.