install Error with Virtualmin GPL install script

5 posts / 0 new
Last post
#1 Tue, 12/30/2014 - 14:44
webmin_cnwz

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
Tue, 12/30/2014 - 15:01
andreychek

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

Tue, 12/30/2014 - 15:31 (Reply to #2)
webmin_cnwz

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
Wed, 12/31/2014 - 10:02
andreychek

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

Wed, 12/31/2014 - 13:28
webmin_cnwz

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>?

Topic locked