Bug#601977: cyrus-sasl2-heimdal-dbg: file conflict during upgrade from lenny
On Sun, Oct 31, 2010 at 03:42:29PM +0100, Lucas Nussbaum wrote:
> Package: cyrus-sasl2-heimdal-dbg
> Version: 2.1.23.dfsg1-6
> Severity: serious
>
> Hi,
>
> Installing cyrus-sasl2-heimdal-dbg in a lenny chroot, then upgrading to
> squeeze, causes:
> Preparing to replace cyrus-sasl2-heimdal-dbg 2.1.22.dfsg1-23+lenny1 (using .../cyrus-sasl2-heimdal-dbg_2.1.23.dfsg1-6_amd64.deb) ...
> Unpacking replacement cyrus-sasl2-heimdal-dbg ...
> Preparing to replace cyrus-sasl2-dbg 2.1.22.dfsg1-23+lenny1 (using .../cyrus-sasl2-dbg_2.1.23.dfsg1-6_amd64.deb) ...
> Unpacking replacement cyrus-sasl2-dbg ...
> dpkg: error processing /var/cache/apt/archives/cyrus-sasl2-dbg_2.1.23.dfsg1-6_amd64.deb (--unpack):
> trying to overwrite '/usr/lib/debug/usr/lib/sasl2/libgssapiv2.so.2.0.23', which is also in package cyrus-sasl2-heimdal-dbg 2.1.23.dfsg1-6
> configured to not write apport reports
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
>
I'd be interested to know if anyone has a recommendation on how to
handle this. The two packages in question are -dbg packages that are
created by dh_strip, excerpted from debian/rules below:
Both packages need to be able to be installed together, so my question
centers around whehter it is OK to put a diversion in place so that
cyrus-sasl2-heimdal-dbg diverts the file. What does everyone think?
Regards,
-Roberto
--
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com