Package installation

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Package installation

kvmishra
Dear Sir,

Hope you are doing well!

I'm getting an error while installing a package using yum repository.
#yum install php-devel

php-devel.txt

I've attached the error log for the reference. if you help me on this ill be very thankful to you!!

Thanks
Vikash
Reply | Threaded
Open this post in threaded view
|

Re: Package installation

ErmanArslansOracleBlog
Administrator
Ensure you re doing the right thing.. Installing the correct package, because you ve got dependency errors.
Ensure you have proper conf for the yum.

See ->

Error: Package: libcom_err-devel-1.42.9-19.0.1.el7.x86_64 (ol7_latest)
           Requires: libcom_err(x86-64) = 1.42.9-19.0.1.el7
           Installed: libcom_err-1.45.4-3.0.5.el7.x86_64 (@ol7_UEKR6)

You see ol7_UEKR6, and ol7_latest..

For instance for libcom, interestingly you got higher version...
Maybe the version of php-devel that your yum is trying to install is lower.
You have to check the yum config. I think yum should look to the UEKR7.. Such as the ones in here -> https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64/

Reply | Threaded
Open this post in threaded view
|

Re: Package installation

kvmishra
Hi Sir,

Actualy, I'm installing oci8.so php extension. This has dependency on php-devel package. php-devel has dependency on "libcom_err-1.42.9-12.el7_5.x86_64" but its already installed with higher version. What can i do in this scenario. This whole purposes is to install moodle on this machine with Oracle 19c.

I've,
PHP 8.1.28 (cli) (built: Apr 10 2024 05:53:50) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.28, Copyright (c) Zend Technologies


Thanks
Vikash
Reply | Threaded
Open this post in threaded view
|

Re: Package installation

kvmishra
I've just checked,

[root@test html]# yum install libcom_err-1.42.9-19.0.1.el7.x86_64
Loaded plugins: langpacks, ulninfo
Package matching libcom_err-1.42.9-19.0.1.el7.x86_64 already installed. Checking for update.
Nothing to do
[root@test html]#

this package is also available then why its not taking by itself while installing php-devel package.
Reply | Threaded
Open this post in threaded view
|

Re: Package installation

ErmanArslansOracleBlog
Administrator
Please see my previous update ->

Ensure you have proper conf for the yum.

See ->

Error: Package: libcom_err-devel-1.42.9-19.0.1.el7.x86_64 (ol7_latest)
           Requires: libcom_err(x86-64) = 1.42.9-19.0.1.el7
           Installed: libcom_err-1.45.4-3.0.5.el7.x86_64 (@ol7_UEKR6)

You see ol7_UEKR6, and ol7_latest..

For instance for libcom, interestingly you got higher version...
Maybe the version of php-devel that your yum is trying to install is lower.
You have to check the yum config. I think yum should look to the UEKR7.. Such as the ones in here -> https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64/