[CentOS] yum confusion...

Wed Feb 2 16:29:22 UTC 2011
John Doe <jdmls at yahoo.com>

Hi,

I just installed a new server and my final yum update fails...
I have rpmforge and rpmforge-extras, but with yum priorities...

# grep enabled /etc/yum/pluginconf.d/priorities.conf
enabled = 1

# cat /etc/yum.repos.d/CentOS-Base.repo | grep "priority\|^\["
[base]
priority=1
[updates]
priority=1
...

# yum clean all

# yum list | grep "tcp_wrappers\|nfs-utils"
nfs-utils.x86_64               1:1.0.9-47.el5_5       installed
nfs-utils-lib.x86_64           1.0.8-7.6.el5          installed
tcp_wrappers.i386              7.6-40.7.el5           installed
tcp_wrappers.x86_64            7.6-40.7.el5           installed
nfs-utils-lib.i386             1.0.8-7.6.el5          base     
nfs-utils-lib-devel.i386       1.0.8-7.6.el5          base     
nfs-utils-lib-devel.x86_64     1.0.8-7.6.el5          base     
tcp_wrappers-devel.x86_64      7.6-57.el5.rfx         rpmforge-extras
tcp_wrappers-libs.x86_64       7.6-57.el5.rfx         rpmforge-extras

# yum update
...
132 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: tcp_wrappers for package: nfs-utils
--> Processing Dependency: tcp_wrappers for package: nfs-utils
---> Package tcp_wrappers-devel.x86_64 0:7.6-57.el5.rfx set to be updated
---> Package tcp_wrappers-libs.x86_64 0:7.6-57.el5.rfx set to be updated
--> Finished Dependency Resolution
1:nfs-utils-1.0.9-47.el5_5.x86_64 from installed has depsolving problems
  --> Missing Dependency: tcp_wrappers is needed by package 
1:nfs-utils-1.0.9-47.el5_5.x86_64 (installed)
Error: Missing Dependency: tcp_wrappers is needed by package 
1:nfs-utils-1.0.9-47.el5_5.x86_64 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

I removed tcp_wrappers.i386

# yum list | grep "tcp_wrappers\|nfs-utils"
nfs-utils.x86_64                           1:1.0.9-47.el5_5            installed
nfs-utils-lib.x86_64                       1.0.8-7.6.el5               installed
tcp_wrappers.x86_64                        7.6-40.7.el5                installed
nfs-utils-lib.i386                         1.0.8-7.6.el5               base     
nfs-utils-lib-devel.i386                   1.0.8-7.6.el5               base     
nfs-utils-lib-devel.x86_64                 1.0.8-7.6.el5               base     
tcp_wrappers.i386                          7.6-40.7.el5                base     
tcp_wrappers-devel.x86_64                  7.6-57.el5.rfx              
rpmforge-extras
tcp_wrappers-libs.x86_64                   7.6-57.el5.rfx              
rpmforge-extras

# yum update
...
132 packages excluded due to repository priority protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: tcp_wrappers for package: nfs-utils
---> Package tcp_wrappers-devel.x86_64 0:7.6-57.el5.rfx set to be updated
---> Package tcp_wrappers-libs.x86_64 0:7.6-57.el5.rfx set to be updated
--> Running transaction check
---> Package tcp_wrappers.i386 0:7.6-40.7.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================

 Package                     Arch            Version                 
Repository                Size
====================================================================================================

Installing:
 tcp_wrappers-devel          x86_64          7.6-57.el5.rfx          
rpmforge-extras          8.7 k
     replacing  tcp_wrappers.x86_64 7.6-40.7.el5
 tcp_wrappers-libs           x86_64          7.6-57.el5.rfx          
rpmforge-extras           88 k
     replacing  tcp_wrappers.x86_64 7.6-40.7.el5
Installing for dependencies:
 tcp_wrappers                i386            7.6-40.7.el5            
base                     109 k

nfs-utils insists on reinstalling tcp_wrappers.i386, and priorities apparently 
does not protect the CentOS packages...
If I disable rpmforge, I get "No Packages marked for Update", but still have "7 
packages excluded due to repository priority protections"
If I also disable priorities, I just get "No Packages marked for Update"

# ll /etc/yum.repos.d/
total 28
-rw-r--r-- 1 root root 2412 Jan 27 14:38 CentOS-Base.repo
-rw-r--r-- 1 root root  626 Apr 26  2010 CentOS-Media.repo
-rw-r--r-- 1 root root  739 Nov 13 04:55 mirrors-rpmforge
-rw-r--r-- 1 root root  717 Nov 13 04:55 mirrors-rpmforge-extras
-rw-r--r-- 1 root root  728 Nov 13 04:55 mirrors-rpmforge-testing
-rw-r--r-- 1 root root 1113 Feb  2 17:15 rpmforge.repo

Any idea what is going on or how I can clean up this mess...?
Do you have to block all i386 packages?

Thx,
JD