Page 1 of 1

Upgrade problem?

Posted: 2007-05-24T17:26:31-07:00
by ephantom
I'm running FC6 and trying to upgrade from ImageMagick 6.2.8.0-4 to ImageMagick 6.3.4-2.
Using both rpm and yum, I get this simular complain when attempting to upgrade:

sudo rpm -U ImageMagick-6.3.4-2.i386.rpm

error: Failed dependencies:
ImageMagick = 6.2.8.0-4.fc6 is needed by (installed) ImageMagick-c++-6.2.8.0-4.fc6.i386

From what I've read ImageMagick-c++ is a part of the ImageMagick rpm package. Shouldn't they both be getting updated together? Why is the older ImageMagick-c++ causing the update to fail, if its going to get replaced as part of the update?

Re: Upgrade problem?

Posted: 2007-05-24T18:20:38-07:00
by anthony
From a post I made to the IM user mail list...
No one is activally compiling IM for the Fedora Extras, or Updates, so
only the initial release needed for other CORE programs is provided.

The only solution at this time is to build it yourself.

NOTE: a IM built for FC 5 will work in FC 6 but not visa-versa.
Better to build a separate set of RPMs for each release.

I should know I build IM almost dayly, either for my workstation (FC6)
or my laptop at home (FC5).
I also sent this in another mail explaining the most basic steps I use to install the latest IM for Fedora Linux.
First forget the 'rpm' download the source RPM, or 'srpm'

Now build it using.. this as root...

Code: Select all

  nice rpmbuild --nodeps --rebuild ~/dl/ImageMagick-*.src.rpm
And install/upgrade the just built RPM modules...

Code: Select all

   rpm -Uhv --force --nodeps \
       /usr/src/redhat/RPMS/i386/*.rpm
And a final cleanup of the RPM build area...

Code: Select all

   rm -rf /usr/src/redhat/RPMS/*/* \
       /usr/src/redhat/{SOURCES,SPECS,BUILD}/*
This avoids problems with wrong or uninstalled libraries.

Re: Upgrade problem?

Posted: 2007-06-08T09:28:33-07:00
by ephantom
Thank you. I appreciate your help.