Re: Libevent conflict on EL-6? - Mailing list pgsql-pkg-yum

From Craig Ringer
Subject Re: Libevent conflict on EL-6?
Date
Msg-id 53A11118.3060800@2ndquadrant.com
Whole thread Raw
In response to Libevent conflict on EL-6?  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-pkg-yum
On 06/18/2014 12:00 PM, Craig Ringer wrote:

> Full log attached.
>
> It looks like the libevent in PGDG for 9.4/EL-6 conflicts with that in
> RHEL6, and should instead install in parallel to it as a "libevent2"
> with a different soname.

There are also multilib problems, because the x64 repo package doesn't
also provide i386 packages, so with --skip-broken:

Packages skipped because of dependency problems:
    libevent-1.4.13-4.el6.i686 from rhui-REGION-rhel-server-releases
    libevent-2.0.19-1.rhel6.x86_64 from pgdg94
    libevent-devel-1.4.13-4.el6.i686 from
rhui-REGION-rhel-server-releases-optional
    libevent-devel-2.0.19-1.rhel6.x86_64 from pgdg94
Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:

         1. You have an upgrade for libevent which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of libevent of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude libevent.otherarch ... this should give you
            an error message showing the root cause of the problem.

         2. You have multiple architectures of libevent installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of libevent installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: libevent-1.4.13-1.el6.i686 !=
libevent-1.4.13-4.el6.x86_64


Yum wants to preserve the libevent version equality between RHEL's
libevent on i686 and the PGDG libevent it can only get an x86 version of.


Possibly related:

http://svn.pgrpms.org/ticket/73
http://svn.pgrpms.org/ticket/84




--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-pkg-yum by date:

Previous
From: Craig Ringer
Date:
Subject: Libevent conflict on EL-6?
Next
From: Craig Ringer
Date:
Subject: bash profile for 9.3, 9.4 are wrong