From: ronb02NOSPAM@gmail.com   
      
   On 2026-02-14, Stéphane CARPENTIER wrote:   
   > Le 14-02-2026, pothead a écrit :   
   >> On 2026-02-13, Stéphane CARPENTIER wrote:   
   >>> Le 13-02-2026, pothead a écrit :   
   >>>>   
   >>>> So under LinuxMint Cinammon how do I safely delete older kernels I don't   
   use   
   >>>> but are taking up space?   
   >>>> I remember trying this a year or two ago under MXLinux and the results   
   were a spectacular failure   
   >>>> so obviously I missed something :)   
   >>>> TIA   
   >>>   
   >>> I don't know cinamon and GUIs, but I guess Mint is either based on   
   >>> Ubuntu or on debian, so it uses apt.   
   >>> You should run "apt autoclean" and "apt autoremove" from time to time to   
   >>> remove old packages and necessary dependencies. Maybe it will clean your   
   >>> older kernels at the same time. I'd say it should but I'm not sure.   
   >>   
   >> Thank you!   
   >> Appreciate the advice.   
   >   
   > I'm not an expert of Ubuntu/Debian/Mint, so if I had to manage your   
   > computer, I'd first try to run   
   > ```apt update && apt upgrade && apt autoclean && autoremove```   
   > once a day to see what happens to the old kernels. If the old kernels   
   > are removed, so I would just keep doing that. But if that's not enough,   
   > you should find the Mint (maybe Ubuntu/debian) way to remove the old   
   > kernels for two reasons:   
   > - The kernels are stored in a limited partition separated from your main   
   > partition to be accessed by the UEFI. So if you should have well   
   > enough space for a normal usage, if you keep every old kernels   
   > accumulating, there will be a time where you won't have enough space   
   > on your partition.   
   > - The grub will have issues when it has to manage too many kernels. I   
   > don't know the limits, but if you have too many kernels, I saw some   
   > guys having trouble to add or remove some useless kernels. I'm not   
   > speaking about three or four kernels, but about dozens accumulated   
   > with time.   
      
   I don't do it every day, just once in a while, especially when I notice the   
   firmware is building for too many kernels. I think autoremove one time   
   removed about ten of them. Way too many. So about every other week I run   
   autoremove (I think it clears other stuff besides old kernels.)   
      
   --   
   "Not just insane... Trump insane."   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|