https://bugzilla.redhat.com/show_bug.cgi?id=1952656
Aner Perez aner@mi-bohio.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aner@mi-bohio.net
--- Comment #1 from Aner Perez aner@mi-bohio.net --- I just did an upgrade to Fedora 36 and running "sudo symlinks -r /usr" returned 210 results which were ALL symlinks installed by packages on the system.
I don't think this step is very useful but if trying to be thorough, the following shell command would only list the dangling symlinks that are NOT part of an installed package.
sudo symlinks -r /usr |awk -F'dangling: ' '/^dangling/ { split($2,symlinkparts," -> "); RET=system("rpm -q -f " symlinkparts[1] "
/dev/null"); if (RET != 0) print symlinkparts[1] }'