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

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

On 03/30/2010 09:05 PM William Hooper wrote:
> On Tue, Mar 30, 2010 at 5:13 PM, ken <gebser at mousecar.com> wrote:
> 
> Without the full yum output it is a bit hard to be sure (you might
> want to paste the full output to pastebin.centos.org, but it looks
> like:
> 
>> ---> Package gmime.i386 0:2.2.25-1.el5 set to be updated
> 
> Yum wants to install a newer gmime, but
> 
>> Error: Missing Dependency: gmime = 2.2.10-5.el5.centos is needed by
>> package gmime-sharp-2.2.10-5.el5.centos.i386 (installed)
> 
> The only available copy of gmime-sharp requires the older version.  I
> would find out where the newer gmime is coming from and ask them why
> they don't have a newer gmime-sharp.  Gmime 2.2.25 doesn't look like
> it is available to my Centos 5 machine:
> 
> $ sudo yum list gmime\*
> Loaded plugins: downloadonly, fastestmirror
> Loading mirror speeds from cached hostfile
>  * addons: mirror.nexcess.net
>  * base: mirror.nexcess.net
>  * extras: pubmirrors.reflected.net
>  * updates: mirror.team-cymru.org
> Available Packages
> gmime.i386                         2.2.10-5.el5.centos                    extras
> gmime-devel.i386                   2.2.10-5.el5.centos                    extras
> gmime-sharp.i386                   2.2.10-5.el5.centos                    extras

I like that command.  Informative.

yum list gmime\*
Loaded plugins: fastestmirror, filter-data, kernel-module, keys, kmod,
list-data,
              : merge-conf, security, upgrade-helper, verify, versionlock
Loading mirror speeds from cached hostfile
 * addons: mirror.cisp.com
 * base: mirror.trouble-free.net
 * epel: mirror.umoss.org
 * extras: centos.corenetworks.net
 * livna: rpm.livna.org
 * rpmforge: apt.sw.be
 * updates: yum.singlehop.com
Reading version lock configuration
Installed Packages
gmime.i386                           2.2.10-5.el5.centos
      installed
gmime-sharp.i386                     2.2.10-5.el5.centos
      installed
Available Packages
gmime.i386                           2.2.25-1.el5
      epel
gmime-devel.i386                     2.2.25-1.el5
      epel

My email client wrapped the rightmost field of some of the output above,
but it's still discernible that epel wants to update to a newer version
of gmime, but (as you said) has no corresponding version of gmime-sharp.
 Conceivably, this could be the problem.  The versions I have of gmime
and gmime-sharp seem to be from a different repo:

# rpm -qi gmime gmime-sharp|grep URL
URL         : http://spruce.sourceforge.net/gmime/
URL         : http://spruce.sourceforge.net/gmime/

and so this might be a contributing issue.  So I deleted these two
packages (rpm -e ...) and then did "yum install" on them... which took
them from the "extras" repo, which seems to have gotten them from
sourceforge:

# rpm -qi gmime gmime-sharp|grep URL
URL         : http://spruce.sourceforge.net/gmime/
URL         : http://spruce.sourceforge.net/gmime/

(So this wouldn't seem to be a case of conflicting repos.)

Now, doing "yum update" again brought me back to the original problem.
:(  But at least we have more clarity to it: the extras repo doesn't
have a version update to gmime-sharp, a dependency for the update of
gmime.

So.. what's the next thing to do?  Just wait for an upgrade for
gmime-sharp?  Why does the extras repo not have it if it's a dependency?
 Perhaps it's still coming (?).  Or... has anyone else (somehow) been
able to upgrade to gmime v. 2.2.25-1.el5 ??  (How?)


Thanks, people.  I appreciate your efforts.