[Yum] install problem when same rpm in multiple repos
Jim Perrin
perrin at ohio.edu
Mon Dec 29 12:28:14 UTC 2003
The livna rpms aren't by chance using a serial number that would identify
them as newer internally are they? I ran into this a while back with the
ximian packages that came out a year or so back.
I don't mind the idea of two repositories providing the same package. For
example, redhat 9, and rh9 updates both provide postfix, however I have my
own addon repo which provides a home rolled postfix package as well. Adding
a weight to my repo to take priority would be great.
Jim P.
--On Monday, December 29, 2003 4:25 AM -0500 "Robert P. J. Day"
<rpjday at mindspring.com> wrote:
>
> 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.
>
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
More information about the Yum
mailing list