problems installing Virtualmin on php 5.3.19

Hi,

The following are some of the errors encountered when trying to install virualmin


Error: Package: php-gd-5.3.3-14.el6_3.x86_64 (updates)
Requires: php-common = 5.3.3-14.el6_3
Installed: php-common-5.3.19-1.el6.remi.x86_64 (@remi)
php-common = 5.3.19-1.el6.remi
Available: php-common-5.3.3-3.el6_2.8.x86_64 (base)
php-common = 5.3.3-3.el6_2.8
Available: php-common-5.3.3-14.el6_3.x86_64 (updates)


Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
—> Package php-gd.x86_64 0:5.3.3-14.el6_3 will be installed
–> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-gd-5.3.3-14.el6_3.x86_64
—> Package php-imap.x86_64 0:5.3.3-14.el6_3 will be installed
–> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-imap-5.3.3-14.el6_3.x86_64
—> Package php-mbstring.x86_64 0:5.3.3-14.el6_3 will be installed
–> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-mbstring-5.3.3-14.el6_3.x86_64
—> Package php-pgsql.x86_64 0:5.3.3-14.el6_3 will be installed
–> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-pgsql-5.3.3-14.el6_3.x86_64
—> Package php-snmp.x86_64 0:5.3.3-14.el6_3 will be installed
–> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-snmp-5.3.3-14.el6_3.x86_64
—> Package php-xmlrpc.x86_64 0:5.3.3-14.el6_3 will be installed
–> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-xmlrpc-5.3.3-14.el6_3.x86_64
–> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Then eventually going FATAL

FATAL - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log

My php version is PHP 5.3.19 and apparently, from the error log, the script expects a different version of php. is there a way to get around this problem please? Thanks

Howdy,

Well, the recommended way to install Virtualmin is on a freshly installed version of your OS. Otherwise, it’s possible to see a lot of dependency issues.

However, you could always try installing the php-gd package from the remi repository. It doesn’t appear that it’s currently installed, so it’s trying to pull that in from the CentOS repo, and that’s conflicting with the packages you have installed from the remi repo.

-Eric