On 12/5/26 23:23, ToddAndMargo wrote:
Hi All,
Anyone know of a utility to clean up all the leftover
orphaned garbage from /boot?
Yours in Frustration,
-T
Marco Moock
6 Dec 7:36 a.m.
Am 06.12.26 um 08:23 schrieb ToddAndMargo via users:
...
What garbage exactly?
Old kernels?
dnf can remove them:
https://www.golinuxcloud.com/remove-old-kernels-linux-dnf-yum/
Hi Marco,
Thanks for the reply.
Yes, old kernels are part of what I'm referring to, but the issue
is a little broader than that.
By orphaned, I mean files and directories left behind in /boot
that are no longer owned or tracked by any installed RPM
package. In other words, remnants of previous kernel installations,
upgrades, removals, or other operations that have accumulated
over time. (I had leftovers from fc39, 43, and 43, plus a
bunch of other junk that filled my /boot partition that rpm/dnf
did not know about.)
DNF is great at removing packages it knows about, including old
kernels. However, it can't remove files it doesn't know exist
because they're no longer associated with an installed package.
What I'm looking for is a way to identify and clean up those
untracked leftovers without accidentally removing anything
still needed to boot the system.
Hopefully that clarifies what I mean by orphaned garbage.
Thanks!
-T
--
_______________________________________________
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