Upgrade problem?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ephantom

Upgrade problem?

Post 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?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Upgrade problem?

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
ephantom

Re: Upgrade problem?

Post by ephantom »

Thank you. I appreciate your help.
Post Reply