Koozali.org: home of the SME Server

Remove / Reinstall contrib ?

Offline fpausp

  • *
  • 728
  • +0/-0
Remove / Reinstall contrib ?
« on: February 16, 2013, 08:29:19 AM »
I had problems with the crontab-manager contrib (1.2-1 ), I tried to update it with (1.2-4) but it was also not working...

I would like to remove / reinstall crontab-manager, when i  - yum remove sme-..... - it looks like all is ok but after a reboot the contrib is still there.


Code: [Select]
yum list installed | grep cron
anacron.i386                         2.3-45.el5.centos                 installed
crontabs.noarch                      1.10-11.el5                       installed
sme-crontab_manager.noarch           1.2-1                             installed
sme-crontab_manager.noarch           1.2-4                             installed
vixie-cron.i386                      4:4.1-81.el5                      installed


How can I remove it and reinstall it ?

Viribus unitis

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Remove / Reinstall contrib ?
« Reply #1 on: February 16, 2013, 03:14:31 PM »
Hum... have you read the same page you used to install it ?
http://wiki.contribs.org/Crontab_Manager

I found this:
http://wiki.contribs.org/Crontab_Manager#Uninstallation


BTW: your command show not crontab manager not once, but TWICE!

FYI: trying to remove a addon using yum is dangerous because it can remove more than desired... be warned... and keep BOTH  EYES open!!!
« Last Edit: February 16, 2013, 03:16:08 PM by jader »
...

Offline mdo

  • *
  • 355
  • +0/-0
Re: Remove / Reinstall contrib ?
« Reply #2 on: February 21, 2013, 05:30:38 AM »
Remove should work like this:

rpm -e sme-crontab_manager-1.2-4
rpm -e sme-crontab_manager-1.2-1

then yum localinstall sme-crontab_manager (assuming you have this rpm somewhere locally stored, I cannot find it in the repositories).

Hope that helps.

Michael 
...

Offline fpausp

  • *
  • 728
  • +0/-0
Re: Remove / Reinstall contrib ?
« Reply #3 on: February 21, 2013, 10:43:32 PM »
Thank you Michael but ...

Code: [Select]
rpm -e sme-crontab_manager-1.2-4
Fehler: %postun(sme-crontab_manager-1.2-4.noarch) Skriptlet fehlgeschlagen, Beenden-Status 1

rpm -e sme-crontab_manager-1.2-1
Fehler: %postun(sme-crontab_manager-1.2-1.noarch) Skriptlet fehlgeschlagen, Beenden-Status 1

fpausp
Viribus unitis

Offline mdo

  • *
  • 355
  • +0/-0
Re: Remove / Reinstall contrib ?
« Reply #4 on: February 22, 2013, 01:40:14 AM »
Seems that something specific to this rpm package in its un-installation cannot be processed. I have no idea what this is but have a feeling that this could be a very old contrib which is actually not made for the SME version that you are using it? Sorry, not more help from here. I don't know that particular contrib at all (and could not find it in any repository?)

Michael 
...