[Pkg-gmagick-im-team] Bug#526482: libmagickcore-dev and graphicsmagick-libmagick-dev-compat: error when trying to install together

Ralf Treinen treinen at free.fr
Fri May 1 14:18:30 UTC 2009


Package: graphicsmagick-libmagick-dev-compat,libmagickcore-dev
Version: graphicsmagick-libmagick-dev-compat/1.3.5-4
Version: libmagickcore-dev/7:6.5.1.0-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2009-05-01
Architecture: amd64
Distribution: sid

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:

[...]
Unpacking librsvg2-2 (from .../librsvg2-2_2.22.3-2_amd64.deb) ...
Selecting previously deselected package libmagickcore2.
Unpacking libmagickcore2 (from .../libmagickcore2_7%3a6.5.1.0-1_amd64.deb) ...
Selecting previously deselected package librsvg2-dev.
Unpacking librsvg2-dev (from .../librsvg2-dev_2.22.3-2_amd64.deb) ...
Selecting previously deselected package libopenexr-dev.
Unpacking libopenexr-dev (from .../libopenexr-dev_1.6.1-4_amd64.deb) ...
Selecting previously deselected package libmagickcore-dev.
Unpacking libmagickcore-dev (from .../libmagickcore-dev_7%3a6.5.1.0-1_amd64.deb) ...
Selecting previously deselected package graphicsmagick-libmagick-dev-compat.
Unpacking graphicsmagick-libmagick-dev-compat (from .../graphicsmagick-libmagick-dev-compat_1.3.5-4_all.deb) ...
dpkg: error processing /var/cache/apt/archives/graphicsmagick-libmagick-dev-compat_1.3.5-4_all.deb (--unpack):
 trying to overwrite `/usr/share/man/man1/Magick-config.1.gz', which is also in package libmagickcore-dev
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/graphicsmagick-libmagick-dev-compat_1.3.5-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



This is a serious bug as it makes installation fail. Possible
solutions are to have the two packages conflict, to rename the common
file in one of the two packages, or to remove the file from one
package and have this package depend on the other package. File
diversions or a Replace relation are another possibility.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):


  usr/bin/Magick-config
  usr/lib/pkgconfig/ImageMagick.pc
  usr/share/man/man1/Magick-config.1.gz
  

This bug is assigned to both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package.

-Ralf.





More information about the Pkg-gmagick-im-team mailing list