PDA

View Full Version : SLES 12 Remove orphans



christer_solskogen
22-Oct-2015, 11:26
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.

Franz Sirl
22-Oct-2015, 15:50
Am 2015-10-22 um 12:34 schrieb christer solskogen:
>
> 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.

Hello Christer,

try

zypper se -s | grep "System Pa"

to get an overview.

Franz.

christer_solskogen
27-Oct-2015, 19:08
What am I looking for? I get a bunch of packages with that command, like the kernel.

smflood
28-Oct-2015, 14:39
On 27/10/2015 18:14, christer solskogen wrote:

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

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.
------------------------------------------------------------------------