On 06/27/2014 10:11 PM, Ralf Treinen wrote:
> dpkg: error processing archive 
> /var/cache/apt/archives/libkml-dev_1.3.0~r864+dfsg-1_amd64.deb (--unpack):
>  trying to overwrite '/usr/lib/x86_64-linux-gnu/libminizip.a', which is also 
> in package libminizip-dev:amd64 1.1-2

> This is a serious bug as it makes installation fail, and violates
> sections 7.6.1 and 10.1 of the policy. An optimal solution would
> consist in only one of the packages installing that file, and renaming
> or removing the file in the other package. Depending on the
> circumstances you might also consider Replace relations or file
> diversions. If the conflicting situation cannot be resolved then, as a
> last resort, the two packages have to declare a mutual
> Conflict. Please take into account that Replaces, Conflicts and
> diversions should only be used when packages provide different
> implementations for the same functionality.
> 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/include/minizip/crypt.h
>   /usr/include/minizip/ioapi.h
>   /usr/include/minizip/mztools.h
>   /usr/include/minizip/unzip.h
>   /usr/include/minizip/zip.h
>   /usr/lib/x86_64-linux-gnu/libminizip.a
>   /usr/lib/x86_64-linux-gnu/libminizip.so
> This bug has been filed against 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. You may then
> also register in the BTS that the other package is affected by the bug.

libminizip built from the libkml source package is also used by the gdal
and osgearth source packages for KMZ (compressed KML) support.

libminizip built form the minizip source package is new in the archive,
currently only available in unstable.

Since the libminizip from libkml is used specifically for its KMZ
support, the bet course of action may be to rename the libkml library to
libkmlminizip and patch gdal and osgearth accordingly.

If the libraries are compatible (they both seem the be extracted from
zlib), it may be wisest to drop the libminizip from libkml.

Michael, what are your thoughts about this?

Kind Regards,


Pkg-grass-devel mailing list

Reply via email to