On Fri May01'26 05:04:40AM, Community Support for Fedora Users wrote: > From: "Michael D. Setzer II via users" <[email protected]> > Date: Fri, 1 May 2026 05:04:40 +1000 > To: Joe Zeff <[email protected]>, Community support for Fedora users > <[email protected]> > Cc: "Michael D. Setzer II" <[email protected]> > Reply-To: [email protected], Community support for Fedora users > <[email protected]> > Subject: Re: dnf update on F43 says not enough space! > > On 30 Apr 2026 at 11:39, Joe Zeff wrote: > > Date sent: Thu, 30 Apr 2026 11:39:30 -0600 > Subject: Re: dnf update on F43 says not enough space! > To: [email protected] > From: Joe Zeff <[email protected]> > Send reply to: Community support for Fedora users > <[email protected]> > > > On 4/30/26 5:26 AM, Barry wrote: > > > Why not use dnf to remove the old kernels? e.g. dnf remove > > > kernel-core-<version> > > > Manually rm’ing can lead to issures later on. > > > > Back in 2011, somebody wrote a Python script, kernel-prune.py, to get > > rid of excess kernels and the support files that go with them because > > some users were having space issues. I'm attaching it to this email so > > that anybody who feels the need can use it to clean up. If memory > > serves, it defaults to leaving you with three, but you can specify on > > the command line how many you want. Just be sure to back up first in > > case things have changed to the point that it doesn't work properly. > > Share and enjoy! > > Why not just change the line in at /etc/dnf/dnf.conf > installonly_limit=3 > > to a lower value? If one doesn't have the space in /boot > Changing this to 2 is a simple change?
So, my /etc/dnf/dnf.conf file only has the following two lines. # see `man dnf.conf` for defaults and possible options [main] Would I put it after the [main] header? Ranjan -- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
