On 5 May 2026 at 19:58, Ranjan Maitra via users wrote: Date sent: Tue, 5 May 2026 19:58:30 -0500 To: [email protected], Community support for Fedora users <[email protected]> Subject: Re: dnf update on F43 says not enough space! Send reply to: Community support for Fedora users <[email protected]> From: Ranjan Maitra via users <[email protected]> Copies to: Ranjan Maitra <[email protected]>
> 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. Not sure were you are getting two lines from? It has a more. In my case the dnf.conf has. cat dnf.conf # see `man dnf.conf` for defaults and possible options [main] gpgcheck=True installonly_limit=3 clean_requirements_on_remove=True best=False skip_if_unavailable=True max_parallel_downloads=20 fastestmirror=False minrate=128K deltarpm=false Would just be to change it to cat dnf.conf # see `man dnf.conf` for defaults and possible options [main] gpgcheck=True installonly_limit=2 clean_requirements_on_remove=True best=False skip_if_unavailable=True max_parallel_downloads=20 fastestmirror=False minrate=128K deltarpm=false The installonly line is the only one that changes. Some of other lines may not be the original defaults? Don't remember Know I changed the max line to 20, but not sure of all the others. google search shows this as default? [main] gpgcheck=True installonly_limit=3 clean_requirements_on_remove=True best=True skip_if_unavailable=True > > # 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 +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:[email protected] mailto:[email protected] mailto:[email protected] Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ -- _______________________________________________ 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
