LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2018, 05:52 AM   #16
Pythagorus
LQ Newbie
 
Registered: Feb 2018
Posts: 3

Rep: Reputation: Disabled
Culprit is Lib Modules


I use Mint and the kernel regularly updates. I delete obsolete versions of Vmlinuz etc from /boot manually, as well as cleaning out /var/chache/apt/archives rm *.deb but I was unaware that Lib Modules was so big. I tried a few suggestions from some of the posts in this thread, what worked for me was running / # du | sort -rn > /tmp/greedy.txt I just freed up over 4 gig by deleting old versions. Thanks everyone for your help.
 
Old 02-15-2018, 04:45 PM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,670

Rep: Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487
Quote:
I delete obsolete versions of Vmlinuz etc from /boot manually,
Are you sure this is the correct method?
I don't know about Debian based systems, but on yum/rpm based ones, you would use yum to remove old kernels, inc dependencies, rather that just random stuff manually.
Does Debian pkg mgr not do that ??
 
Old 03-07-2018, 01:28 AM   #18
Pythagorus
LQ Newbie
 
Registered: Feb 2018
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
Are you sure this is the correct method?
I don't know about Debian based systems, but on yum/rpm based ones, you would use yum to remove old kernels, inc dependencies, rather that just random stuff manually.
Does Debian pkg mgr not do that ??

I raised this in Linux Mint forums Another user commented that with all the minor kernel updates he thought there should be something in update manager. So the point has been raised, thanks again.

https://forums.linuxmint.com/viewtop...?f=18&t=265176
 
Old 03-08-2018, 10:44 PM   #19
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,670

Rep: Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487
ok - also in /etc/yum.conf we have
Code:
installonly_limit=3
which automatically limits installed kernels to last ie newest 3.
It auto purges oldest when you install a '4th', so you never actually need to run yum manually to reduce kernels
 
Old 03-09-2018, 06:27 AM   #20
Pythagorus
LQ Newbie
 
Registered: Feb 2018
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
ok - also in /etc/yum.conf we have
Code:
installonly_limit=3
which automatically limits installed kernels to last ie newest 3.
It auto purges oldest when you install a '4th', so you never actually need to run yum manually to reduce kernels
Hi Thanks,

Mint does not use YUM, in looking in /etc I did find a generated file /etc/apt/apt.conf.d/01autoremove-kernels which is created by
/etc/kernel/postinst.d/apt-auto-removal
There was mention on #lines about keeping 4 kernels, but this hasn't been my experience, My linux progaming skills extend to simple scripts, however I will pass this over to Mint Forums. Thanks indeed, the answer is there somewhere.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ClamAV files filling up disk space noir911 Linux - Server 5 10-10-2008 05:04 AM
ksymoops log filling disk to 100% lobo78 Linux - General 0 06-26-2004 12:04 PM
Something's Wrong! kaz4u2dig Linux - Newbie 2 01-27-2004 07:28 AM
Something's wrong, i know it soulsniper Linux From Scratch 2 10-18-2003 03:08 PM
Something's gone horribly wrong zikhermm Linux - General 4 08-13-2001 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration