uninstall program
hi i install program under linux redhat es ver 3.0
i try to uninstall it but its not working , i cant remove it, so i try to find another way to remove it or at least stop running it so i found under folder etc folders rc0.d rc1.d, rc3.d ,rc4.d under these folder i can start and kill some services my question is there any problem if i remove the file running the application that i want to remove it from my system ? or is there any proper way to uninstall any program thanks |
first of: read the 'asking smart questions' essay by ESR (http://www.catb.org/~esr/faqs/smart-questions.html)
then, here's a few probing questions: 1) which program did you install? 2) how did you install it? 3) how did you try to uninstall it? 4) what, if any, error messages did you get? 5) what other symptoms are there? to answer you question: don't remove the whole file. It might work removing just the lines that start/stop your program, but depending on your answers to my questions, there might be a smarter way. best wishes, Jonas Kölker. PS. go to "User CP" -> "distribution" and add your distro(s) there. That way, if you forget to tell which one you have, it's available in the sidebar of your posts. |
hi there and thanks to try help me
1- i install liebert UPS software ( multilink.liebert.com ) i install to monitor my UPS but its not stable on linux and make server hang many times so i decide to remove it 2- i install it by running setup file 3- there is uninstall script but its not running i click it but nothing happened 4- no error messages appears 5- nothing |
I don't know the software, but perhaps posting (a link to) the (un)?installation scripts could give me a hint. If they're binaries, post the source.
|
Quote:
What do you mean by setup file. Can you please post as the program name and the exact setup file? Did you install them through rpm, compiled them from scratch otherway... |
i would like to know how and why a program installation method would affect the way it should be uninstalled.
i used yum and apt to uninstall a package.it remove the package with its dependencies. You might need to download one of them if they are not already installed. yum remove package_name , same for apt. i use Mandrake 10.1 now which has install and uninstall wizard in the Mandrakelinux Control Center |
lumba1: speaking for apt (I don't know yum/rpm stuff), when you install a program it puts some information in a database; when you uninstall it, it uses that information to undo any changes you made when installing.
If, say, you make && make install, you probably don't put the information in the database; thus, you have to find out what make install did in some other way, and undo it--probably manually, unless make install creates an uninstall script. My recommendation would be to use the tools provided by your distro (yum, apt, w/e) to (un)?install things, since they are created and/or configured with your distro in mind--makefiles have to be more general and assume less. Well, you do that already, so good for you ;) |
what errors do you get when trying to remove the file through the Mandrake Control Center?
I think you could try "urpmi -e packagename" but i'm not too sure about the switch (-e) so type man urpmi into the console to see a list of switches. |
Did this issue get resolved ????
|
Another uninstall problem
I have a similar uninstall problem: i.e. installing an rpm with yast caused yast to hang: no escape but to reboot.
Yast's dbase of packages was wrecked. That's not so bad because it re-makes the dbase later. However I expect Yast has no proper record of the installation. Consequently Yast hangs again if I try to un-installl the package. The package was a linuxant hsf modem driver. I hesitate to ask Linuxanrt for detailed advice, they were kind enough to make the basic drivers available for free. I really want to fix this because Suse doesn't want to start any more, and I think I know why -- Linuxant warns about their driver maybe not getting along with linux's favourite sound card --AC97. At boot, modem-related stuff loads first, then boot later hangs at AC97, i.e. at loading the via82xx driver, or module, or whatever it is exactly. However, suse will eventually boot on about the third re-set, so I can get in and try to fix this. I tried to remove the package from the command line (rpm -e etc) in the ways recommended by Linuxant, but that was also no good - can't remember exactly why. But perhaps it was because Yast was still hanging at the time. I don't like to do anything again that will make suse hang: a bad exit just seems to cause problems later. I deleted some of the hsfmodem files that I could find, so suse would not try to load them at boot. But there are some files remaining. In my boot.msg it says: "scanning pci: *******.Wmodprobe: FATAL: Error inserting hsfusbcd2 (/lib/modules/2.6.4-52-default/extra/hsfusbcd2.ko): Unknown symbol in module, or unknown parameter (see dmesg)" Should I just try deleting that "hsfusbcd2.ko" file? And maybe other hsf/modem-related files in that location? PS: I posted a question about this in the Newbie forum recently, but no replies yet. Hope it's okay to ask in this thread also. |
All times are GMT -5. The time now is 08:46 AM. |