linux - Installing openssl on RHEL 6.2
2014-04
Trying to install openssl-devel on RHEL 6.2.
yum install openssl-devel
And i am getting this error:
--> Finished Dependency Resolution
Error: Package: glibc-2.12-1.47.el6.i686 (rhel62)
Requires: glibc-common = 2.12-1.47.el6
Removing: glibc-common-2.12-1.47.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2)
glibc-common = 2.12-1.47.el6
Updated By: glibc-common-2.12-1.80.el6_3.7.x86_64 (rhel62-update)
glibc-common = 2.12-1.80.el6_3.7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
--skip-broken does not help. How can I fix this?
Update: Fixed by updating ro RHEL 6.4
Have you tried making sure you have up to date information in your RPM databases? Something along the lines yum clean all && yum update
might be in order at this point.
I need to recompile php, in order to do that I needed openssl-devel
but when I tried installing it, I got the following error:
# apt-get install openssl-devel
Reading Package Lists...
Building Dependency Tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openssl-devel: Depends: openssl (= 0.9.7a-43.17.mOS1.2) but 0.9.7a-43.17.mOS1.6 is to be installed
E: Broken packages
Of course I tried installing openssl
but it is already there
# apt-get install openssl
Reading Package Lists...
Building Dependency Tree...
openssl is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 1 not upgraded.
I even tried apt-get reinstall openssl
but nothing changed. I need openssl-devel
because I also need to install another packages that depend on it.
I also tried to do apt-get update
and apt-get upgrade
with no help.
Can I install openssl-devel from source code? I try installing the rpm but that doesn't work because each rpm version needs a matching openssl version and I can't find a matching openssl-devel to what I already have installed on this box!!
Please I need help ASAP.