[CentOS] bogus error message from yum update for gmime and gmime-sharp

Wed Mar 31 10:31:51 UTC 2010
ken <gebser at mousecar.com>

On 03/30/2010 09:56 PM Kahlil Hodgson wrote:
> On 03/31/2010 08:13 AM, ken wrote:
>> --> Running transaction check
>> --> Processing Dependency: gmime = 2.2.10-5.el5.centos for package:
>> gmime-sharp
>> ---> Package gmime.i386 0:2.2.25-1.el5 set to be updated
>> --> Finished Dependency Resolution
>> gmime-sharp-2.2.10-5.el5.centos.i386 from installed has depsolving problems
>>   --> Missing Dependency: gmime = 2.2.10-5.el5.centos is needed by
>> package gmime-sharp-2.2.10-5.el5.centos.i386 (installed)
>> Error: Missing Dependency: gmime = 2.2.10-5.el5.centos is needed by
>> package gmime-sharp-2.2.10-5.el5.centos.i386 (installed)
>> ....
> 
> Ahhh I've had a similar problem before.  Turns out I had multiple
> versions of a package installed.  Try
> 
> 	rpm -qa | grep gmime
> 
> Perhaps you have both the i386 and x86_64 versions installed at the same
> time.  You may have to do something like
> 
>         rpm -e gmime-sharp-2.2.10-5.el5.centos.i386
> 
> (or what ever package is conflicting)
> 
> to get yum back to a sane state.
> 
> Kal

Kal, thanks for the tip on duplicates.  It's not the source of the
problem in this instance though:

# rpm -qa | grep gmime
gmime-2.2.10-5.el5.centos
gmime-sharp-2.2.10-5.el5.centos