Koozali.org: home of the SME Server

Help plzz.. Is there anyone knows how to remove contribs?

Offline coolme

  • *
  • 11
  • +0/-0
Help plzz.. Is there anyone knows how to remove contribs?
« 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:

Janm

Help plzz.. Is there anyone knows how to remove contribs?
« Reply #1 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Help plzz.. Is there anyone knows how to remove contribs?
« Reply #2 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...

Offline coolme

  • *
  • 11
  • +0/-0
Help plzz.. Is there anyone knows how to remove contribs?
« Reply #3 on: July 14, 2006, 06:09:33 AM »
Thank YOU GUYS! this really help..

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Help plzz.. Is there anyone knows how to remove contribs?
« Reply #4 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Help plzz.. Is there anyone knows how to remove contribs?
« Reply #5 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'.
Regards,
William

IF I give advise.. It's only if it was me....