Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: fpausp on November 24, 2010, 11:45:03 AM

Title: wrong perl mod_perl installed
Post by: fpausp 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 ?
Title: Re: wrong perl mod_perl installed
Post by: cactus 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.
Title: Re: wrong perl mod_perl installed
Post by: fpausp on November 24, 2010, 03:58:43 PM
Hi cactus,

Thanks for your help, its working again.

Best