Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-06-04, 03:29:06

Author Topic: Unable to run yum upgrade  (Read 4434 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Unable to run yum upgrade
« on: 2014-05-16, 12:04:25 »
How to correct this ?

Quote
Resolving Dependencies
--> Running transaction check
---> Package php-common.x86_64 0:5.5.12-1.el6.remi will be reinstalled
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.12-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.12-1.el6.remi.x86_64
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.5.12-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-common-5.5.12-1.el6.remi.x86_64 (@mratwork-remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 (@mratwork-remi-php55)
               php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.5
           Obsoleted By: php-common-5.5.12-1.el6.remi.x86_64 (mratwork-remi-php55)
               Not found
           Available: php-common-5.4.27-1.el6.remi.x86_64 (mratwork-remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.28-1.el6.remi.x86_64 (mratwork-remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-pecl-zip-1.12.3-1.el6.remi.5.5.x86_64 (mratwork-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.5.11-1.el6.remi.x86_64 (mratwork-remi-php55)
               Not found
Error: Package: php-common-5.5.12-1.el6.remi.x86_64 (mratwork-remi-php55)
           Requires: php-pecl-zip(x86-64)
           Removing: php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 (@mratwork-remi-php55)
               php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.5
           Obsoleted By: php-common-5.5.12-1.el6.remi.x86_64 (mratwork-remi-php55)
               Not found
           Available: php-common-5.4.27-1.el6.remi.x86_64 (mratwork-remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-common-5.4.28-1.el6.remi.x86_64 (mratwork-remi)
               php-pecl-zip(x86-64) = 1.11.0
           Available: php-pecl-zip-1.12.3-1.el6.remi.5.5.x86_64 (mratwork-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.5.11-1.el6.remi.x86_64 (mratwork-remi-php55)
               Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to run yum upgrade
« Reply #1 on: 2014-05-16, 12:29:21 »
Try 'yum update php* --disablerepo=* -enablerepo=mratwork-remi-php55'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unable to run yum upgrade
« Reply #2 on: 2014-05-18, 17:18:16 »
It works, but it's really annoying:

Quote
Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:

         1. You have an upgrade for php-common which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of php-common of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude php-common.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of php-common installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of php-common installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: php-common-5.4.28-1.el6.remi.x86_64 != php-common-5.5.12-1.el6.remi.x86_64

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to run yum upgrade
« Reply #3 on: 2014-05-19, 03:55:29 »
It's why Kloxo-MR choose IUS for php rpms rather than others. Branch model in IUS is easy to protect conflict between different php (also mysql) version.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Unable to run yum upgrade
« Reply #4 on: 2014-05-19, 21:39:13 »
Remi answered me:

> Yes it is - php-pecl-zip is conflicting with php-common in other repos.

No, this is php-common from other repo which stupidly "obsoletes" php-pecl-zip without version limit.
Bad packaging practice. This bug is fixed in fedora / remi repository for a long time.

I really can't take care of all existing third party repository.

> Why not integrate it again inside php-common ?

To make maintenance easier and in sync with system libzip.
php 5.5 have ext zip version 1.11 (libzip 0.10), while pecl/zip is version 1.12 (as in php 5.6, libzip 0.11)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to run yum upgrade
« Reply #5 on: 2014-05-19, 23:09:25 »
Remi answered me:

> Yes it is - php-pecl-zip is conflicting with php-common in other repos.

No, this is php-common from other repo which stupidly "obsoletes" php-pecl-zip without version limit.
Bad packaging practice. This bug is fixed in fedora / remi repository for a long time.

I really can't take care of all existing third party repository.

> Why not integrate it again inside php-common ?

To make maintenance easier and in sync with system libzip.
php 5.5 have ext zip version 1.11 (libzip 0.10), while pecl/zip is version 1.12 (as in php 5.6, libzip 0.11)
Tell to IUS in https://bugs.launchpad.net/ius/+bugs about it.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.063 seconds with 18 queries.

web stats analysis