install Error with Virtualmin GPL install script

install Error with Virtualmin GPL install script

CentOS release 5.9 (Final)

On newly provisioned server, trying install with Virtualmin GPL install script keep running into error:

Processing Conflict: php53-common conflicts php-common --> Finished Dependency Resolution php53-common-5.3.3-26.el5_11.x86_64 from installed has depsolving problems --> php53-common conflicts with php-common

Have tried updating PhP via YUM Have tried unsinstalling and reinstalling PhP53 Have tried installing the IUS and EPEL repository

rpm -qa | grep php

php53-5.3.3-26.el5_11 php53-common-5.3.3-26.el5_11 php53-cli-5.3.3-26.el5_11

ls /etc/yum.repos.d

CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo mirrors-rpmforge-testing mirrors-rpmforge rpmforge.repo.141230 mirrors-rpmforge-extras vz.repo.141230

Howdy,

It looks like you have a number of third party repositories enabled there.

I’d suggest disabling every repository that doesn’t have “CentOS” in the name, and then try again.

-Eric

Deleted thrid party repositories:
ls /etc/yum.repos.d

CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo

rpm -qa | grep php

php53-5.3.3-26.el5_11 php53-common-5.3.3-26.el5_11 php53-cli-5.3.3-26.el5_11

Still getting error:

Finished Dependency Resolution php53-common-5.3.3-26.el5_11.x86_64 from installed has depsolving problems --> php53-common conflicts with php-common

Ah I think I see what the issue is now… it looks like your VPS image has the newer php53 packages installed, which replace the default PHP packages.

To get the installer to work, you may need to (temporarily) remove those php53 packages.

To do that, run this command:

rpm -e php53 php53-common php53-cli

Once you do that, are you then able to complete the installation?

-Eric

rpm -e php53 php53-common php53-cli

sh ./install.sh

Seems to have worked.

rpm -qa | grep php

php-common-5.1.6-45.el5_11
php-5.1.6-45.el5_11
php-odbc-5.1.6-45.el5_11
php-snmp-5.1.6-45.el5_11
php-mbstring-5.1.6-45.el5_11
php-cli-5.1.6-45.el5_11
php-xmlrpc-5.1.6-45.el5_11
php-devel-5.1.6-45.el5_11
php-xml-5.1.6-45.el5_11
php-mysql-5.1.6-45.el5_11
php-gd-5.1.6-45.el5_11
php-imap-5.1.6-45.el5_11
wbm-php-pear-1.5-1
php-pdo-5.1.6-45.el5_11
php-pgsql-5.1.6-45.el5_11
php-pear-1.4.9-8.el5

Thank you>?