1 (edited by ghost 2013-12-11 11:34:33)

Topic: PHP 5.5 yum update problem

Dear Sir:

Every time I update PHP 5.5 on CentOS 6 always meet a problem about php-pecl-zip:

Error: Package: php-common-5.5.7-1.el6.remi.i686 (remi-php55)
           Requires: php-pecl-zip(x86-32)
           Removing: php-pecl-zip-1.12.2-2.el6.remi.5.5.i686 (@remi-php55)
               php-pecl-zip(x86-32) = 1.12.2-2.el6.remi.5.5
           Obsoleted By: php-common-5.5.7-1.el6.remi.i686 (remi-php55)
               Not found
Available:... ... ... ...

How should I do to kill the php-pecl-zip problem?

Thank you

Re: PHP 5.5 yum update problem

Hmm very strange, there is no obsoletes...

$ rpm -qp --requires  php-common-5.5.7-1.el6.remi.i686.rpm 
php-pecl-jsonc(x86-32)
php-pecl-zip(x86-32)
...

$ rpm -qp --obsoletes  php55/i386/php-common-5.5.7-1.el6.remi.i686.rpm 
php-pecl-phar < 1.2.4
php-pecl-Fileinfo < 1.0.5
php-mhash < 5.3.0

Can you please paste the "rpm -qa php\* | sort" output + the full yum ooutput ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

3 (edited by ghost 2013-12-11 12:27:14)

Re: PHP 5.5 yum update problem

After I install php-pecl-zipp-1.12.2-2.el6.remi.5.5.i686
on CentOS 6.4 32 would show:

  Installing : php-pecl-zip-1.12.2-2.el6.remi.5.5.i686                                                                    1/1
In file included from /usr/include/features.h:385,
                 from /tmp/glibctestEKRiwH:1:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

and yum update again will show:
---> Package php-common.i686 0:5.5.7-1.el6.remi will be obsoleting
--> Processing Dependency: php-pecl-zip(x86-32) for package: php-common-5.5.7-1.el6.remi.i686
---> Package php-pecl-zip.i686 0:1.12.2-2.el6.remi.5.5 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-32) for package: php-common-5.5.7-1.el6.remi.i686

then

Error: Package: php-common-5.5.7-1.el6.remi.i686 (remi-php55)
           Requires: php-pecl-zip(x86-32)
           Removing: php-pecl-zip-1.12.2-2.el6.remi.5.5.i686 (@remi-php55)
               php-pecl-zip(x86-32) = 1.12.2-2.el6.remi.5.5
           Obsoleted By: php-common-5.5.7-1.el6.remi.i686 (remi-php55)
               Not found
           Available:... ... ...

//

#rpm -qa php\* | sort
php-5.5.6-1.el6.remi.i686
php-cli-5.5.6-1.el6.remi.i686
php-common-5.5.6-1.el6.remi.i686
php-gd-5.5.6-1.el6.remi.i686
php-ldap-5.5.6-1.el6.remi.i686
php-mbstring-5.5.6-1.el6.remi.i686
php-mysqlnd-5.5.6-1.el6.remi.i686
php-pdo-5.5.6-1.el6.remi.i686
php-pear-1.9.4-23.el6.remi.noarch
php-pecl-jsonc-1.3.2-2.el6.remi.1.i686
php-pecl-zip-1.12.2-2.el6.remi.5.5.i686
php-process-5.5.6-1.el6.remi.i686
php-soap-5.5.6-1.el6.remi.i686
php-xml-5.5.6-1.el6.remi.i686

Re: PHP 5.5 yum update problem

I have updated various server this morning without issue (but all x86_64).

Going to try on an RHEL 6 i686 VM.

But I nver saw this before:

In file included from /usr/include/features.h:385,
                 from /tmp/glibctestEKRiwH:1:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 5.5 yum update problem

So test result from a freshly installed RHEL 6.5
- repo configuration
- install phpMyAdmin (pull php 5.3.3 and some other things) => OK.
- update with "remi" => pull PHP 5.4.23 => OK
- update with "remi" + "remi-php55" => pul PHP 5.5.7 => OK.

So, I think there is something broken on your system..

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

6 (edited by ghost 2013-12-11 13:30:31)

Re: PHP 5.5 yum update problem

Oh Oh...

/usr/include/gnu/stubs.h caused because I didn't install glibc-devel.

Last I download your php-common-5.5.7 rpm -Uvh --nodeps
after I install that first,then I can update others without php-pecl-zip problem...

I think maybe that's I did something wrong since
I ever rebuild the old php rpm for apache 2.4 before,
although I reinstall to 2.2 already,
but some record/config didn't make all clean...

Thank you

Re: PHP 5.5 yum update problem

I also have the same problem:

# yum update php\*
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Update Process
Package php54-common-5.4.22-1.ius.el6.x86_64 is obsoleted by php-common-5.5.7-1.el6.remi.x86_64 which is already installed
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-zip.x86_64 0:1.12.3-1.el6.remi.5.5 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.7-1.el6.remi.x86_64
---> Package php54-common.x86_64 0:5.4.22-1.ius.el6 will be obsoleting
--> Finished Dependency Resolution
Error: Package: php-common-5.5.7-1.el6.remi.x86_64 (@remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.3-1.el6.remi.5.5.x86_64 (@remi-php55)
               php-pecl-zip(x86-64) = 1.12.3-1.el6.remi.5.5
           Obsoleted By: php54-common-5.4.22-1.ius.el6.x86_64 (ius)
               Not found
           Available: php-common-5.4.22-1.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.23-1.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-pecl-zip-1.12.2-2.el6.remi.5.5.x86_64 (remi-php55)
               php-pecl-zip(x86-64) = 1.12.2-2.el6.remi.5.5
           Installed: php-common-5.5.7-1.el6.remi.x86_64 (@remi-php55)
               Not found
           Available: php-common-5.3.3-26.el6.x86_64 (centos6-base)
               Not found
           Available: php-common-5.3.3-27.el6_5.x86_64 (centos6-updates)
               Not found
           Available: php-common-5.5.6-1.el6.remi.x86_64 (remi-php55)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



# rpm -qp --requires  php-common-5.5.7-1.el6.remi.x86_64.rpm
warning: php-common-5.5.7-1.el6.remi.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
rpmlib(VersionedDependencies) <= 3.0.3-1
php-pecl-jsonc(x86-64)
php-pecl-zip(x86-64)
/bin/sh
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
libbz2.so.1()(64bit)
libcrypto.so.10()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libcurl.so.4()(64bit)
libdl.so.2()(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libssl.so.10()(64bit)
libz.so.1()(64bit)
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1

# rpm -qp --obsoletes  php-common-5.5.7-1.el6.remi.x86_64.rpm
warning: php-common-5.5.7-1.el6.remi.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
php-pecl-phar < 1.2.4
php-pecl-Fileinfo < 1.0.5
php-mhash < 5.3.0
php53-mhash
php53u-mhash
php53-common
php53u-common
php54-common
php55u-common

Re: PHP 5.5 yum update problem

Try disabling IUS repo (php54-common from IUS seems to have a bad unversionned obsolete on php-pecl-zip)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 5.5 yum update problem

Thanks.
After disable IUS repo, the problem has gone.

Re: PHP 5.5 yum update problem

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi