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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to