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?
Upgrade problem?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Upgrade problem?
From a post I made to the IM user mail list...
I also sent this in another mail explaining the most basic steps I use to install the latest IM for Fedora Linux.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).
First forget the 'rpm' download the source RPM, or 'srpm'
Now build it using.. this as root...And install/upgrade the just built RPM modules...Code: Select all
nice rpmbuild --nodeps --rebuild ~/dl/ImageMagick-*.src.rpm
And a final cleanup of the RPM build area...Code: Select all
rpm -Uhv --force --nodeps \ /usr/src/redhat/RPMS/i386/*.rpm
This avoids problems with wrong or uninstalled libraries.Code: Select all
rm -rf /usr/src/redhat/RPMS/*/* \ /usr/src/redhat/{SOURCES,SPECS,BUILD}/*
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/