[Yum] install problem when same rpm in multiple repos

Robert P. J. Day rpjday at mindspring.com
Mon Dec 29 09:25:36 UTC 2003


  i realize that it's a bad idea to use repos that try to supply
the same rpm but, in this case, it would seem that there shouldn't
be any ambiguity.

  first, i've verified that i have no ogle-related rpms on my system,
using both "yum" and "rpm".  regarding my /etc/yum.conf file and what's
available:

# yum list "*ogle*"
Gathering header information file(s) from server(s)
Server: Fedora 1 - Base
Server: Fedora 1 - Stable
Server: Fedora 1 - Testing
Server: Fedora 1 - Unstable
Server: Fedora 1 - Updates
Server: Fedora 1 - Updates testing
Server: Freshrpms 1 - Freshrpms
Server: Freshrpms 1 - Testing Updates
Server: Freshrpms 1 - Updates
Server: Livna 1 - updates
Finding updated packages
Downloading needed headers
Looking in Available Packages:
Name                       Arch   Version                  Repo
-----------------------------------------------------------------------
ogle                       i386   0.9.2-1.1.fr      freshrpms-freshrpms
ogle                       i686   0.9.2-0.lvn.2.1   livna-updates
ogle-devel                 i386   0.9.2-1.1.fr      freshrpms-freshrpms
ogle-devel                 i686   0.9.2-0.lvn.2.1   livna-updates
ogle_gui                   i386   0.9.2-1.1.fr      freshrpms-freshrpms

Looking in Installed Packages:
Name                                Arch   Version                  Repo
------------------------------------------------------------------

  so while both freshrpms and livna claim to supply both ogle and
ogle-devel, since i use a pkgpolicy of "newest", one would assume that i'd
get the freshrpms versions in both cases.  (i'm assuming that the
comparison takes the build value into account, yes?)

---------------------------------
# yum install "*ogle*"
Gathering header information file(s) from server(s)
Server: Fedora 1 - Base
Server: Fedora 1 - Stable
Server: Fedora 1 - Testing
Server: Fedora 1 - Unstable
Server: Fedora 1 - Updates
Server: Fedora 1 - Updates testing
Server: Freshrpms 1 - Freshrpms
Server: Freshrpms 1 - Testing Updates
Server: Freshrpms 1 - Updates
Server: Livna 1 - updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.warning: package ogle = 0:0.9.2-0.lvn.2.1 was already added, replacing 
with ogle <= 0.9.2-1.1.fr
.warning: package ogle = 0:0.9.2-0.lvn.2.1 was already added, replacing 
with ogle <= 0.9.2-1.1.fr
.warning: package ogle = 0:0.9.2-0.lvn.2.1 was already added, replacing 
with ogle <= 0.9.2-1.1.fr
.warning: package ogle = 0:0.9.2-0.lvn.2.1 was already added, replacing 
with ogle <= 0.9.2-1.1.fr
.warning: package ogle = 0:0.9.2-0.lvn.2.1 was already added, replacing 
with ogle <= 0.9.2-1.1.fr
.identical dependency loop exceeded
package ogle-devel needs ogle = 0:0.9.2-0.lvn.2.1 (not provided)
-----------------------------------

  can someone explain the above?  why are the livna packages apparently
causing problems when they should be overridden by the newer freshrpms
packages? just to play it safe, i did "yum clean headers" and tried again,
in case i had messed up the headers somehow.  same result.

rday

p.s.  when i removed livna from my yum.conf file, things worked fine,
not surprisingly.




More information about the Yum mailing list