Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: coolme on July 14, 2006, 04:26:51 AM

Title: Help plzz.. Is there anyone knows how to remove contribs?
Post by: coolme on July 14, 2006, 04:26:51 AM
I want to remove some contribs that i installed in my SME server v7 but I don't know how to do it.

I appreciate very much your help..

This server is really COOL.. thanks to all the developers! perhapz somday I can help too.. I really want to contribute in the development but I'm still learning at the moment.. :hammer:
Title: Help plzz.. Is there anyone knows how to remove contribs?
Post by: Janm on July 14, 2006, 04:39:00 AM
do this i a terminal with putty


/sbin/e-smith/db configuration setprop updatesystem RemoveRpm enabled

after that

rpm -e therpmyouinstalled  enter

Jan
Title: Help plzz.. Is there anyone knows how to remove contribs?
Post by: CharlieBrady on July 14, 2006, 04:46:19 AM
Quote from: "Janm"
do this i a terminal with putty


/sbin/e-smith/db configuration setprop updatesystem RemoveRpm enabled

after that

rpm -e therpmyouinstalled  enter

Jan


The first command is unnecessary. Just:

rpm -e xxxx

will remove the rogue software.

It will not, however, stop any running instances of the program, or do any system reconfiguration. So after removing contrib RPMs, you should also do:

signal-event post-upgrade
signal-event reboot

As long as the contrib is well-designed, that should put the system back very close to how it was before the contrib was installed. Of course, not all contribs are well-designed...
Title: Help plzz.. Is there anyone knows how to remove contribs?
Post by: coolme on July 14, 2006, 06:09:33 AM
Thank YOU GUYS! this really help..
Title: Help plzz.. Is there anyone knows how to remove contribs?
Post by: cactus on July 14, 2006, 08:18:00 AM
Quote from: "CharlieBrady"
rpm -e therpmyouinstalled  enter
I thought that yum was preffered for installing and removing software on SME Server 7.
Title: Help plzz.. Is there anyone knows how to remove contribs?
Post by: william_syd on July 14, 2006, 09:17:23 AM
Quote from: "cactus"
Quote from: "CharlieBrady"
rpm -e therpmyouinstalled  enter
I thought that yum was preffered for installing and removing software on SME Server 7.


I think most contribs come as rpms from the authors site that are installed with rpm -Uvh although you could use yum localinstall.

yum appears to be for updates and system software from an official 'repository' however there are some prolific rpm authors who have a yum repository.

Also, from what I have read the yum remove command can be 'dangerous'.