Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: ben2church on October 24, 2005, 06:34:00 AM
-
I am new to linux. My SME has been up and running for a month or so. Works excellent with W2K roaming profiles!
I went to install Dansguardian from the excellent guide Ray Mitchell put in the how tos. I accidently saved over the dansguardian.conf file when in pico and decided to just re-install the program so to get the original file back. Easier said than done for a newbie.
I removed the dansguardian directory including sub-directories and files. From what I had read online, remove is like uninstalling in Windows. The problem is that when I tried to re-install the rpm for Dansguardian, it says it is already installed, not realizing I have removed the guts of the program.
I have tried re-install by update, freshen, and updatepkgs commands and all fail. Even deleting the rpm and downloading again doesn't get it done.
If anyone knows what else I need to remove so that RH7 understands that the program has been uninstalled and I can install again, please, please let me know. Thanks so much for your help!
-
ben2church
The correct way to uninstall an rpm is
(eg for DansGuardian-2.6.1-3.RH72.i386.rpm)
rpm -e DansGuardian
Now if you have been manually deleting bits & got things in a mess, I would suggest a forced install
eg
rpm -Uvh --force DansGuardian-2.6.1-3.RH72.i386.rpm
See also
man rpm
for further usage
Also see some of the online references regarding the rpm command, search Google