Maui
Board Index divider Search Member List Help
Hello There, Guest! Login Register
Login
Username:
Password: Lost Password?
 
Maui Forums › Maui Support › Software & Applications › (Solved) How I can remove safely old kernels ?

(Solved) How I can remove safely old kernels ?
fanisatt Offline
Island Intermediate
****
Joined: Sep 2016
Posts: 133
#1
2nd March 2017, 13:12 (This post was last modified: 3rd March 2017, 7:11 by fanisatt.)
I always take the updates with the update manager and I avoid the sudo apt-get update / dist-upgrade commands. I also avoid the sudo apt-get autoremove command !
I notice that there are many old kernels in the disk and I think that one-two older kernel packages are useful (the user can boot with an older kernel) but, I assume that all these older kernels keeping in the disk are not useful... To the contrary , some day all these kernel packages in a semi-rolling OS may cause a disk capacity issue (for a specific disk partition) and a system failure too.
So...I think I have to remove some old kernels with safety but I don't know how to do it .
Perhaps , packagers can examine the feasibility for automatic deletion of older kernel packages by the update manager application.
Any help please ?
Thanks.
Best Regards !
Find
Reply
rocky7x Offline
Island Inhabitant
*****
Joined: Jul 2016
Posts: 344
#2
2nd March 2017, 14:15
Hi, I do it by going into Synaptic and cleaning all kernels that get into Autoremove section. This way I end up always with 2 kernels: current and one version before.
Find
Reply
XC-DH_Oldie Offline
Survivor
*
Joined: Aug 2016
Posts: 18
#3
2nd March 2017, 19:15
Hi,

@fanisatt,

why do not you use the command


Code:
sudo apt-get autormove


i had so far no problems with it ?
[Image: 28781183fg.png]
Website Find
Reply
fanisatt Offline
Island Intermediate
****
Joined: Sep 2016
Posts: 133
#4
2nd March 2017, 20:40
@rocky7x
Thank you rocky , I did it as you said with synaptic and after this I run sudo update-grub .
Find
Reply
fanisatt Offline
Island Intermediate
****
Joined: Sep 2016
Posts: 133
#5
2nd March 2017, 20:43
@ XC-DH_Oldie
Thank you for the response !
I read that sometimes it is not safe to use this command.
There are many references out there about bad situations after autoremove...
So , I had to ask !!
Best Regards !
Find
Reply
rocky7x Offline
Island Inhabitant
*****
Joined: Jul 2016
Posts: 344
#6
2nd March 2017, 21:26
Well in all years of my Linux experience I have never ever encountered a problem with autoremove Wink honestly, apt has never got me into trouble, on the contrary it always got me out of trouble Smile
Find
Reply
fanisatt Offline
Island Intermediate
****
Joined: Sep 2016
Posts: 133
#7
3rd March 2017, 0:00 (This post was last modified: 3rd March 2017, 7:12 by fanisatt.)
(2nd March 2017, 21:26)Rocky7x Wrote: Well in all years of my Linux experience I have never ever encountered a problem with autoremove Wink honestly, apt has never got me into trouble, on the contrary it always got me out of trouble Smile

Oh yes I understand your spirit and I agree but ....
Years and years as a Mint user and sometimes as a Debian stable user I was working safely with apt-get for the updates .
Here in MAUI I understood that it is better for me (a simple user) to get the updates with the update manager ! I have already read some articles about the differences and the advantages for a non experienced in Linux commands user.
I also use PCLINUX OS , a KDE semi-rolling distro and the normal / official update procedure there requires the exclusive use of synaptic  - generally the use of apt-get update / dist-upgrade commands is not the correct way (according to the official instructions) !!!
It is not so peculiar that nowadays things have changed in Linux and the Operating Systems are designed to be attractive , safe and simple for any computer user !
This is the reason I don't use any more the autoremove command , because it belongs to my responsibility !!
But , how responsible may be someone for things he doesn't know well ?

Good night !!
Find
Reply
« Next Oldest | Next Newest »


Possibly Related Threads…
Thread Author Replies Views Last Post
  same old tearing problem on nvidia MariusApo 7 21,523 23rd November 2016, 23:38
Last Post: leszek
  Thunderbird its very old wonder 23 73,703 22nd October 2016, 11:04
Last Post: leszek

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

  • Contact Us
  • Maui Forums
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 9th May 2025, 20:39 Powered By MyBB, © 2002-2025 MyBB Group.
Linear Mode
Threaded Mode