Found one more with a little help:
1. Change Directory To /usr/src
cd /usr/src
2. Check for symlink (ex. /usr/src/linux->/usr/src/linux-2.4.18)
ls -alc
3. Double check with this command (output ex.) linux: symbolic link to linux-2.4.18-14
file linux
4. Remove the symlink
rm linux
---------------------------------
Here's what it did for me:
im@linux:~> cd /usr/src
jim@linux:/usr/src> ls -alc
total 1
drwxr-xr-x 7 root root 272 2005-02-20 12:44 .
drwxr-xr-x 13 root root 368 2005-02-23 14:13 ..
drwxr-xr-x 23 root root 696 2005-02-23 19:07 kernel-modules
lrwxrwxrwx 1 root root 17 2005-02-19 16:51 linux -> linux-2.6.8-24.11
drwxr-xr-x 3 root root 72 2005-02-19 16:51 linux-2.6.8-24
drwxr-xr-x 20 root root 712 2005-02-20 12:44 linux-2.6.8-24.11
drwxr-xr-x 3 root root 72 2005-02-20 12:44 linux-2.6.8-24.11-obj
lrwxrwxrwx 1 root root 21 2005-02-19 16:51 linux-obj -> linux-2.6.8-24.11-obj
drwxr-xr-x 7 root root 168 2005-02-19 15:22 packages
jim@linux:/usr/src> file linux
linux: symbolic link to `linux-2.6.8-24.11'
jim@linux:/usr/src>
If I wanted to get rid of this symlink = rm linux & then I would have to go and shoot myself.
Hope this helps.
|