Required dependency issue for php and clamd update

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
yimasun
New Forum User
New Forum User
Posts: 3
Joined: Mon Mar 25, 2013 11:55 am
Location: Boston, MA

Required dependency issue for php and clamd update

Unread post by yimasun »

I am trying to update php 5.3.x with atomic yum repo and I am getting the following error:
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.23-16.el6.art will be an update
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.3.23-16.el6.art.x86_64
---> Package t1lib.x86_64 0:5.1.2-6.el6_2.1 will be installed
--> Finished Dependency Resolution
Error: Package: php-gd-5.3.23-16.el6.art.x86_64 (atomic)
Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)

I checked and made sure I do indeed have libjpeg installed:
Installed Packages
Name : libjpeg
Arch : x86_64
Version : 6b
Release : 46.el6
Size : 293 k
Repo : installed
From repo : anaconda-RedHatEnterpriseLinux-201206132210.x86_64
Summary : A library for manipulating JPEG image format files
URL : http://www.ijg.org/
License : IJG
Description : The libjpeg package contains a library of functions for manipulating
: JPEG images, as well as simple client programs for accessing the
: libjpeg functions. Libjpeg client programs include cjpeg, djpeg,
: jpegtran, rdjpgcom and wrjpgcom. Cjpeg compresses an image file into
: JPEG format. Djpeg decompresses a JPEG file into a regular image
: file. Jpegtran can perform various useful transformations on JPEG
: files. Rdjpgcom displays any text comments included in a JPEG file.
: Wrjpgcom inserts text comments into a JPEG file.

rpm -ql libjpeg show it to be here as symlink: /usr/lib64/libjpeg.so.62 -> libjpeg.so.62.0.0

I also tried creating the same symlink in /lib64, /lib and /usr/lib and that didn't seem to help either.

Here is the full yum output:
yum update php
Loaded plugins: fastestmirror, priorities, product-id, security
Loading mirror speeds from cached hostfile
* atomic: www5.atomicorp.com
* epel: fedora.mirror.nexicom.net
* main-base: yum01tor.peer1.com
* main-extras: yum01tor.peer1.com
* main-optional: yum01tor.peer1.com
* main-updates: yum01tor.peer1.com
* rpmforge: mirror.team-cymru.org
1749 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php.x86_64 0:5.3.23-16.el6.art will be an update
--> Processing Dependency: php-common(x86-64) = 5.3.23-16.el6.art for package: php-5.3.23-16.el6.art.x86_64
--> Processing Dependency: php-cli(x86-64) = 5.3.23-16.el6.art for package: php-5.3.23-16.el6.art.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-cli.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-common.x86_64 0:5.3.3-14.el6_3 will be updated
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-ldap-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-bcmath-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-mbstring-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-gd-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-pdo-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-imap-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-mysql-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-odbc-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-xml-5.3.3-14.el6_3.x86_64
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-soap-5.3.3-14.el6_3.x86_64
---> Package php-common.x86_64 0:5.3.23-16.el6.art will be an update
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-bcmath.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-gd.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-gd.x86_64 0:5.3.23-16.el6.art will be an update
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.3.23-16.el6.art.x86_64
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.3.23-16.el6.art.x86_64
---> Package php-imap.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-imap.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-ldap.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-ldap.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-mbstring.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-mbstring.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-mysql.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-mysql.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-odbc.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-odbc.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-pdo.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-pdo.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-soap.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-soap.x86_64 0:5.3.23-16.el6.art will be an update
---> Package php-xml.x86_64 0:5.3.3-14.el6_3 will be updated
---> Package php-xml.x86_64 0:5.3.23-16.el6.art will be an update
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.23-16.el6.art will be an update
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.3.23-16.el6.art.x86_64
---> Package t1lib.x86_64 0:5.1.2-6.el6_2.1 will be installed
--> Finished Dependency Resolution
Error: Package: php-gd-5.3.23-16.el6.art.x86_64 (atomic)
Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Also getting similar error with clamd:
--> Running transaction check
---> Package clamav.x86_64 0:0.97.6-1.el6 will be updated
---> Package clamav.x86_64 0:0.97.7-10.el6.art will be an update
---> Package clamd.x86_64 0:0.97.7-10.el6.art will be an update
--> Processing Dependency: libz.so.1(ZLIB_1.2.0.2)(64bit) for package: clamd-0.97.7-10.el6.art.x86_64
--> Finished Dependency Resolution
Error: Package: clamd-0.97.7-10.el6.art.x86_64 (atomic)
Requires: libz.so.1(ZLIB_1.2.0.2)(64bit)

libz exists and I tried the same steps as above.

Please help.

thanks
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Required dependency issue for php and clamd update

Unread post by prupert »

[edit: incorrect assumption that you had two versions of PHP installed]

What does "package-cleanup --problems" tell you?
Last edited by prupert on Fri Mar 29, 2013 9:21 pm, edited 1 time in total.
Lemonbit Internet Dedicated Server Management
yimasun
New Forum User
New Forum User
Posts: 3
Joined: Mon Mar 25, 2013 11:55 am
Location: Boston, MA

Re: Required dependency issue for php and clamd update

Unread post by yimasun »

Where do you see that we have two versions of PHP installed? I didn't see that, but it's possible.

package-cleanup --problems show no problems found.

Thanks
yimasun
New Forum User
New Forum User
Posts: 3
Joined: Mon Mar 25, 2013 11:55 am
Location: Boston, MA

Re: Required dependency issue for php and clamd update

Unread post by yimasun »

Also just to clarify. We have php 5.3.3-14.el6_3 currently which is the latest distrib with our RHEL 6.3 (Red Hat Enterprise Linux Server release 6.3 (Santiago)).

Trying to update it to 5.3.23-16.el6.art which is the latest from the Atomic repo.
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: Required dependency issue for php and clamd update

Unread post by prupert »

yimasun wrote:Where do you see that we have two versions of PHP installed? I didn't see that, but it's possible.
I was mistaken. The yum transaction check does not suggest you have two versions of PHP installed.
Lemonbit Internet Dedicated Server Management
t0ken
New Forum User
New Forum User
Posts: 2
Joined: Fri Mar 29, 2013 1:18 pm
Location: Orlando, FL

Re: Required dependency issue for php and clamd update

Unread post by t0ken »

OP, did you ever get this resolved? I'm having the same exact issue [with php-gd not finding libjpeg].
Post Reply