Shouldn MX Cleanup have an option to automatically delete old kernels after a user specified number of days ?

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Eadwine Rose
Administrator
Posts: 15223
Joined: Wed Jul 12, 2006 2:10 am

Re: Shouldn MX Cleanup have an option to automatically delete old kernels after a user specified number of days ?

#11 Post by Eadwine Rose »

One wants A, the other wants B.

We cannot please everyone. So, you'll have to stick with what we offer, or write your own.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Adrian
Developer
Posts: 9196
Joined: Wed Jul 12, 2006 1:42 am

Re: Shouldn MX Cleanup have an option to automatically delete old kernels after a user specified number of days ?

#12 Post by Adrian »

Eadwine Rose wrote: Tue Apr 29, 2025 11:25 am One wants A, the other wants B.

We cannot please everyone. So, you'll have to stick with what we offer, or write your own.
Or change the configuration to do whatever you want it to do. One could always enable a cron script to clean up the old kernels.

User avatar
DukeComposed
Posts: 1506
Joined: Thu Mar 16, 2023 1:57 pm

Re: Shouldn MX Cleanup have an option to automatically delete old kernels after a user specified number of days ?

#13 Post by DukeComposed »

AA BB wrote: Tue Apr 29, 2025 11:11 am MX Cleanup keeping the current kernel plus one or two previous ones should be sufficient safety.
I look forward to seeing the patch you write to accomplish this.

retroD0d0
Posts: 82
Joined: Sat Aug 17, 2024 4:36 pm

Re: Shouldn MX Cleanup have an option to automatically delete old kernels after a user specified number of days ?

#14 Post by retroD0d0 »

m_pav wrote: Tue Apr 29, 2025 1:40 am With Linux, unlike MS and Apple, YOU are the highest level Administrator, nobody trumps you, therefore, with great power comes great responsibility and accountability for your own machine, which means you have the job of a systems administrator, maintaining your own machine/s ;)

To give that away as a Linux user is to reduce yourself to the level of a fish in a bowl, in other words, the equivalent to a Windows home edition or an Apple user :lockedup:
Myself, I would suggest there is some merit, and dare I say elegance, in the notion of an OS optionally capable of autonomous housekeeping. I am proudly a GNU/Linux evangeliser and like to install linux on old PCs of my family and friends when their backs are turned.(I have considered breaking into their houses at night but it is difficult with the ankle tag). A 'fire and forget' approach to installation really helps in this regard, knowing I can install an OS allow people to explore/tinker it and know it can maintain itself optimally in the long with minimal instruction. It eases the dilemna of then being a free of charge system administrator to everyone (I barely know what I'm doing myself).

In a recent update to network drivers, I was regretting not uninstalling old kernels as they needed rebuilding, it took a long time on my Potato. To the uninformed a slow update may bemuse/unimpress, not to mention the extra disk space used. I think AA BB's point is not totally invalid, he was tabling a suggestion not a demand. If a kernel; hasn't been used after a contiguous period of say 'six' months of use, may it be considered superfluous and a candidate for automated removal?

Debian has the luxury of being able to delegate such responsibilities to their tech fluent audience, isn't MX a little more broad in its appeal? Or do I have it wrong? Maybe I do. Judging by the forums, MX is not a 'My First Linux' type of experience. I can appreciate the approach you take in that respect, m_pav.
Eadwine Rose wrote: Tue Apr 29, 2025 11:25 am One wants A, the other wants B.

We cannot please everyone. So, you'll have to stick with what we offer, or write your own.
:number1: I see what you did there!
Last edited by retroD0d0 on Tue Apr 29, 2025 7:14 pm, edited 2 times in total.

retroD0d0
Posts: 82
Joined: Sat Aug 17, 2024 4:36 pm

Re: Shouldn MX Cleanup have an option to automatically delete old kernels after a user specified number of days ?

#15 Post by retroD0d0 »

AA BB wrote: Tue Apr 29, 2025 11:11 am If MX Cleanup cant safely remove large amounts wasteful disk space it should be eliminated.
I dont see how saving every previous Linux kernel insures system safety,
MX Cleanup keeping the current kernel plus one or two previous ones should be sufficient safety.

PS: Today's update to MX Cleanup has eliminated ALL out-of-date kernel removal... overkill, for sure
MX devs aren't that spiteful ;) it's just moved to another tab. You had me worried for a minute there too devs :eek:

User avatar
oops
Posts: 2020
Joined: Tue Apr 10, 2018 5:07 pm

Re: Shouldn MX Cleanup have an option to automatically delete old kernels after a user specified number of days ?

#16 Post by oops »

retroD0d0 wrote: Tue Apr 29, 2025 6:49 pm....
...
In a recent update to network drivers, I was regretting not uninstalling old kernels as they needed rebuilding, it took a long time on my Potato. To the uninformed a slow update may bemuse/unimpress, not to mention the extra disk space used. I think AA BB's point is not totally invalid, he was tabling a suggestion not a demand. If a kernel; hasn't been used after a contiguous period of say 'six' months of use, may it be considered superfluous and a candidate for automated cleanup?

Debian has the luxury of being able to delegate such responsibilities to their tech fluent audience, isn't MX a little more broad in it's appeal? Or do I have it wrong? Maybe I do. Judging by the forums, MX is not a 'My First Linux' type of experience. I can appreciate your line of thinking you take in that respect, m_pav.
...
However can be an interesting option for novices (as option for a self administration), why not.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

User avatar
Adrian
Developer
Posts: 9196
Joined: Wed Jul 12, 2006 1:42 am

Re: Shouldn MX Cleanup have an option to automatically delete old kernels after a user specified number of days ?

#17 Post by Adrian »

retroD0d0 wrote: Tue Apr 29, 2025 7:07 pm MX devs aren't that spiteful ;) it's just moved to another tab. You had me worried for a minute there too devs :eek:
I moved those buttons to a separate tab because people with low resolution/small screens had problem seeing the entire interface.

Post Reply

Return to “MX Help”