error nginx dependency on centos 6 - nginx

i've just setup my server using centos 6.4, and right now i want to install nginx using yum, but i always get error require dependency. but i check on /usr/lib64/ library is not missing.
i really don't understand how to solve this.
this is my nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/6/$basearch/
gpgcheck=0
enabled=1
this is error from yum install nginx
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 0:1.4.6-1.el6.ngx will be installed
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) for package: nginx-1.4.6-1.el6.ngx.x86_64
--> Finished Dependency Resolution
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
Requires: libssl.so.10(libssl.so.10)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Related

Nginx (1.11.x)New Mainline release Installation on Amazon Linux

enter code hereI need to install nginx latest mainline release 1.11.x on amazon linux running on ec2 instance.
I followed the below link of nginx official documentation to install the same, the steps are very clear but still i couldnt install on amazon linux.
I tried the same on RHEL 7 on ec2 which is perfectly working fine with the steps given in the link but not on amazon linux, Below is the link which i referred to do the installation process
https://www.nginx.com/resources/admin-guide/installing-nginx-open-source/
Is it Amazon linux is not yet compatible with the nginx newer release??? i could install 1.8.x version of nginx in aws linux without issues which is already found in amazon repository.
I tried accessing the nginx repository and install the specific version but i got error, Below is the error which i got
yum install nginx
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.11.2-1.el7.ngx will be installed
--> Processing Dependency: systemd for package: 1:nginx-1.11.2- 1.el7.ngx.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: 1:nginx-1.11.2-1.el7.ngx.x86_64
--> Finished Dependency Resolution
Error: Package: 1:nginx-1.11.2-1.el7.ngx.x86_64 (nginx)
Requires: systemd
Error: Package: 1:nginx-1.11.2-1.el7.ngx.x86_64 (nginx)
Requires: libpcre.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
led by skipping the same

try run install php-xml get error

