package libmagick9-dev 7:6.3.7.9.dfsg1-2ubuntu1 failed to install/upgrade: trying to overwrite `/usr/lib/pkgconfig/ImageMagick.pc', which is also in package graphicsmagick-libmagick-dev-compat

Bug #246489 reported by h_a_w_k
8
Affects Status Importance Assigned to Milestone
graphicsmagick (Debian)
Fix Released
Unknown
graphicsmagick (Ubuntu)
Fix Released
Undecided
Unassigned
imagemagick (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: imagemagick

package libmagick9-dev 7:6.3.7.9.dfsg1-2ubuntu1 failed to install/upgrade: trying to overwrite `/usr/lib/pkgconfig/ImageMagick.pc', which is also in package graphicsmagick-libmagick-dev-compat

ProblemType: Package
Architecture: i386
Date: Mon Jul 7 14:28:58 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: trying to overwrite `/usr/lib/pkgconfig/ImageMagick.pc', which is also in package graphicsmagick-libmagick-dev-compat
Package: libmagick9-dev 7:6.3.7.9.dfsg1-2ubuntu1
PackageArchitecture: i386
SourcePackage: imagemagick
Title: package libmagick9-dev 7:6.3.7.9.dfsg1-2ubuntu1 failed to install/upgrade: trying to overwrite `/usr/lib/pkgconfig/ImageMagick.pc', which is also in package graphicsmagick-libmagick-dev-compat
Uname: Linux 2.6.24-19-generic i686

Revision history for this message
h_a_w_k (h-a-w-k) wrote :
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

graphicsmagick-libmagick-dev-compat both conflicts with and replaces libmagick9-dev, you can't install both at the same time.
Was that during an upgrade to hardy?

Changed in imagemagick:
status: New → Incomplete
Revision history for this message
h_a_w_k (h-a-w-k) wrote :

no, it was during instaling libmagick9-dev. It seems that apt-get wasn't aware of conflict until it actually tried to replace the file.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Yes, apt-get and aptitude do not handle conflict resolutions very well.
Can you try to see if synaptics or adept are capable of resolving the conflict?
At least installing graphicsmagick-libmagick-dev-compat over libmagick9-dev should be handled more gracefully.

Revision history for this message
h_a_w_k (h-a-w-k) wrote :

synaptic also produces error while installing one of those packages when the second is already there.

Revision history for this message
Nelson A. de Oliveira (naoliv) wrote :

It's not a problem with apt-get nor with aptitude.
We have fixed this bug on Debian with graphicsmagick version 1.1.11-2:

   * debian/control: ImageMagick's -dev packages have stopped providing
     virtual, unversioned aliases, recently. Add explicit Conflicts and
     Replaces on the versioned package names libmagick9-dev and
     libmagick++9-dev in the -compat-dev package. Closes: #476584

Changed in graphicsmagick:
status: New → Confirmed
Changed in imagemagick:
status: Incomplete → Invalid
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Ah yes, I was looking at the intrepid version, so problem solved.

Changed in graphicsmagick:
status: Confirmed → Fix Released
Changed in graphicsmagick:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.