remicollet / remirepo

Issue tracker for
https://rpms.remirepo.net/
278 stars 53 forks source link

php-pecl-zip issue with php-5.5 #14

Closed tssajo closed 10 years ago

tssajo commented 10 years ago

Hello,

I have a fully up-to-date CentOS 6.5 server running in production. I used to have php-5.4 installed from your repository (remi.repo). It was working mostly fine except for a few minor issues, Because of those issues I decided to upgrade to php-5.5 to see if the upgrade helps. First I uninstalled php-5.4 completely with yum remove, then I enabled "remi-php55" repo in /etc/yum.repos.d/remi.repo and then I did a yum update and finally I re-installed php with yum install command. It was mostly successful, except that I now get this error every time I issue yum update command, please see:

# yum clean all
Loaded plugins: fastestmirror, replace, security
Cleaning repos: base epel extras ius remi remi-php55 rpmforge updates
Cleaning up Everything
# yum update
Loaded plugins: fastestmirror, replace, security
Determining fastest mirrors
epel/metalink                                                                                                                                                                                                         |  26 kB     00:00
 * base: mirror2.hs-esslingen.de
 * epel: mirrors.n-ix.net
 * extras: centos.schlundtech.de
 * ius: mirror.amsiohosting.net
 * remi: remirpm.mirror.gymkl.ch
 * remi-php55: remirpm.mirror.gymkl.ch
 * rpmforge: mirror1.hs-esslingen.de
 * updates: ftp-stud.fht-esslingen.de
base                                                                                                                                                                                                                  | 3.7 kB     00:00
base/primary_db                                                                                                                                                                                                       | 4.4 MB     00:00
epel                                                                                                                                                                                                                  | 4.4 kB     00:00
epel/primary_db                                                                                                                                                                                                       | 6.3 MB     00:00
extras                                                                                                                                                                                                                | 3.4 kB     00:00
extras/primary_db                                                                                                                                                                                                     |  19 kB     00:00
ius                                                                                                                                                                                                                   | 2.1 kB     00:00
ius/primary_db                                                                                                                                                                                                        | 147 kB     00:00
remi                                                                                                                                                                                                                  | 2.9 kB     00:00
remi/primary_db                                                                                                                                                                                                       | 729 kB     00:00
remi-php55                                                                                                                                                                                                            | 2.9 kB     00:00
remi-php55/primary_db                                                                                                                                                                                                 | 156 kB     00:00
rpmforge                                                                                                                                                                                                              | 1.9 kB     00:00
rpmforge/primary_db                                                                                                                                                                                                   | 2.7 MB     00:00
updates                                                                                                                                                                                                               | 3.4 kB     00:00
updates/primary_db                                                                                                                                                                                                    | 4.7 MB     00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package php-common.x86_64 0:5.5.15-1.el6.remi will be reinstalled
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.15-1.el6.remi.x86_64
---> Package php-pecl-zip.x86_64 0:1.12.4-1.el6.remi.5.5 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.15-1.el6.remi.x86_64
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.15-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-common-5.5.15-1.el6.remi.x86_64 (remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 (@remi-php55)
               php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.5
           Obsoleted By: php-common-5.5.15-1.el6.remi.x86_64 (remi-php55)
               Not found
           Available: php-common-5.4.30-1.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.31-1.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: 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
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               Not found
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               Not found
           Available: php-common-5.3.3-27.el6_5.1.x86_64 (updates)
               Not found
           Available: php-common-5.5.14-2.el6.remi.x86_64 (remi-php55)
               Not found
Error: Package: php-common-5.5.15-1.el6.remi.x86_64 (@remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 (@remi-php55)
               php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.5
           Obsoleted By: php-common-5.5.15-1.el6.remi.x86_64 (remi-php55)
               Not found
           Available: php-common-5.4.30-1.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.31-1.el6.remi.x86_64 (remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: 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
           Available: php-common-5.3.3-26.el6.x86_64 (base)
               Not found
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               Not found
           Available: php-common-5.3.3-27.el6_5.1.x86_64 (updates)
               Not found
           Available: php-common-5.5.14-2.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

I have php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 installed, see:

# rpm -qa | sort | grep -i php
php-5.5.15-1.el6.remi.x86_64
php-bcmath-5.5.15-1.el6.remi.x86_64
php-cli-5.5.15-1.el6.remi.x86_64
php-common-5.5.15-1.el6.remi.x86_64
php-devel-5.5.15-1.el6.remi.x86_64
php-fpm-5.5.15-1.el6.remi.x86_64
php-gd-5.5.15-1.el6.remi.x86_64
php-imap-5.5.15-1.el6.remi.x86_64
php-intl-5.5.15-1.el6.remi.x86_64
php-magickwand-1.0.9.2-7.el6.remi.5.5.x86_64
php-mbstring-5.5.15-1.el6.remi.x86_64
php-mcrypt-5.5.15-1.el6.remi.x86_64
php-mysqlnd-5.5.15-1.el6.remi.x86_64
php-opcache-5.5.15-1.el6.remi.x86_64
php-pdo-5.5.15-1.el6.remi.x86_64
php-pear-1.9.5-2.el6.remi.noarch
php-pecl-apcu-4.0.6-1.el6.remi.5.5.x86_64
php-pecl-imagick-3.1.2-3.el6.remi.5.5.x86_64
php-pecl-jsonc-1.3.6-1.el6.remi.5.5.1.x86_64
php-pecl-jsonc-devel-1.3.6-1.el6.remi.5.5.1.x86_64
php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64
php-process-5.5.15-1.el6.remi.x86_64
php-xml-5.5.15-1.el6.remi.x86_64
php-xmlrpc-5.5.15-1.el6.remi.x86_64

So how can I get rid of the error message which I get when I try to do yum update ???

Can you please help me with this?

Thanks!!

remicollet commented 10 years ago

Try after disabling IUS (which have stupid poorly managed unversioned obsoletes) and RPMForge.

tssajo commented 10 years ago

I just did and you were right. yum update no longer gives that error message. Thanks a lot!!

# yum clean all
Loaded plugins: fastestmirror, replace, security
Cleaning repos: base epel extras remi remi-php55 updates
Cleaning up Everything
Cleaning up list of fastest mirrors
# yum update
Loaded plugins: fastestmirror, replace, security
Determining fastest mirrors
epel/metalink                                                                                                                                                                                                         |  26 kB     00:00
 * base: mirror2.hs-esslingen.de
 * epel: ftp-stud.hs-esslingen.de
 * extras: centos.schlundtech.de
 * remi: remi.schlundtech.de
 * remi-php55: remi.schlundtech.de
 * updates: mirror.skylink-datacenter.de
base                                                                                                                                                                                                                  | 3.7 kB     00:00
base/primary_db                                                                                                                                                                                                       | 4.4 MB     00:00
epel                                                                                                                                                                                                                  | 4.4 kB     00:00
epel/primary_db                                                                                                                                                                                                       | 6.3 MB     00:00
extras                                                                                                                                                                                                                | 3.4 kB     00:00
extras/primary_db                                                                                                                                                                                                     |  19 kB     00:00
remi                                                                                                                                                                                                                  | 2.9 kB     00:00
remi/primary_db                                                                                                                                                                                                       | 729 kB     00:00
remi-php55                                                                                                                                                                                                            | 2.9 kB     00:00
remi-php55/primary_db                                                                                                                                                                                                 | 156 kB     00:00
updates                                                                                                                                                                                                               | 3.4 kB     00:00
updates/primary_db                                                                                                                                                                                                    | 4.7 MB     00:00
Setting up Update Process
No Packages marked for Update