How can I fix an ungodly amount of broken symbolic links?
Hi, I attempted to install the 2.6 kernel on my machine I'm running slackware 9.1 with the 2.4.26 kernel installed prior to this (it's still there).
I (ha ha) thought things went smoothly, it turns out they did not. as i attempted to lsmod I received the following message:
Kernel requires old lsmod, but couldn't run lsmod.old: Too many levels of symbolic links
then the following as root to look for broken symbolic links:
( find / -type l | xargs file ) | grep 'broken symbolic link'
ooh.. I was slack-jawed at the results.. tons.
I've been poking around the web looking, reading and questioning for what i've done/not done to have made this happen, and how I can repair it. If someone could pass along some advice on this I would truly appreciate it.
For example try this as user, in your home directory (you need write access):
As for broken links, I tried that command on my system, and counted the number of broken symbolic links:
$ ( find / -type l | xargs file ) | grep 'broken symbolic link' | wc -l
So I guess it's normal and nothing to worry about!
|All times are GMT -5. The time now is 05:16 PM.|