Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: dd3 on April 17, 2008, 04:44:23 PM

Title: uninstall a contrib - mailman?
Post by: dd3 on April 17, 2008, 04:44:23 PM
hi,

I want to uninstall the mailman contrib.

I used the following to install. please could someone tell me how to remove it? thanks

wget http://www.gormand.com.au/smeserver/WIP/smeserver-mailman/smeserver-mailman-1.3.0-14.noarch.rpm
wget http://www.gormand.com.au/smeserver/WIP/smeserver-mailman/mailman-2.1.5.1-34.rhel4.3sme01.i386.rpm
yum localinstall mailman-2.1.5.1-34.rhel4.3sme01.i386.rpm smeserver-mailman-1.3.0-14.noarch.rpm

tia.
Title: Re: uninstall a contrib - mailman?
Post by: brianr on April 17, 2008, 04:47:36 PM
rpm -e mailman-2.1.5.1-34
rpm -e smeserver-mailman-1.3.0-14

should work, the order is important as the smeserver rpm will have a dependency on the mailman rpm I expect.
Title: Re: uninstall a contrib - mailman?
Post by: dd3 on April 17, 2008, 04:53:45 PM
Hi,

thanks for the reply.

I tried first command but got this:

[root@server ~]# rpm -e mailman-2.1.5.1-34
error: package mailman-2.1.5.1-34 is not installed

I assume this is because there was an update loaded for mailman... how do i find the correct version so i can correct the command?

thanks
Title: Re: uninstall a contrib - mailman?
Post by: brianr on April 17, 2008, 04:55:44 PM
rpm -qa | grep mailman

(paste the results here)
Title: Re: uninstall a contrib - mailman?
Post by: dd3 on April 17, 2008, 05:04:50 PM
got this:

root@server ~]# rpm -qa ¦grep mailman
mailman-2.1.5.1-34.rhel4.6
[root@server ~]# rpm -qa ¦grep smeserver-mailman
smeserver-mailman-1.3.0-14
[root@server ~]#


so I tried adding the rhel bit onto the end of command and it came up with a dependancy error pointing to the smeserver-mailman. so ran that then reran the first command again.

mailman has gone from the server config pages and most of the files installed have gone......... THANKS for your help   :D
Title: Re: uninstall a contrib - mailman?
Post by: janet on April 17, 2008, 05:15:00 PM
brianr & dd3

Quote
rpm -e mailman-2.1.5.1-34
rpm -e smeserver-mailman-1.3.0-14

That's not quite correct.
It should be
rpm -e smeserver-mailman
rpm -e mailman
and in that order too, as smeserver-mailman is dependant on mailman, then mailman must be uninstalled last.
Title: Re: uninstall a contrib - mailman?
Post by: stephen noble on April 18, 2008, 01:43:41 AM
or on one line
rpm -e smeserver-mailman mailman
Title: Re: uninstall a contrib - mailman?
Post by: dd3 on April 18, 2008, 11:12:20 AM
thanks. managed to get it done, but found a bug as per other thread (http://bugs.contribs.org/show_bug.cgi?id=4222) . so may be using these commands again! ;-) thanks for your help.