Re: /usr/lib/modules cleanup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/28/23 20:27, Michael D. Setzer II via users wrote:
On 28 Aug 2023 at 18:37, ToddAndMargo via users wrote:

Hi All,

Fedora 38

I got stuff all the way back to fc31.

Can I delete all the non fc38 directories?


Can't say sure, but what I have done on my machines.
I generally use /lib/modules that is link t /usr/lib/modules.

Generally found that only 3 of the directories are actually valid
linked to the 3 latest kernels. The other ones are generally much
smaller and just left offer stuff that somehow stopped the
automatic removal from working.

Thank you!

I used the following

# cd /usr/lib/modules
# mkdir temp
# mv $( ls | grep -i fc | grep -v fc38 ) /usr/lib/modules/temp/.

# ls /usr/lib/modules/temp | grep -i fc38
<nothing>

# ls
6.3.11-200.fc38.x86_64  6.4.10-200.fc38.x86_64  6.4.12-200.fc38.x86_64
6.3.12-200.fc38.x86_64  6.4.11-200.fc38.x86_64  temp
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux