On 9/15/25 3:42 PM, Michael D. Setzer II wrote:
On 15 Sep 2025 at 14:57, Samuel Sieb wrote:

"find / -xdev -xtype l" might be a better option.  It will exclude /run,
/proc, /sys, /home (if mounted separately), any external drives, etc.

Thanks for quick reply. Will take a look at it.
The badlinks-clean has lots in ./usr/lib/.build-id/

cat badlinks-clean | grep ./usr/lib/.build-id/ | wc -l
123

You definitely don't want to delete those ones.  Those are part of packages.

For example I have this:
/usr/lib/.build-id/06/2c544875e9e66357e278e0aa06b8ac395f9251 -> ../../../../usr/lib64/ImageMagick-7.1.1/modules-Q16HDRI/coders/heic.so It's dangling because I haven't installed the "heic" module for ImageMagick that would provide that library.

This command might provide some more info:
find / -xdev -xtype l -print0 | xargs -0 rpm -qf | grep "not owned"

It will list the dangling symlinks that aren't owned by any package.
But still don't delete them unless you know what they are.

--
_______________________________________________
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