Koozali.org: home of the SME Server

uninstall a contrib - mailman?

Offline dd3

  • **
  • 27
  • +0/-0
uninstall a contrib - mailman?
« 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.

Offline brianr

  • *
  • 990
  • +2/-0
Re: uninstall a contrib - mailman?
« Reply #1 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.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline dd3

  • **
  • 27
  • +0/-0
Re: uninstall a contrib - mailman?
« Reply #2 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

Offline brianr

  • *
  • 990
  • +2/-0
Re: uninstall a contrib - mailman?
« Reply #3 on: April 17, 2008, 04:55:44 PM »
rpm -qa | grep mailman

(paste the results here)
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline dd3

  • **
  • 27
  • +0/-0
Re: uninstall a contrib - mailman?
« Reply #4 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

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: uninstall a contrib - mailman?
« Reply #5 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: uninstall a contrib - mailman?
« Reply #6 on: April 18, 2008, 01:43:41 AM »
or on one line
rpm -e smeserver-mailman mailman

Offline dd3

  • **
  • 27
  • +0/-0
Re: uninstall a contrib - mailman?
« Reply #7 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.