RE: OpenDKIM RPM upgrade dependency issues from libopendkim

From: Murray S. Kucherawy <msk_at_cloudmark.com>
Date: Sun, 14 Aug 2011 22:15:58 -0700

> -----Original Message-----
> From: opendkim-dev-bounce_at_lists.opendkim.org [mailto:opendkim-dev-bounce_at_lists.opendkim.org] On Behalf Of Steve Jenkins
> Sent: Sunday, August 14, 2011 9:39 PM
> To: opendkim-dev_at_lists.opendkim.org
> Subject: OpenDKIM RPM upgrade dependency issues from libopendkim
>
> 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
> remove packages prior to installing the new ones via RPM kinda defeats
> a lot of the purpose of using RPMs. :)

My knowledge of spec files is too limited to be of help here, I'm afraid. It looks like you'd have to force the installation of libopendkim-2.4.2-1.i386.rpm, which could (depending on versioning of the library file itself) overwrite an open shared library.

Maybe in the libopendkim spec file, have it stop opendkim (if installed), then proceed (ignoring the conflict), then restart opendkim?

-MSK
Received on Mon Aug 15 2011 - 05:16:08 PST

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