Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Reveal on April 10, 2004, 12:09:51 PM

Title: uninstalling contribs
Post by: Reveal on April 10, 2004, 12:09:51 PM
Is it possible to uninstall a contrib with a simple command ?
I want to uninstall spamassassin and amavisd antivirus .. (the don't work :( see post in experienced user forum)
Title: uninstalling contribs
Post by: ergozd on April 10, 2004, 02:25:01 PM
How did you install the contrib ? RPM or yum...

If it's rpm
# rpm -e package

If it's yum
# yum remove package
Title: uninstalling contribs
Post by: Reveal on April 10, 2004, 05:01:09 PM
yum worked ...
how do I reverse a proces like this

[root@e-smith]# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/sa_install.sh

[root@e-smith]# sh sa_install.sh
Title: uninstalling contribs
Post by: bobk on April 10, 2004, 05:57:49 PM
Quote from: "Reveal"
yum worked ...
how do I reverse a proces like this

[root@e-smith]# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/sa_install.sh

[root@e-smith]# sh sa_install.sh


First read the sa_install.sh file to see exactly what packages it installed. Then uninstall as per the previous post.
Title: uninstalling contribs
Post by: ergozd on April 10, 2004, 08:59:21 PM
Hello!

1 - Reversing install_sa.sh to sa_install.sh will NOT help you.

I took a quick look in Swert Knudsen's sh script. Following RPMS are installed

Userpanel RPMS you DON'T have to remove them.
perl-Unicode-IMAPUtf7-1.02-1.i386.rpm
perl-Unicode-String-2.06-1.i386.rpm
e-smith-userpanel-1.6.0-3.noarch.rpm
(assuming you have SMEServer v6.x)

SpamAssassin RPMS
perl-Mail-SpamAssassin-2.63-1.i386.rpm
spamassassin-tools-2.63-1.i386.rpm
spamassassin-2.63-1.i386.rpm
e-smith-spamassassin-0.6.2beta-1jp2.60.noarch.rpm ](assuming you have SMEServer v6.x)


He also has Pyzor & Python and along with it a few perl-modules
perl-Net-Ping-2.28-1.i386.rpm
perl-Digest-HMAC-1.01-1.i386.rpm
perl-Net-DNS-0.33-1.i386.rpm
perl-Digest-Nilsimsa-0.06-1.i386.rpm
perl-libnet-1.13-1.i386.rpm
db3x-3.2.9-4.i386.rpm
python2-2.2.2-1.i386.rpm
pyzor-0.4.0-1.noarch.rpm
dcc-dccproc-1.1.19-1.i386.rpm
perl-razor-agents-2.22-1.i386.rpm


PLUS Razor2 built from source

Well, it's a lot of work so good luck.

Download the sa_install.sh , you can view the code in any textfile processor and try to "undo" what what did...

Good luck.
Title: uninstalling contribs
Post by: paul_sc on April 11, 2004, 01:55:21 AM
I guess I am in the same boat as Reveal.

I have a stock sme 6.01 no mods other than gallery in /opt, setting up ibays, and useres. Something seems to have gone wrong with my spamassassin install. I am battling with directory/file permissions and spamc/d failures It seemed to work for a few hundred emails and then died. rebooting did not help.

**QUESTION:
Can I backup using administrator panel, reinstall 6.01 iso and restore that file backup file? Wil that just restore my user, ibay, website settings? Or will that introduce the modifications from the spamassassin script back in?

Thanks
paul_sc1 at
yahoo

Apr 10 19:17:18 bs2 spamc[2288]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused

Cannot open bayes databases /var/qmail/.spamassassin/bayes_* R/O: tie failed: Permission denied
Title: uninstalling contribs
Post by: Reveal on April 14, 2004, 01:39:06 PM
damn this sucks ... the problem ... I just found out ... lays in SpamAssassin ....
Can't someone make a uninstall file ?
I'm just to big of n00b ...