Bug#530781: cyrus-sasl2-heimdal-dbg and cyrus-sasl2-dbg: error when trying to install together

Ralf Treinen treinen at free.fr
Wed May 27 19:13:06 UTC 2009


Package: cyrus-sasl2-dbg,cyrus-sasl2-heimdal-dbg
Version: cyrus-sasl2-dbg/2.1.23.dfsg1-1
Version: cyrus-sasl2-heimdal-dbg/2.1.23.dfsg1-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2009-05-27
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:


WARNING: The following packages cannot be authenticated!
  libroken18-heimdal libasn1-8-heimdal libwind0-heimdal libhx509-3-heimdal
  libkrb5-25-heimdal libheimntlm0-heimdal libgssapi2-heimdal libsasl2-modules
  cyrus-sasl2-dbg libsasl2-modules-gssapi-heimdal cyrus-sasl2-heimdal-dbg
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libroken18-heimdal.
(Reading database ... 8136 files and directories currently installed.)
Unpacking libroken18-heimdal (from .../libroken18-heimdal_1.2.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libasn1-8-heimdal.
Unpacking libasn1-8-heimdal (from .../libasn1-8-heimdal_1.2.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libwind0-heimdal.
Unpacking libwind0-heimdal (from .../libwind0-heimdal_1.2.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libhx509-3-heimdal.
Unpacking libhx509-3-heimdal (from .../libhx509-3-heimdal_1.2.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libkrb5-25-heimdal.
Unpacking libkrb5-25-heimdal (from .../libkrb5-25-heimdal_1.2.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libheimntlm0-heimdal.
Unpacking libheimntlm0-heimdal (from .../libheimntlm0-heimdal_1.2.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libgssapi2-heimdal.
Unpacking libgssapi2-heimdal (from .../libgssapi2-heimdal_1.2.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libsasl2-modules.
Unpacking libsasl2-modules (from .../libsasl2-modules_2.1.23.dfsg1-1_amd64.deb) ...
Selecting previously deselected package cyrus-sasl2-dbg.
Unpacking cyrus-sasl2-dbg (from .../cyrus-sasl2-dbg_2.1.23.dfsg1-1_amd64.deb) ...
Selecting previously deselected package libsasl2-modules-gssapi-heimdal.
Unpacking libsasl2-modules-gssapi-heimdal (from .../libsasl2-modules-gssapi-heimdal_2.1.23.dfsg1-1_amd64.deb) ...
Selecting previously deselected package cyrus-sasl2-heimdal-dbg.
Unpacking cyrus-sasl2-heimdal-dbg (from .../cyrus-sasl2-heimdal-dbg_2.1.23.dfsg1-1_amd64.deb) ...
Adding `diversion of /usr/lib/debug/usr/lib/sasl2/libgssapiv2.so.2.0.22 to /usr/lib/debug/usr/lib/sasl2/libgssapiv2.so.2.0.22.mit by cyrus-sasl2-heimdal-dbg'
dpkg: error processing /var/cache/apt/archives/cyrus-sasl2-heimdal-dbg_2.1.23.dfsg1-1_amd64.deb (--unpack):
 trying to overwrite `/usr/lib/debug/usr/lib/sasl2/libgssapiv2.so.2.0.23', which is also in package cyrus-sasl2-dbg
Errors were encountered while processing:
 /var/cache/apt/archives/cyrus-sasl2-heimdal-dbg_2.1.23.dfsg1-1_amd64.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/lib/debug/usr/lib/sasl2/libgssapiv2.so.2.0.23
  

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-cyrus-sasl2-debian-devel mailing list