centos 6.5 yum php 5.5.35 I run yum install php-xml
Get the error messageļ¼š
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.nwsuaf.edu.cn
* epel: mirrors.opencas.cn
* extras: mirrors.pubyun.com
* remi-safe: mirror.awanti.com
* updates: mirrors.pubyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-xml.x86_64 0:5.3.3-46.el6_7.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_7.1 for package: php-xml-5.3.3-46.el6_7.1.x86_64
--> Finished Dependency Resolution
Error: Package: php-xml-5.3.3-46.el6_7.1.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-46.el6_7.1
Installed: php-common-5.5.35-1.el6.remi.x86_64 (#remi-php55)
php-common(x86-64) = 5.5.35-1.el6.remi
Available: php-common-5.3.3-40.el6_6.x86_64 (base)
php-common(x86-64) = 5.3.3-40.el6_6
Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
php-common(x86-64) = 5.3.3-46.el6_6
Available: php-common-5.3.3-46.el6_7.1.x86_64 (updates)
php-common(x86-64) = 5.3.3-46.el6_7.1
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
php5-xmlreader-5.5.14-38.1.x86_64 has missing requires of php5 = ('0', '5.5.14', None)
php5-xmlreader-5.5.14-38.1.x86_64 has missing requires of php5-dom = ('0', '5.5.14', None)
I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this
PHP 5.5.35 is installed from "remi-php55" which is not enabled by default, so you need to enable it to get correct version of php-xml.
See the Configuration Wizard
Either:
yum --enablerepo=remi-php55 install php-xml
Or better (to avoid future issues, and get updates)
yum install yum-utils
yum-config-manager --enable remi-php55
yum install php-xml

centos install php-odbc dependicies

I run "yum install php-odbc" command in centos6.x64
and reponse messages in terminal:
yum install php-odbc
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: repo.boun.edu.tr
* epel: mirror.fraunhofer.de
* extras: mirror.alastyr.com
* updates: repo.boun.edu.tr
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-odbc.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-odbc-5.3.3-46.el6_6.x86_64
--> Finished Dependency Resolution
Error: Package: php-odbc-5.3.3-46.el6_6.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-46.el6_6
Installed: php-common-5.6.13-1.el6.remi.x86_64 (installed)
php-common(x86-64) = 5.6.13-1.el6.remi
Available: php-common-5.3.3-40.el6_6.x86_64 (base)
php-common(x86-64) = 5.3.3-40.el6_6
Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
php-common(x86-64) = 5.3.3-46.el6_6
Available: php54w-common-5.4.45-2.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.45-2.w6
Available: php55w-common-5.5.30-2.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.30-2.w6
Available: php56w-common-5.6.14-2.w6.x86_64 (webtatic)
php-common(x86-64) = 5.6.14-2.w6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Its so obvious I need to install these packages, but how can I.. and I actually ask for generic solution for this kind of issue. How can I install all dependencies packages with current install.
EDITED: "php -v" response:
This line:
Installed: php-common-5.6.13-1.el6.remi.x86_64 (installed)
Tells me that you're probably running PHP 5.6 installed from the remi repository.
Have a look in /etc/yum.repos.d/ and see if you've got any .repo files with names beginning with remi. In particular, remi.repo.
If you have, try and install using:
yum --enablerepo=remi --enablerepo=remi-php56 install php-odbc

Installing R-devel & R-core-devel on RHEL 6

Following the release of R 3, I was having several yum error messages relating to R when yum updating my system. After yum removing R and its dependencies I started again from scratch. However, I cannot get R-devel or R-core-devel installed and cannot get around this issue. Here are my error messages following yum install R-core-devel R-devel
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: xz-devel for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package R-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: R-java-devel = 3.1.0-5.el6 for package: R-devel-3.1.0-5.el6.x86_64
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package R-java-devel.x86_64 0:3.0.2-1.el6 will be updated
---> Package R-java-devel.x86_64 0:3.1.0-5.el6 will be an update
---> Package xz-devel.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: libicu-devel
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
R-java-3.0.2-1.el6.x86_64 has missing requires of R-core = ('0', '3.0.2', '1.el6')
R-java-devel-3.0.2-1.el6.x86_64 has missing requires of R-core-devel = ('0', '3.0.2', '1.el6')
What does this mean and how can I resolve the issue
I had the same problem. The following answer worked for me:
Problems installing R on Linux CentOS 6.2
Specifically, I did this:
$ sudo yum install texinfo-tex
$ rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ sudo yum install tcl
$ sudo yum clean all
$ sudo yum install R

Install R on RedHat errors on dependencies that don't exist

I have installed R before on a machine running RedHat EL6.5, but I recently had a problem installing new packages (i.e. install.packages()). Since I couldn't find a solution to this, I tried reinstalling R using:
sudo yum remove R
and
sudo yum install R
But now I get:
....
---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed
--> Processing Dependency: blas-devel >= 3.0 for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: libicu-devel for package: R-core-devel-3.1.0-5.el6.x86_64
--> Processing Dependency: lapack-devel for package: R-core-devel-3.1.0-5.el6.x86_64
---> Package xz-devel.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: blas-devel >= 3.0
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: lapack-devel
Error: Package: R-core-devel-3.1.0-5.el6.x86_64 (epel)
Requires: libicu-devel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I already checked, and blas-devel is installed, but the newest version is 0.2.8. Checked using:
yum info openblas-devel.x86_64
Any thoughts as to what is going wrong? Thanks.
Do the following:
vim /etc/yum.repos.d/redhat.repo
Change enabled = 0 in [rhel-6-server-optional-rpms] section of the file to enabled=1
yum install R
DONE!
I think I should give reference to the site of solution:
https://bluehatrecord.wordpress.com/2014/10/13/installing-r-on-red-hat-enterprise-linux-6-5/
I had the same issue. Not sure why these packages are missing from RHEL's repos, but they are in CentOS 6.5, so the follow solution works, if you want to keep things in the package paradigm:
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/lapack-devel-3.2.1-4.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/blas-devel-3.2.1-4.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/texinfo-tex-4.13a-8.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libicu-devel-4.2.1-9.1.el6_2.x86_64.rpm
sudo yum localinstall *.rpm
cheers
UPDATE: Leon's answer is better -- see below.
The best solution I could come up with was to install from source. This worked and was not too bad. However, now it isn't in my package manager.

Resources