Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: jon on March 13, 2016, 05:04:24 AM
-
I'm trying to install Joomla in an I-Bay using this page as a guide: https://wiki.contribs.org/Joomla_3
I've installed the latest version of PHP-SCL as indicated in the instructions. However, when I issue this command:
yum --enablerepo=remi install php54-php-mcrypt php55-php-mcrypt php56-php-mcrypt
I get dependency errors:
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.vexxhost.com
* smeaddons: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* updates: centos.mirror.vexxhost.com
Resolving Dependencies
--> Running transaction check
---> Package php54-php-mcrypt.x86_64 0:5.4.45-5.el6.remi will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php54-php-mcrypt-5.4.45-5.el6.remi.x86_64
---> Package php55-php-mcrypt.x86_64 0:5.5.33-1.el6.remi will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php55-php-mcrypt-5.5.33-1.el6.remi.x86_64
---> Package php56-php-mcrypt.x86_64 0:5.6.19-1.el6.remi will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php56-php-mcrypt-5.6.19-1.el6.remi.x86_64
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Error: Package: php55-php-mycrpt-5.5.33-1.el6.remi.x86_64
Requires: libmcrypt.so.4()(64bit)
Error: Package: php56-php-mycrpt-5.6.19-1.el6.remi.x86_64
Requires: libmcrypt.so.4()(64bit)
Error: Package: php54-php-mycrpt-5.4.45-5-1.el6.remi.x86_64
Requires: libmcrypt.so.4()(64bit)
I'm at a loss on what to do next and how to solve this issue. Google is not my friend right now...
-
jon
Have you configured both the stephdl & remi repositories, & checked that they are configured correctly ?
db yum_repositories show stephdl
db yum_repositories show remi
Compare the outputs with the config shown on the wiki page
https://wiki.contribs.org/PHP_Software_Collections
Also did you check the php configs
config show php54
config show php55
config show php56
Compare the outputs with the config shown on the wiki page
Also show us a list of the repositories configured (& enabled by default) on your server
db yum_repositories show
(there was a commend published recently to display this info more succinctly search on yum....)
Here are the standard ones that should be enabled ie have in the db config the setting
status enabled
https://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#Which_repositories_should_be_enabled
Only enable the standard ones or you may have issues & wrong versions of rpms installed etc, which will/may cause dependency issues when updating etc.
Conversely you may not have the correct repos enabled or even correctly configured, so yum cannot find the required rpms.
-
yum --enablerepo=remi install php54-php-mcrypt php55-php-mcrypt php56-php-mcrypt
Why are you trying to install three different versions of php-mcrypt? Do you really have three (actually four) versions of php installed? Why?
-
Why are you trying to install three different versions of php-mcrypt? Do you really have three (actually four) versions of php installed? Why?
It is saying to do that on the Joomla wiki page
https://wiki.contribs.org/Joomla_3
ie
You will also need to install a PHP module which doesn't come installed as a default. From the command line:
[root@e-smith ~]# yum --enablerepo=remi install php54-php-mcrypt php55-php-mcrypt php56-php-mcrypt
-
Requires: libmcrypt.so.4()(64bit)
Enable the epel repo (see wiki) and then 'yum install libmcrypt --enablerepo=epel'. Then run your above commands again.
-
jon
Have you configured both the stephdl & remi repositories, & checked that they are configured correctly ?
I should have mentioned in my first post that this is a brand new server, SME9.1 plus updates were loaded minutes before I started on the Joomla install.
I have one I-Bay and just the admin user.
db yum_repositories show stephdl
db yum_repositories show remi
stephdl=repository
BaseURL=http://mirror.de-labrusse.fr/smeserver/$releasever
EnableGroups=no
GPGCheck=yes
GPGKey=http://mirror.de-labrusse.fr/RPM-GPG-KEY
Name=Mirror de Labrusse
Visible=yes
status=disabled
remi=repository
BaseURL=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
EnableGroups=no
Exclude=mysql*,php-*
GPGCheck=yes
GPGKey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi
Name=Remi - EL6
Visible=yes
status=disabled
epel=repository
BaseURL=http://download.fedoraproject.org/pub/epel/6/$basearch
EnableGroups=no
Exclude=perl-Razor-Agent
GPGCheck=yes
GPGKey=http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL
MirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch
Name=Epel - EL6
Visible=no
status=disabled
config show php56
Compare the outputs with the config shown on the wiki page
It appears to be installed correctly.
Also show us a list of the repositories configured (& enabled by default) on your server
db yum_repositories show
(there was a commend published recently to display this info more succinctly search on yum....)
/sbin/e-smith/auddittools/repositories shows:
base: enabled
centosplus: disabled
contrib: disabled
epel: disabled
extras: disabled
fasttrack: disabled
remi: disabled
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeextras: enabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
stephdl: disabled
updates: enabled
-
Enable the epel repo (see wiki) and then 'yum install libmcrypt --enablerepo=epel'. Then run your above commands again.
I enabled the epel repo (see comment to janet above) and after running the yum command, I get:
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.rafal.ca
* epel: mirror.steadfast.net
* smeaddons: mirror.canada.pialasse.com
* smeextras: mirror.canada.pialasse.com
* smeos: mirror.canada.pialasse.com
* smeupdates: mirror.canada.pialasse.com
* updates: mirror.netflash.net
No package libcrypt available.
Error: Nothing to do
-
Yup, you misspelled libmcrypt....
-
Yup, you misspelled libmcrypt....
Yup - you are correct. I need new fingers. Everything is now working (at least the php56-php-mcrypt installed...)
Thanx RequestedDeletion, janet and Charlie...
-
Can you please add [Solved] to the first post subject? TIA