Re: OpenDKIM RPM upgrade dependency issues from libopendkim

From: Todd Lyons <tlyons_at_ivenue.com>
Date: Mon, 15 Aug 2011 08:02:33 -0700

On Sun, Aug 14, 2011 at 9:38 PM, Steve Jenkins <stevejenkins_at_gmail.com> wrote:
>
> Today, I created new RPM files for the updated version (2.4.2), but
> I'm in a catch 22 when I try to upgrade:
>
> $ rpm -Uvh libopendkim-2.4.2-1.i386.rpm
> error: Failed dependencies:
>        libopendkim = 2.4.1-1 is needed by (installed) opendkim-2.4.1-1.i386
>
> $ rpm -Uvh opendkim-2.4.2-1.i386.rpm
> error: Failed dependencies:
>        libopendkim = 2.4.2-1 is needed by opendkim-2.4.2-1.i386
>
> Any ideas of how to get out of this mess? Requiring a user to manually

rpm -Uvh opendkim-2.4.2-1.i386.rpm libopendkim-2.4.2-1.i386.rpm

You're too used to yum. :-) yum does the dependency resolution for
you and realizes that when you upgrade opendkim, it must also upgrade
libopendkim. When using rpm manually, you'll have to do those
yourself.

If you wanted to get fancy, you can set a Requires for opendkim of
libopendkim=2.4, which should allow all versions of libopendkim-2.4.*
to work with all versions of opendkim-2.4.*. If there is no ABI
change in the lib, then the point release updates should be ok. But I
still prefer the stricter versioning requirements myself.

Steve, you should also come hang out on IRC with us and ask there,
you'll likely get quicker responses, even if it's "I don't know" :-D

Regards... Todd

-- 
If Americans could eliminate sugary beverages, potatoes, white bread,
pasta, white rice and sugary snacks, we would wipe out almost all the
problems we have with weight and diabetes and other metabolic
diseases. -- Dr. Walter Willett, Harvard School of Public Health
Received on Mon Aug 15 2011 - 15:02:42 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:33:11 PST