[CentOS] sa-update error with perl

Thu Jan 5 01:16:48 UTC 2012
email builder <emailbuilder88 at yahoo.com>

>>>>>>     The only hints I can find seem to suggest to remove

>>>>>>     perl-IO-Socket-INET6, but trying to do so using yum (I 
> don't
>>>>>>     want to start using another method of package 
> management)
>>>>>>     tells me that spamassassin is a dependency and will also 
> be
>>>>>>     removed - obviously undesirable.
>>>>>    If you really want to remove it, use rpm instead.
>>>>>    rpm -e --nodeps perl-IO-Socket-INET6
>>>>>    But it will annoy you at every update...
>>>>    That was my fear...   I'm wondering why this crept up again,
>>>>    since all my packages are completely up to date according
>>>>    to yum.
>>> 
>>>  yum only does what we tell it to do.
>> 
>>  I told it to update all my packages.  :-)
>> 
>>>  It is possible that you have a package installed that is not from the
>>>  CentOS repos, etc.
>>> 
>>>  If people add external repositories, it is very easy to get conflicts.
>> 
>>  I do have rpmforge as a repo in order to get a thing or two that
>>  CentOS does not offer.  How can I diagnose if this is the problem?
>>  Here's a list of perl packages according to rpm -qa ---- are the 
> ".rf"
>>  ones from rpmforge?  I think most of those are requirements for the
>>  amavisd-new package.
>> 
> 
> .rf? is from RepoForge (ex-RPMForge).
> 
> You might need to use priorities and set RepoForge lower then SA repo. 
> maybe you will need to downgrade few packages.

Hmm, OK, prioritze CentOS repo over RepoForge then will yum update
figure out the rest?  I don't see any priority settings in my yum conf files...
I'll have to read up on that.

Interestingly, I get this:

rpm -q --whatrequires perl-IO-Socket-INET6
no package requires perl-IO-Socket-INET6

However, 

yum remove perl-IO-Socket-INET6

Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package perl-IO-Socket-INET6.noarch 0:2.51-2.fc6 set to be erased
--> Processing Dependency: perl(IO::Socket::INET6) for package: spamassassin
--> Running transaction check
---> Package spamassassin.i386 0:3.3.1-2.el5 set to be erased
--> Processing Dependency: perl(Mail::SpamAssassin) for package: amavisd-new
--> Running transaction check
---> Package amavisd-new.i386 0:2.6.6-1.el5.rf set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================
 Package                      Arch           Version                  Repository         Size
==============================================================================================
Removing:
 perl-IO-Socket-INET6         noarch         2.51-2.fc6               installed          22 k
Removing for dependencies:
 amavisd-new                  i386           2.6.6-1.el5.rf           installed         2.7 M
 spamassassin                 i386           3.3.1-2.el5              installed         3.1 M

Transaction Summary
==============================================================================================
Remove        3 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: n
Exiting on user Command

> There is "Perl package problems" thread on this list from ~20 days 
> ago. 
> Read it for more info.

OK I'll go try to find it