[opensuse] multiple drm-kmp packages installed - leftovers - trash - remove?

Hi, leap 42.3 with kernel updates constantly coming in. I kind of remove older kernel-default-xxxx packages when the new kernel proved as a success. there was even some cleanup script or something that removes or purges old kernel packages when there are too many. now I wonder what those drm-kmp-default-xxxxx packages are exactly about, why there are so many and why they not getting cleaned up just the same? do I need them all? do I need them at all? why are they not being cleaned up as well? can I remove all but the highest build latest number? drm-kmp-default-4.9.33_k4.4.79_4-5.2.x86_64 drm-kmp-default-4.9.33_k4.4.120_45-10.2.x86_64 drm-kmp-default-4.9.33_k4.4.126_48-13.3.x86_64 drm-kmp-default-4.9.33_k4.4.76_1-3.2.x86_64 thank you. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 19/04/18 10:18, cagsm wrote:
Hi,
leap 42.3 with kernel updates constantly coming in. I kind of remove older kernel-default-xxxx packages when the new kernel proved as a success.
there was even some cleanup script or something that removes or purges old kernel packages when there are too many.
now I wonder what those drm-kmp-default-xxxxx packages are exactly about, why there are so many and why they not getting cleaned up just the same?
do I need them all? do I need them at all?
why are they not being cleaned up as well? can I remove all but the highest build latest number?
drm-kmp-default-4.9.33_k4.4.79_4-5.2.x86_64 drm-kmp-default-4.9.33_k4.4.120_45-10.2.x86_64 drm-kmp-default-4.9.33_k4.4.126_48-13.3.x86_64 drm-kmp-default-4.9.33_k4.4.76_1-3.2.x86_64
thank you.
From some notes I made or copied a while ago: To ensure old kernels are purged, check /etc/zypp/zypp.conf for the lines multiversion = provides:multiversion(kernel) and multiversion.kernels = latest,latest-1,running and ensure both are uncommented. (Refer to https://lizards.opensuse.org/tag/kernel-update/) You will possibly need to create an empty file in /boot named do_purge_kernels, then run (as root): systemctl enable purge-kernels Check the status by running: systemctl status purge-kernels If this shows 'inactive (dead)' or not enabled, it may be simply because there are no kernels to purge. gumb -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 2018-04-19 12:11, gumb wrote:
On 19/04/18 10:18, cagsm wrote:
Hi,
leap 42.3 with kernel updates constantly coming in. I kind of remove older kernel-default-xxxx packages when the new kernel proved as a success.
there was even some cleanup script or something that removes or purges old kernel packages when there are too many.
now I wonder what those drm-kmp-default-xxxxx packages are exactly about, why there are so many and why they not getting cleaned up just the same?
do I need them all? do I need them at all?
why are they not being cleaned up as well? can I remove all but the highest build latest number?
drm-kmp-default-4.9.33_k4.4.79_4-5.2.x86_64 drm-kmp-default-4.9.33_k4.4.120_45-10.2.x86_64 drm-kmp-default-4.9.33_k4.4.126_48-13.3.x86_64 drm-kmp-default-4.9.33_k4.4.76_1-3.2.x86_64
thank you.
From some notes I made or copied a while ago:
To ensure old kernels are purged, check /etc/zypp/zypp.conf for the lines
multiversion = provides:multiversion(kernel) and multiversion.kernels = latest,latest-1,running
and ensure both are uncommented. (Refer to https://lizards.opensuse.org/tag/kernel-update/)
You will possibly need to create an empty file in /boot named do_purge_kernels, then run (as root):
systemctl enable purge-kernels
And then use "systemctl start purge-kernels" to run it once instead of waiting for next boot. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (3)
-
cagsm
-
Carlos E. R.
-
gumb