← Back to team overview

ius-community team mailing list archive

Re: replace plugin picking wrong package?

 

On 01/24/2013 12:43 PM, Joe Pruett wrote:
On 01/24/2013 10:40 AM, Jeffrey Ness wrote:
Joe,

I'm glad to hear you got this resolved. I'll have a look in to what
may of caused this and try to reproduce.


i'll probably be doing this on a lot of machines over the next month, so
i can try other options if you come up with them.


_______________________________________________
Mailing list: https://launchpad.net/~ius-community
Post to     : ius-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ius-community
More help   : https://help.launchpad.net/ListHelp
Hello Joe,

I have been looking into recreating this issue. I spun up a fresh CentOS 5.9 x86_64 server and enabled EPEL/IUS repos. Then proceeded to install php52-pgsql and all of its dependencies. Next I was able to perform the following:

***
# yum replace php52 --replace-with php53
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * base: mirror.team-cymru.org
 * epel: mirror.steadfast.net
 * extras: mirror.team-cymru.org
 * ius: mirror.rackspace.com
 * updates: mirror.beyondhosting.net
Replacing packages takes time, please be patient...

WARNING: Unable to resolve all providers: ['config(php52-common)', 'php-common', 'php-mime_magic', 'php52(api)', 'php52(zend-abi)', 'php52-api', 'php52-bz2', 'php52-calendar', 'php52-ctype', 'php52-curl', 'php52-date', 'php52-exif', 'php52-ftp', 'php52-gettext', 'php52-gmp', 'php52-hash', 'php52-iconv', 'php52-json', 'php52-libxml', 'php52-mime_magic', 'php52-openssl', 'php52-pcre', 'php52-posix', 'php52-pspell', 'php52-reflection', 'php52-session', 'php52-shmop', 'php52-simplexml', 'php52-sockets', 'php52-spl', 'php52-sysvmsg', 'php52-sysvsem', 'php52-sysvshm', 'php52-tokenizer', 'php52-wddx', 'php52-zend-abi', 'php52-zip', 'php52-zlib', 'php52-common', 'config(php52-pdo)', 'php52-pdo-abi', 'php52-pdo', 'php52-cgi', 'php52-pcntl', 'php52-readline', 'php52-cli', 'config(php52)', 'mod_php52', 'php', 'php52', 'config(php52-pgsql)', 'php52-pgsql']

This may be normal depending on the package.  Continue? [y/N] y
Resolving Dependencies
--> Running transaction check
---> Package php52.x86_64 0:5.2.17-6.ius.el5 set to be erased
---> Package php52-cli.x86_64 0:5.2.17-6.ius.el5 set to be erased
---> Package php52-common.x86_64 0:5.2.17-6.ius.el5 set to be erased
---> Package php52-pdo.x86_64 0:5.2.17-6.ius.el5 set to be erased
---> Package php52-pgsql.x86_64 0:5.2.17-6.ius.el5 set to be erased
---> Package php53.x86_64 0:5.3.3-13.el5_8 set to be updated
---> Package php53-cli.x86_64 0:5.3.3-13.el5_8 set to be updated
---> Package php53-common.x86_64 0:5.3.3-13.el5_8 set to be updated
---> Package php53-pdo.x86_64 0:5.3.3-13.el5_8 set to be updated
---> Package php53-pgsql.x86_64 0:5.3.3-13.el5_8 set to be updated
---> Package php53-process.x86_64 0:5.3.3-13.el5_8 set to be updated
---> Package php53-pspell.x86_64 0:5.3.3-13.el5_8 set to be updated
---> Package php53-xml.x86_64 0:5.3.3-13.el5_8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================
 Package             Arch         Version Repository       Size
===============================================================================
Installing:
 php53               x86_64       5.3.3-13.el5_8 base            1.3 M
 php53-cli           x86_64       5.3.3-13.el5_8 base            2.4 M
 php53-common        x86_64       5.3.3-13.el5_8 base            606 k
 php53-pdo           x86_64       5.3.3-13.el5_8 base             68 k
 php53-pgsql         x86_64       5.3.3-13.el5_8 base             76 k
 php53-process       x86_64       5.3.3-13.el5_8 base             39 k
 php53-pspell        x86_64       5.3.3-13.el5_8 base             27 k
 php53-xml           x86_64       5.3.3-13.el5_8 base            121 k
Removing:
 php52               x86_64       5.2.17-6.ius.el5 installed       3.8 M
 php52-cli           x86_64       5.2.17-6.ius.el5 installed       6.7 M
 php52-common        x86_64       5.2.17-6.ius.el5 installed       657 k
 php52-pdo           x86_64       5.2.17-6.ius.el5 installed       124 k
 php52-pgsql         x86_64       5.2.17-6.ius.el5 installed       132 k

Transaction Summary
===============================================================================
Install       8 Package(s)
Upgrade       0 Package(s)
Remove        5 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Total download size: 4.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): php53-pspell-5.3.3-13.el5_8.x86_64.rpm           |  27 kB 00:00
(2/8): php53-process-5.3.3-13.el5_8.x86_64.rpm          |  39 kB 00:00
(3/8): php53-pdo-5.3.3-13.el5_8.x86_64.rpm              |  68 kB 00:00
(4/8): php53-pgsql-5.3.3-13.el5_8.x86_64.rpm            |  76 kB 00:00
(5/8): php53-xml-5.3.3-13.el5_8.x86_64.rpm              | 121 kB 00:00
(6/8): php53-common-5.3.3-13.el5_8.x86_64.rpm           | 606 kB 00:01
(7/8): php53-5.3.3-13.el5_8.x86_64.rpm                  | 1.3 MB 00:05
(8/8): php53-cli-5.3.3-13.el5_8.x86_64.rpm              | 2.4 MB 00:09
-------------------------------------------------------------------------------
Total                                          233 kB/s | 4.6 MB 00:20
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php53-common 1/13 Installing : php53-cli 2/13 Installing : php53-pdo 3/13 Installing : php53-xml 4/13 Installing : php53-pgsql 5/13 Installing : php53-process 6/13 Installing : php53 7/13 Installing : php53-pspell 8/13 Erasing : php52-pdo 9/13 Erasing : php52-cli 10/13 Erasing : php52 11/13 Erasing : php52-common 12/13 Erasing : php52-pgsql 13/13

Removed:
php52.x86_64 0:5.2.17-6.ius.el5 php52-cli.x86_64 0:5.2.17-6.ius.el5 php52-common.x86_64 0:5.2.17-6.ius.el5 php52-pdo.x86_64 0:5.2.17-6.ius.el5
  php52-pgsql.x86_64 0:5.2.17-6.ius.el5

Installed:
  php53.x86_64 0:5.3.3-13.el5_8         php53-cli.x86_64 0:5.3.3-13.el5_8
  php53-common.x86_64 0:5.3.3-13.el5_8  php53-pdo.x86_64 0:5.3.3-13.el5_8
php53-pgsql.x86_64 0:5.3.3-13.el5_8 php53-process.x86_64 0:5.3.3-13.el5_8
  php53-pspell.x86_64 0:5.3.3-13.el5_8  php53-xml.x86_64 0:5.3.3-13.el5_8

Complete!
****

This test does not have the exact same packages that you were using and thus I had to take a more generalized approach. We will need the following information to dig any deeper:

   # yum repolist

   # yum info postgresql-libs

-Ben Harper


Follow ups

References