← Back to team overview

ius-community team mailing list archive

replace plugin picking wrong package?

 

i have a centos 5 system where i had installed some locally built
packages based on the rhas (or rhwas) stuff that had php 5.2, plus other
bits. i've successfully gotten all of that removed and upgraded to ius
php53u. the one sticking point i have is that the rhas stuff had a
postgres 8.1 client library name postgresqlclient81 (just like ius), and
i am trying to revert that back to native postgresql-libs, but this is
what happens:

# yum replace postgresqlclient81 --replace-with postgresql-libs
<SNIP>
Dependencies Resolved

================================================================================
 Package               Arch      Version                    
Repository    Size
================================================================================
Installing:
 postgresql-libs       i386      8.1.23-6.el5_8             
base         197 k
Removing:
 postgresqlclient81    x86_64    8.1.14-1.el5s2.centos      
installed    855 k
Removing for dependencies:
 apr-util              x86_64    1.2.7-11.el5_5.2           
installed    170 k
 dovecot               x86_64    1.0.7-7.el5_7.1            
installed    3.7 M
 httpd                 x86_64    2.2.3-76.el5.centos        
installed    3.3 M
 mod_perl              x86_64    2.0.4-6.el5                
installed    6.8 M
 mod_python            x86_64    3.2.8-4.el5                
installed    1.2 M
 mod_ssl               x86_64    1:2.2.3-76.el5.centos      
installed    183 k
 php53                 x86_64    5.3.3-13.el5_8             
installed    3.4 M
 squirrelmail          noarch    1.4.8-21.el5.centos        
installed     16 M
 webalizer             x86_64    2.01_10-30.1               
installed    259 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)
Remove       10 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

it is picking the i386 variant, even though the box is x86_64. i've
tried passing postgresql-libs.x86_64, but that doesn't work. i imagine i
can do some trickery to exclude the i386 stuff from base while i do
this, but i'm wondering if there is a more correct way to do what i'm
trying, or maybe this is a bug in the replace plugin? it seems like it
should try to replace with the same arch.


Follow ups