Remove orphans

Hi!

We’ve upgraded some SLES servers from 9.x to 10.x and over to 11.x. And I suspect that there is a lot of orphan packages laying around.
I know that with SLES 12 there’s a option in zypper for it. Does something like that exist in SLES 11?
And by orphan, I mean packages installed that are not in any of the current repositories. Packages that existed in 9 does not always exist in 11.

Am 2015-10-22 um 12:34 schrieb christer solskogen:[color=blue]

Hi!

We’ve upgraded some SLES servers from 9.x to 10.x and over to 11.x. And
I suspect that there is a lot of orphan packages laying around.
I know that with SLES 12 there’s a option in zypper for it. Does
something like that exist in SLES 11?
And by orphan, I mean packages installed that are not in any of the
current repositories. Packages that existed in 9 does not always exist
in 11.[/color]

Hello Christer,

try

zypper se -s | grep “System Pa”

to get an overview.

Franz.

What am I looking for? I get a bunch of packages with that command, like the kernel.

On 27/10/2015 18:14, christer solskogen wrote:
[color=blue]

What am I looking for? I get a bunch of packages with that command, like
the kernel.[/color]

If the last column of the output contains “(System Package)” (might be
plural) then that indicates the package was not installed from a
currently configured repository suggesting it has come from elsewhere.

Perhaps you could post the output here.

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.