Reference Document : https://webtatic.com/packages/php70/
PHP 7.0.0 has been released on PHP.net on 3rd December 2015, and is also available for CentOS/RHEL 6.7 and 7.1 at Webtatic via Yum in it’s testing repository.
I have the following error during php7 install:
[root]# yum install php70w php70w-opcache
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* epel: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
* webtatic: sp.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php70w.x86_64 0:7.0.0-1.w6 will be installed
--> Processing Dependency: php70w-common(x86-64) = 7.0.0-1.w6 for package: php70w-7.0.0-1.w6.x86_64
--> Processing Dependency: php70w-cli(x86-64) = 7.0.0-1.w6 for package: php70w-7.0.0-1.w6.x86_64
--> Processing Dependency: php70w-cli = 7.0.0-1.w6 for package: php70w-7.0.0-1.w6.x86_64
--> Processing Dependency: httpd-mmn = 20051115 for package: php70w-7.0.0-1.w6.x86_64
---> Package php70w-opcache.x86_64 0:7.0.0-1.w6 will be installed
--> Running transaction check
---> Package php70w.x86_64 0:7.0.0-1.w6 will be installed
--> Processing Dependency: httpd-mmn = 20051115 for package: php70w-7.0.0-1.w6.x86_64
---> Package php70w-cli.x86_64 0:7.0.0-1.w6 will be installed
---> Package php70w-common.x86_64 0:7.0.0-1.w6 will be installed
--> Processing Dependency: libgmp.so.3()(64bit) for package: php70w-common-7.0.0-1.w6.x86_64
--> Processing Conflict: php70w-common-7.0.0-1.w6.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: Package: php70w-7.0.0-1.w6.x86_64 (webtatic)
Requires: httpd-mmn = 20051115
Installed: httpd-2.4.6-31.el7.centos.1.x86_64 (#updates)
httpd-mmn = 20120211
httpd-mmn = 20120211x8664
httpd-mmn = 20120211-x86-64
Available: httpd-2.4.6-31.el7.centos.x86_64 (base)
httpd-mmn = 20120211x8664
httpd-mmn = 20120211-x86-64
httpd-mmn = 20120211
Error: php70w-common conflicts with php-common-5.4.16-36.el7_1.x86_64
Error: Package: php70w-common-7.0.0-1.w6.x86_64 (webtatic)
Requires: libgmp.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
How can I install php7 on centOS7?
I found easier/safer to rely on Remi's repos http://rpms.famillecollet.com/ instead of webtatic than remove the existing packages - which is also a valid solution.
This is what solved it for me (pick the mirror closest to you):
rpm -Uvh http://mirror.innosol.asia/remi/enterprise/remi-release-7.rpm
yum install php70
yum install php70-php-mysqlnd php70-php-devel php70-php-gd php70-php-mcrypt php70-php-mbstring php70-php-pear php70-php-pecl-imagick php70-php-pecl-zip
Note this was needed for a development server
Related
72 package suggestions were added by new dependencies, use composer suggest to see details.
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump
#php artisan package:discover --ansi
Discovered Package: laravel/sail
Discovered Package: laravel/sanctum
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: spatie/laravel-ignition
Package manifest generated successfully.
78 packages you are using are looking for funding.
Use the composer fund command to find out more!
#php artisan vendor:publish --tag=laravel-assets --ansi --force
No publishable resources for tag [laravel-assets].
Publishing complete.
#php artisan key:generate --ansi
Application key set successfully.
HP PC#DESKTOP-OE743IG MINGW64 /c/xampp/htdocs
$ ^C
HP PC#DESKTOP-OE743IG MINGW64 /c/xampp/htdocs
$ cd laravel8MOM
HP PC#DESKTOP-OE743IG MINGW64 /c/xampp/htdocs/laravel8MOM
$ composer require livewire/livewire
Using version ^2.10 for livewire/livewire
./composer.json has been updated
Running composer update livewire/livewire
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
Locking livewire/livewire (v2.10.6)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
Installing livewire/livewire (v2.10.6): Extracting archive
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump
#php artisan package:discover --ansi
Discovered Package: laravel/sail
Discovered Package: laravel/sanctum
Discovered Package: laravel/tinker
Discovered Package: livewire/livewire
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: spatie/laravel-ignition
Package manifest generated successfully.
79 packages you are using are looking for funding.
Use the composer fund command to find out more!
#php artisan vendor:publish --tag=laravel-assets --ansi --force
No publishable resources for tag [laravel-assets].
Publishing complete.
I get the following error but when I try and install the missing dependencies then it either says its already install (openssl) or that such package doesn't exist.
here are the step that I'm following - https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/install-microsoft-sql-server-ms-sql-rhel-centos-ubuntu-evaluation-version.html
What should I do to get past this error?
Loaded plugins: fastestmirror, presto, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.fdcservers.net
* epel: mirror.steadfast.net
* extras: repo.us.bigstepcloud.com
* updates: linux.cc.lehigh.edu
Resolving Dependencies
--> Running transaction check
---> Package mssql-server.x86_64 0:14.0.900.75-1 will be installed
--> Processing Dependency: openssl >= 1:1.0.1 for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd-units for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: numactl-libs for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: gdb for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd-units for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.900.75-1.x86_64
--> Running transaction check
---> Package gdb.x86_64 0:7.2-92.el6 will be installed
---> Package libsss_nss_idmap.x86_64 0:1.13.3-57.el6_9 will be installed
---> Package mssql-server.x86_64 0:14.0.900.75-1 will be installed
--> Processing Dependency: openssl >= 1:1.0.1 for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd-units for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: numactl-libs for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd-units for package: mssql-server-14.0.900.75-1.x86_64
--> Finished Dependency Resolution
Error: Package: mssql-server-14.0.900.75-1.x86_64 (packages-microsoft-com-mssql-server)
Requires: numactl-libs
Error: Package: mssql-server-14.0.900.75-1.x86_64 (packages-microsoft-com-mssql-server)
Requires: openssl >= 1:1.0.1
Installed: openssl-1.0.1e-57.el6.x86_64 (#anaconda-CentOS-201703281317.x86_64/6.9)
openssl = 1.0.1e-57.el6
Error: Package: mssql-server-14.0.900.75-1.x86_64 (packages-microsoft-com-mssql-server)
Requires: systemd-units
Error: Package: mssql-server-14.0.900.75-1.x86_64 (packages-microsoft-com-mssql-server)
Requires: systemd
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Probably you are trying to install a package that has been built for RHEL7, on a CentOS6 server. MsSql-server is only available for RHEL7.
I created a VM with OpenShift Origin in CentOS 6.5 which followed the oo-installer guide. However, when I follow the Install JBoss EAP and JBoss EWS Support to install JBoss EAP cartridge, I got dependency error which requires several dependencies, like jbossas-domain, maven3... as following... How can I fix this?
yum install openshift-origin-cartridge-jbosseap.noarch openshif
t-origin-cartridge-jbossews.noarch
openshift-origin-cartridge-jenkins.noarch ope
nshift-origin-cartridge-jenkins-client.noarch
Loaded plugins: fastestmirror, priorities, versionlock Repository
'jenkins-repo' is missing name in configuration, using id Repository
'openshift-deps' is missing name in configuration, using id Repository
'openshift-optional' is missing name in configuration, using id
Repository 'openshift-origin' is missing name in configuration, using
id Loading mirror speeds from cached hostfile * base:
centos.mirror.serversaustralia.com.au * extras:
centos.mirror.crucial.com.au * updates: centos.mirror.crucial.com.au
349 packages excluded due to repository priority protections Setting
up Install Process Package
openshift-origin-cartridge-jenkins-1.23.1.1-1.el6.noarch already
install
ed and latest version Package
openshift-origin-cartridge-jenkins-client-1.22.4.1-1.el6.noarch
already
installed and latest version Resolving Dependencies
--> Running transaction check
---> Package openshift-origin-cartridge-jbosseap.noarch 0:2.19.1.1-1.el6 will be
installed
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-welcome-content-eap for package: openshift-or
igin-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-standalone for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-product-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-modules-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-jbossweb-native for package: openshift-origin
-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-hornetq-native for package: openshift-origin-
cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-domain for package: openshift-origin-cartridg
e-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-core for package: openshift-origin-cartridge-
jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-bundles for package: openshift-origin-cartrid
ge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-appclient for package: openshift-origin-cartr
idge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-openshift-metrics-module for package: openshift
-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-modules for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-index for package: openshift-origin-cartri
dge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: java-1.7.0-openjdk-devel for package: openshift-origi
n-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: bc for package: openshift-origin-cartridge-jbosseap-2
.19.1.1-1.el6.noarch
---> Package openshift-origin-cartridge-jbossews.noarch 0:1.25.3.1-1.el6 will be
installed
--> Processing Dependency: tomcat7 for package: openshift-origin-cartridge-jboss
ews-1.25.3.1-1.el6.noarch
--> Processing Dependency: tomcat6 for package: openshift-origin-cartridge-jboss
ews-1.25.3.1-1.el6.noarch
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ws-1.25.3.1-1.el6.noarch
--> Running transaction check
---> Package bc.x86_64 0:1.06.95-1.el6 will be installed
---> Package java-1.7.0-openjdk-devel.x86_64 1:1.7.0.65-2.5.1.2.el6_5 will be in
stalled
---> Package jboss-openshift-metrics-module.noarch 0:1.0.2.redhat_1-1.2.el6oso w
ill be installed
--> Processing Dependency: quartz for package: jboss-openshift-metrics-module-1.
0.2.redhat_1-1.2.el6oso.noarch
---> Package openshift-origin-cartridge-jbosseap.noarch 0:2.19.1.1-1.el6 will be
installed
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-welcome-content-eap for package: openshift-or
igin-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-standalone for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-product-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-modules-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-jbossweb-native for package: openshift-origin
-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-hornetq-native for package: openshift-origin-
cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-domain for package: openshift-origin-cartridg
e-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-core for package: openshift-origin-cartridge-
jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-bundles for package: openshift-origin-cartrid
ge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-appclient for package: openshift-origin-cartr
idge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-modules for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-index for package: openshift-origin-cartri
dge-jbosseap-2.19.1.1-1.el6.noarch
---> Package openshift-origin-cartridge-jbossews.noarch 0:1.25.3.1-1.el6 will be
installed
--> Processing Dependency: tomcat7 for package: openshift-origin-cartridge-jboss
ews-1.25.3.1-1.el6.noarch
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ws-1.25.3.1-1.el6.noarch
---> Package tomcat6.noarch 0:6.0.24-78.el6_5 will be installed
--> Processing Dependency: tomcat6-lib = 6.0.24-78.el6_5 for package: tomcat6-6.
0.24-78.el6_5.noarch
--> Processing Dependency: jakarta-commons-pool for package: tomcat6-6.0.24-78.e
l6_5.noarch
--> Processing Dependency: jakarta-commons-dbcp for package: tomcat6-6.0.24-78.e
l6_5.noarch
--> Processing Dependency: jakarta-commons-daemon for package: tomcat6-6.0.24-78
.el6_5.noarch
--> Processing Dependency: jakarta-commons-collections for package: tomcat6-6.0.
24-78.el6_5.noarch
--> Processing Dependency: /lib/lsb/init-functions for package: tomcat6-6.0.24-7
8.el6_5.noarch
--> Processing Dependency: /lib/lsb/init-functions for package: tomcat6-6.0.24-7
8.el6_5.noarch
--> Running transaction check
---> Package jakarta-commons-collections.noarch 0:3.2.1-3.4.el6 will be installe
d
---> Package jakarta-commons-daemon.x86_64 1:1.0.1-8.9.el6 will be installed
---> Package jakarta-commons-dbcp.noarch 0:1.2.1-13.8.el6 will be installed
---> Package jakarta-commons-pool.x86_64 0:1.3-12.7.el6 will be installed
---> Package openshift-origin-cartridge-jbosseap.noarch 0:2.19.1.1-1.el6 will be
installed
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-welcome-content-eap for package: openshift-or
igin-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-standalone for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-product-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-modules-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-jbossweb-native for package: openshift-origin
-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-hornetq-native for package: openshift-origin-
cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-domain for package: openshift-origin-cartridg
e-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-core for package: openshift-origin-cartridge-
jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-bundles for package: openshift-origin-cartrid
ge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-appclient for package: openshift-origin-cartr
idge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-modules for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-index for package: openshift-origin-cartri
dge-jbosseap-2.19.1.1-1.el6.noarch
---> Package openshift-origin-cartridge-jbossews.noarch 0:1.25.3.1-1.el6 will be
installed
--> Processing Dependency: tomcat7 for package: openshift-origin-cartridge-jboss
ews-1.25.3.1-1.el6.noarch
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ws-1.25.3.1-1.el6.noarch
---> Package quartz.noarch 0:2.2.1.redhat_1-1.el6oso will be installed
---> Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be installed
--> Processing Dependency: perl-CGI for package: redhat-lsb-core-4.0-7.el6.cento
s.x86_64
--> Processing Dependency: /usr/bin/time for package: redhat-lsb-core-4.0-7.el6.
centos.x86_64
--> Processing Dependency: /usr/bin/pax for package: redhat-lsb-core-4.0-7.el6.c
entos.x86_64
--> Processing Dependency: /usr/bin/msgfmt for package: redhat-lsb-core-4.0-7.el
6.centos.x86_64
--> Processing Dependency: /usr/bin/man for package: redhat-lsb-core-4.0-7.el6.c
entos.x86_64
--> Processing Dependency: /usr/bin/batch for package: redhat-lsb-core-4.0-7.el6
.centos.x86_64
--> Processing Dependency: /usr/bin/at for package: redhat-lsb-core-4.0-7.el6.ce
ntos.x86_64
--> Processing Dependency: /bin/mailx for package: redhat-lsb-core-4.0-7.el6.cen
tos.x86_64
--> Processing Dependency: /bin/gettext for package: redhat-lsb-core-4.0-7.el6.c
entos.x86_64
--> Processing Dependency: /bin/ed for package: redhat-lsb-core-4.0-7.el6.centos
.x86_64
---> Package tomcat6-lib.noarch 0:6.0.24-78.el6_5 will be installed
--> Processing Dependency: tomcat6-servlet-2.5-api = 6.0.24-78.el6_5 for package
: tomcat6-lib-6.0.24-78.el6_5.noarch
--> Processing Dependency: tomcat6-jsp-2.1-api = 6.0.24-78.el6_5 for package: to
mcat6-lib-6.0.24-78.el6_5.noarch
--> Processing Dependency: tomcat6-el-2.1-api = 6.0.24-78.el6_5 for package: tom
cat6-lib-6.0.24-78.el6_5.noarch
--> Processing Dependency: ecj for package: tomcat6-lib-6.0.24-78.el6_5.noarch
--> Running transaction check
---> Package at.x86_64 0:3.1.10-43.el6_2.1 will be installed
---> Package ecj.x86_64 1:3.4.2-6.el6 will be installed
---> Package ed.x86_64 0:1.1-3.3.el6 will be installed
---> Package gettext.x86_64 0:0.17-16.el6 will be installed
--> Processing Dependency: cvs for package: gettext-0.17-16.el6.x86_64
---> Package mailx.x86_64 0:12.4-7.el6 will be installed
---> Package man.x86_64 0:1.6f-32.el6 will be installed
---> Package openshift-origin-cartridge-jbosseap.noarch 0:2.19.1.1-1.el6 will be
installed
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-welcome-content-eap for package: openshift-or
igin-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-standalone for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-product-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-modules-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-jbossweb-native for package: openshift-origin
-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-hornetq-native for package: openshift-origin-
cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-domain for package: openshift-origin-cartridg
e-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-core for package: openshift-origin-cartridge-
jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-bundles for package: openshift-origin-cartrid
ge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-appclient for package: openshift-origin-cartr
idge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-modules for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-index for package: openshift-origin-cartri
dge-jbosseap-2.19.1.1-1.el6.noarch
---> Package openshift-origin-cartridge-jbossews.noarch 0:1.25.3.1-1.el6 will be
installed
--> Processing Dependency: tomcat7 for package: openshift-origin-cartridge-jboss
ews-1.25.3.1-1.el6.noarch
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ws-1.25.3.1-1.el6.noarch
---> Package pax.x86_64 0:3.4-10.1.el6 will be installed
---> Package perl-CGI.x86_64 0:3.51-136.el6 will be installed
---> Package time.x86_64 0:1.7-37.1.el6 will be installed
---> Package tomcat6-el-2.1-api.noarch 0:6.0.24-78.el6_5 will be installed
---> Package tomcat6-jsp-2.1-api.noarch 0:6.0.24-78.el6_5 will be installed
---> Package tomcat6-servlet-2.5-api.noarch 0:6.0.24-78.el6_5 will be installed
--> Running transaction check
---> Package cvs.x86_64 0:1.11.23-16.el6 will be installed
---> Package openshift-origin-cartridge-jbosseap.noarch 0:2.19.1.1-1.el6 will be
installed
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-welcome-content-eap for package: openshift-or
igin-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-standalone for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-product-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-modules-eap for package: openshift-origin-car
tridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-jbossweb-native for package: openshift-origin
-cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-hornetq-native for package: openshift-origin-
cartridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-domain for package: openshift-origin-cartridg
e-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-core for package: openshift-origin-cartridge-
jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-bundles for package: openshift-origin-cartrid
ge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jbossas-appclient for package: openshift-origin-cartr
idge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-modules for package: openshift-origin-cart
ridge-jbosseap-2.19.1.1-1.el6.noarch
--> Processing Dependency: jboss-eap6-index for package: openshift-origin-cartri
dge-jbosseap-2.19.1.1-1.el6.noarch
---> Package openshift-origin-cartridge-jbossews.noarch 0:1.25.3.1-1.el6 will be
installed
--> Processing Dependency: tomcat7 for package: openshift-origin-cartridge-jboss
ews-1.25.3.1-1.el6.noarch
--> Processing Dependency: maven3 for package: openshift-origin-cartridge-jbosse
ws-1.25.3.1-1.el6.noarch
--> Finished Dependency Resolution Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-domain Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-jbossweb-native Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-core Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-welcome-content-eap Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-bundles Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-appclient Error: Package: openshift-origin-cartridge-jbossews-1.25.3.1-1.el6.noarch (opens
hift-origin)
Requires: maven3 Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-product-eap Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-standalone Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: maven3 Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-modules-eap Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jboss-eap6-modules Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jbossas-hornetq-native Error: Package: openshift-origin-cartridge-jbosseap-2.19.1.1-1.el6.noarch (opens
hift-origin)
Requires: jboss-eap6-index Error: Package: openshift-origin-cartridge-jbossews-1.25.3.1-1.el6.noarch (opens
hift-origin)
Requires: tomcat7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
JBoss AS and JBoss EWS installation guide for Redhat OpenShift Origin v4
Unfortunately up to now, the JBoss AS and EWS are not officially supported on OpenShift Origin v4, however there is a solution for that.
Thanks for Diego Castro from Getup Cloud (http://getupcloud.com) for creating the necessary RPM packages, it was him who actually enabled the possibility to install JBoss AS on OpenShift Origin v4 for us.
So you have to install the following RPM packages before you can enable the installation of the JBoss cartridges
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/tomcat6-6.0.39-1.noarch.rpm
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/tomcat7-7.0.50-1.noarch.rpm
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/maven3-3.0.3-4.noarch.rpm
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/jboss-as7-modules-7.1.1.Final-1.noarch.rpm
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/jboss-as7-7.1.1.Final-1.noarch.rpm
you can probably install them directly, but I prefer downloading them with wget and then running "yum install" on them.
To directly install them all with yum run:
yum install -y \
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/tomcat6-6.0.39-1.noarch.rpm \
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/tomcat7-7.0.50-1.noarch.rpm \
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/maven3-3.0.3-4.noarch.rpm \
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/jboss-as7-modules-7.1.1.Final-1.noarch.rpm \
https://s3-us-west-2.amazonaws.com/getup-mirror/getup-openshift-origin-release-4/dependencies/jboss-as7-7.1.1.Final-1.noarch.rpm
If the installs were successful, you should be able to install now these OpenShift cartridges, so just run:
yum install openshift-origin-cartridge-jbossas
yum install openshift-origin-cartridge-jbossews
If you can't install these, maybe try running the installation of packages again.
Now thsese should be successful too. If they are, they will be listed under "Installed", somewhat like this:
Installed:
openshift-origin-cartridge-jbossas.noarch 0:1.26.1.1-1.el6
Dependency Installed:
jboss-openshift-metrics-module.noarch 0:1.0.2.redhat_1-1.2.el6oso
quartz.noarch 0:2.2.1.redhat_1-1.el6oso
So now after checking the "yum list installed" looked like this:
# yum list installed | grep jboss
jboss-as7.noarch 7.1.1.Final-1 #/jboss-as7-7.1.1.Final-1.noarch
jboss-as7-modules.noarch 7.1.1.Final-1 #/jboss-as7-modules-7.1.1.Final-1.noarch
jboss-openshift-metrics-module.noarch 1.0.2.redhat_1-1.2.el6oso
openshift-origin-cartridge-jbossas.noarch 1.26.1.1-1.el6 #openshift-origin
openshift-origin-cartridge-jbossews.noarch
# yum list installed | grep tomc
apache-tomcat-apis.noarch 0.1-1.el6 #base
tomcat6.noarch 6.0.39-1 #/tomcat6-6.0.39-1.noarch
tomcat7.noarch 7.0.50-1 #/tomcat7-7.0.50-1.noarch
Now run:
service ruby193-mcollective restart
Might look something like this:
# service ruby193-mcollective restart
Shutting down mcollective: [ OK ]
Starting mcollective: warn 2014/09/30 04:31:42: config.rb:117:in `block in loadconfig' Use of deprecated 'topicprefix' option. This option is ignored and should be removed from '/opt/rh/ruby193/root/etc/mcollective/server.cfg'
[ OK ]
Then run the activation of the cartridges:
oo-admin-ctl-cartridge -c import-node --activate
The output should now look something like this:
# oo-admin-ctl-cartridge -c import-node --activate
warn 2014/09/30 04:33:03: config.rb:117:in `block in loadconfig' Use of deprecated 'topicprefix' option. This option is ignored and should be removed from '/opt/rh/ruby193/root/etc/mcollective/client.cfg'
Updating 3 cartridges ...
542a6ac5653e8a988b000001 # A jbossas-7 (active)
542a6ac5653e8a988b000002 # A jbossews-2.0 (active)
542a6ac5653e8a988b000003 # A jbossews-1.0 (active)
If that didn't work, then maybe try restarting the VM. That might help.
So now those cartridges should be available, you should be able to find them by checking the cartridge list with:
rhc cartridge list
So between all the cartridges you should now also be able to find these:
jbossas-7 JBoss Application Server 7 web
jbossews-1.0 Tomcat 6 (JBoss EWS 1.0) web
jbossews-2.0 Tomcat 7 (JBoss EWS 2.0) web
You should now be able to use these cartridges in OpenShift.
Hope this helps you guys!
# yum install gcc
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-50.el5 set to be updated
--> Processing Dependency: cpp = 4.1.2-50.el5 for package: gcc
--> Processing Dependency: libgomp >= 4.1.2-50.el5 for package: gcc
--> Processing Dependency: libgcc >= 4.1.2-50.el5 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package cpp.x86_64 0:4.1.2-50.el5 set to be updated
---> Package glibc-devel.x86_64 0:2.5-58 set to be updated
--> Processing Dependency: glibc-headers = 2.5-58 for package: glibc-devel
--> Processing Dependency: glibc = 2.5-58 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package libgcc.i386 0:4.1.2-50.el5 set to be updated
---> Package libgcc.x86_64 0:4.1.2-50.el5 set to be updated
---> Package libgomp.x86_64 0:4.4.4-13.el5 set to be updated
--> Running transaction check
--> Processing Dependency: glibc = 2.5-49.el5_5.7 for package: nscd
---> Package glibc.i686 0:2.5-58 set to be updated
--> Processing Dependency: glibc-common = 2.5-58 for package: glibc
---> Package glibc.x86_64 0:2.5-58 set to be updated
---> Package glibc-headers.x86_64 0:2.5-58 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Running transaction check
---> Package glibc-common.x86_64 0:2.5-58 set to be updated
---> Package glibc-headers.x86_64 0:2.5-58 set to be updated
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Processing Dependency: kernel-headers for package: glibc-headers
---> Package nscd.x86_64 0:2.5-58 set to be updated
--> Finished Dependency Resolution
glibc-headers-2.5-58.x86_64 from rhel-x86_64-server-5 has depsolving problems
--> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-58.x86_64 (rhel-x86_64-server-5)
glibc-headers-2.5-58.x86_64 from rhel-x86_64-server-5 has depsolving problems
--> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-58.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-58.x86_64 (rhel-x86_64-server-5)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-58.x86_64 (rhel-x86_64-server-5)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
Looks like you just need to:
yum install kernel-headers
I'm trying to install Mono on CentOS 5.3.3 through Yum.
According to the instructions I found elsewhere I grabbed a copy of mono.repo from the Mono site and placed it in the /etc/yum.repos.d directory.
The file looks like this:
[mono]
name=Mono for rhel-4-i386 (stable)
baseurl=http://ftp.novell.com/pub/mono/download-stable/rhel-4-i386/
enabled=1
gpgcheck=0
Next I ran yum install mono-complete and here's the log.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.5ninesolutions.com
* updates: mirrors.usc.edu
* centosplus: mirror.5ninesolutions.com
* addons: mirror.5ninesolutions.com
* extras: mirrors.usc.edu
base | 1.1 kB 00:00
updates | 951 B 00:00
centosplus | 951 B 00:00
addons | 951 B 00:00
extras | 1.1 kB 00:00
Excluding Packages in global exclude list
Finished
Reducing CentOS-5 - Extras to included packages only
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mono-complete.i586 0:1.9.1-2.novell set to be updated
--> Processing Dependency: mono-nunit = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-extras = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-data = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-data-firebird = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: bytefx-data-mysql = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-locale-extras = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-data-oracle = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-data-sybase = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-winforms = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-data-sqlite = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-jscript = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-web = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-data-postgresql = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-devel = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: ibm-data-db2 = 1.9.1-2.novell for package: mono-complete
--> Processing Dependency: mono-core = 1.9.1-2.novell for package: mono-complete
--> Running transaction check
---> Package mono-web.i586 0:1.9.1-2.novell set to be updated
---> Package mono-data.i586 0:1.9.1-2.novell set to be updated
---> Package mono-data-firebird.i586 0:1.9.1-2.novell set to be updated
---> Package mono-core.i586 0:1.9.1-2.novell set to be updated
--> Processing Dependency: libgdiplus0 for package: mono-core
---> Package mono-nunit.i586 0:1.9.1-2.novell set to be updated
---> Package mono-devel.i586 0:1.9.1-2.novell set to be updated
--> Processing Dependency: glib2-devel for package: mono-devel
---> Package mono-data-sybase.i586 0:1.9.1-2.novell set to be updated
---> Package mono-data-postgresql.i586 0:1.9.1-2.novell set to be updated
---> Package mono-jscript.i586 0:1.9.1-2.novell set to be updated
---> Package mono-data-sqlite.i586 0:1.9.1-2.novell set to be updated
---> Package bytefx-data-mysql.i586 0:1.9.1-2.novell set to be updated
---> Package mono-data-oracle.i586 0:1.9.1-2.novell set to be updated
---> Package ibm-data-db2.i586 0:1.9.1-2.novell set to be updated
---> Package mono-locale-extras.i586 0:1.9.1-2.novell set to be updated
---> Package mono-extras.i586 0:1.9.1-2.novell set to be updated
---> Package mono-winforms.i586 0:1.9.1-2.novell set to be updated
--> Running transaction check
---> Package libgdiplus0.i386 0:1.9-1.rhel4.novell set to be updated
--> Processing Dependency: libXrender.so.1 for package: libgdiplus0
--> Processing Dependency: libungif.so.4 for package: libgdiplus0
--> Processing Dependency: libexif.so.9 for package: libgdiplus0
---> Package glib2-devel.i386 0:2.12.3-4.el5_3.1 set to be updated
--> Running transaction check
---> Package libXrender.i386 0:0.9.1-3.1 set to be updated
---> Package libgdiplus0.i386 0:1.9-1.rhel4.novell set to be updated
--> Processing Dependency: libexif.so.9 for package: libgdiplus0
---> Package giflib.i386 0:4.1.3-7.1.el5_3.1 set to be updated
--> Finished Dependency Resolution
libgdiplus0-1.9-1.rhel4.novell.i386 from mono has depsolving problems
--> Missing Dependency: libexif.so.9 is needed by package libgdiplus0-1.9-1.rhel4.novell.i386 (mono)
Error: Missing Dependency: libexif.so.9 is needed by package libgdiplus0-1.9-1.rhel4.novell.i386 (mono)
According to this post on the CentOS forums, I even enabled the centosplus repo - but no avail.
Can anyone guide me in resolving this missing dependency of libexif.so.9 ? I cannot seem to find the rpm for this exact version...
Thanks,
m^e
EDIT:
I just realized that you are using CentOS 4 sources but trying to install on CentOS 5. That was almost certainly your problem. Anyway, I leave my original answer below for the benefit of all.
I agree that this is a ServerFault thing:
yum install libexif
or
yum install exif
More importantly, I would definitely compile Mono from source myself so that you can use something newer. It is a breeze (once you get libgdiplus installed especially). I have done it many times on CentOS 5 and a few times on CentOS 4.
http://ftp.novell.com/pub/mono/sources/
Compile libgdiplus to support System.Drawing:
$ tar xzf libgdiplus-2.10.tar.gz
$ cd libgdiplus-2.10
$ ./configure
$ make
$ make install
Then compile Mono itself:
$ tar xzf mono-2.10.tar.gz
$ cd mono-2.10
$ ./configure
$ make
$ make install