Koozali.org: home of the SME Server

wrong perl mod_perl installed

Offline fpausp

  • *
  • 728
  • +0/-0
wrong perl mod_perl installed
« on: November 24, 2010, 11:45:03 AM »
Hi,

I tried to install ocs and the ocs-package told me to install perl dependencies but I had no luck with:

Code: [Select]
yum install mod_perl
yum update perl-Compress-Zlib

I then was so silly and installed mod_per with --enablerepo=* , but now I have the wrong version installed and cant use
the server-manager or reconfigure the server from the console (su admin).

At the moment this packages are installed:
Code: [Select]
mod_perl.i386 2.0.3-1.el4s1.3
perl.i386 4:5.8.8-9.el4s1_4
...

How can I repair this ?
Viribus unitis

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: wrong perl mod_perl installed
« Reply #1 on: November 24, 2010, 01:22:49 PM »
If you have a backup you are most likely best of re-installing and restoring the backup, but perhaps you might be able to use this  quick recipe (without any warranty what so ever):
Check what packages where updated by your instructions by inspecting /var/log/yum/yum.log and then carefully remove those using rpm -e --nodeps.
Make sure you do not have any other repos enabled and issue a yum install command for all removed packages that should be part of the base.

If that not works you should download latest ISO and burn it to CD and repair your installation by booting from the CD-ROM and choosing to repair your installation.
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 fpausp

  • *
  • 728
  • +0/-0
Re: wrong perl mod_perl installed
« Reply #2 on: November 24, 2010, 03:58:43 PM »
Hi cactus,

Thanks for your help, its working again.

Best
Viribus unitis