Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed Realplayer on my RH9 and it worked yesterday but not today. That is I try to open the link to play and nothing happens. I decide that I need to reinstall realplayer(I have upgraded at RH.com since then and figure that some lib file got switched) so I as root rm -rf The RealPlayer8 dir and reinstall. Still nothing. So, I try it again, rm -rf RealPlayer8(where all the realplay files are according to my 'locate realplay') and when I try to reinstall it says that RealPlayer8 is already installed. So, I do a locate realplay and, sure enough it shows me a bunch of files in the dir /usr/lib/RealPlayer8. But if I try to go there it tells me that the dir doesn't exist. And if I try to look via my gnome desktop It's not there and if I login as just a user not root I don't see these files. I have rebooted multiple times. Where is the .config or other file that is making root believe that these filesz still exist? Do I need to reinstall the OS to get things back to normal?
Try doing a shutdown -Fr now. This will reboot the computer and run fsck on start up. The reason why you need this is because you can't run fsck on a mounted drive.
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104
Rep:
I'm really not sure what the above advice about running fsck is supposed to accomplish, but here's what I believe your problem is.
The reason your system says rp is still installed: Did you, by any chance, install realplayer using an rpm? If so, you will have to do 'rpm -e realplayer' (or whatever the realplayer package is called). There is data stored in your system's rpm database besides just the files stored on the disk. rpm -e (as in erase) removes everything.
The reason locate still shows those files is that locate does not actually search your drive. Every night at about 4am a program called 'updatedb' is automatically run. This program creates a database of every files and directory on the system. Since actually going through the entire system would take a very long time, the locate command just searches the database. When you deleted that directory it was not removed from the db and so locate will give you inaccurate information until the db is updated. You can do this either by waiting until the next time updatedb is run automatically or you can just run it yourself (as root). If you want to search the disk in real time (not from the database), use the find command:
find / -iname realplayer
This will take longer than locate but it will be searching the actual disk and will update locate's database as it goes.
well, I did the rpm -e and then tried to reinstall and was told that it was already installed...ugh. So, I went ahead and booted with fsck and found that I had some bad sectors that couldn't be rewritten so I reinstalled RH9 and now have RP8 installed and working as well as just about everything else. I am almost convinced that this HDD is physically damaged but can't afford another.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.