How To Cleaning Up Old UEK Kernels? (Doc ID 2251330.1)

Last updated on APRIL 10, 2017

Applies to:

Linux OS - Version Oracle Linux 6.8 with Unbreakable Enterprise Kernel [3.8.13] and later
Linux x86-64

Goal

Normally running  "package-cleanup --oldkernels --count=2" purges any more than 2 kernels from the system. However this command does not work with UEK kernels.

This gives the steps to purge old UEK kernels.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms