beejayzed Posted March 11, 2004 Report Share Posted March 11, 2004 (edited) Today I tried to connect with kppp and it said unable to load libpcap.so.0. I tried to delete it but it tells me that I don't have permission to delete it,even if I am root! It seems as if it is supposed to be a link because in the rpm it is. In konqueror the file doesn't show but in Midnight Commander it shows but the entry is red. It says that it isn't a link. It seems as if it's corrupted, the date of the file is 1970! I did some investigating and in an attempt to fix it tried to uninstall the libcap package which includes the library. When I tried to install it, it refuses. So my question is, how do I delete this file? Maybe it would it invovle accessing the partitions raw contents? Please tell me all and any suggestions in as few posts as possible because I'm posting this message in windows because I can't connect(kppp doesn't work). Thanks to all in advance. Edited March 11, 2004 by beejayzed Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted March 11, 2004 Report Share Posted March 11, 2004 libpcap.so.0 is a symlink to the real libpcap.so.0.8 (version number may be different for you, depending on libpcap version). Did you successfully uninstall it? rpm -e --nodeps libpcap0-<<version>> you can get the version that is installed by rpm -qa | grep libpcap Then reinstall it. If it won't uninstall, you can navigate to the directory where the new version is (I'll assume /mnt/cdrom/Mandrake/RPMS): cd /mnt/cdrom/Mandrake/RPMS rpm -ivh --replacefiles --replacepkgs libpcap0-<<version...you can just hit TAB to autocomplete>> (You must be root to do all this) Quote Link to comment Share on other sites More sharing options...
beejayzed Posted March 11, 2004 Author Report Share Posted March 11, 2004 Yes I think it uninstalled everything except for the symlink. Quote Link to comment Share on other sites More sharing options...
beejayzed Posted March 11, 2004 Author Report Share Posted March 11, 2004 (edited) I will try the rpm commands when I reboot into linux, is there anything else that I could try(before I reboot)? Edited March 11, 2004 by beejayzed Quote Link to comment Share on other sites More sharing options...
beejayzed Posted March 11, 2004 Author Report Share Posted March 11, 2004 Okay, I tried that installation command and the terminal output is: [root@localhost RPMS]# rpm -ivh --replacefiles --replacepkgs libpcap0-0.7.2-1mdk.i586.rpm Preparing... ########################################### [100%] 1:libpcap0 error: unpacking of archive failed on file /usr/lib/libpcap.so.0: cpio: rename failed - Permission denied Quote Link to comment Share on other sites More sharing options...
Qchem Posted March 11, 2004 Report Share Posted March 11, 2004 Post the output of ls -l /usr/lib/libpcap.so.0 Quote Link to comment Share on other sites More sharing options...
beejayzed Posted March 11, 2004 Author Report Share Posted March 11, 2004 It says I don't have permission. I was root when I ran it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.