# yum update ... --> Running transaction check --> Processing Dependency: gmime = 2.2.10-5.el5.centos for package: gmime-sharp ---> Package gmime20.i386 0:2.2.26-1.el5.rf 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) ... # rpm -q gmime gmime-sharp gmime-2.2.10-5.el5.centos gmime-sharp-2.2.10-5.el5.centos This would seem like a bug... or why is yum trying to install package versions which are already installed? Yes, I already ran package-cleanup --problems, package-cleanup --dupes, and rpm -Va --nofiles --nodigest
On 11/27/10 12:44 PM, ken wrote:> This would seem like a bug... or why is yum trying to install package > versions which are already installed?this most frequently happens when you mix dependencies of different yum repositories. I noted .rf in your output, RPM Forge, this has in my experience caused conflicts with EPEL.
William Hooper
2010-Nov-28 18:58 UTC
[CentOS] yum is dumb in update of gmime & gmime-sharp
On Sat, Nov 27, 2010 at 3:44 PM, ken <gebser at mousecar.com> wrote:> # yum update > ... > --> Running transaction check > --> Processing Dependency: gmime = 2.2.10-5.el5.centos for package: > gmime-sharp > ---> Package gmime20.i386 0:2.2.26-1.el5.rf 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) > ... > > # rpm -q gmime gmime-sharp > gmime-2.2.10-5.el5.centos > gmime-sharp-2.2.10-5.el5.centos > > This would seem like a bug... or why is yum trying to install package > versions which are already installed?You need to take a closer look at what yum is trying to install. This message is telling you yum won't update the package because it will break a dependency on another installed package. I would guess that you are either mixing repos, or one of the repos isn't internally consistent. I notice that you are using RPMForge, did you see the changes going on there with RPMForge-Extras? http://lists.rpmforge.net/pipermail/users/2010-November/003411.html If the problem persists you will probably want to take it to the RPMForge list (and provide the full yum output) -- William Hooper