Bug#550168: libopal3.6.6-dbg and libopal3.6.4-dbg: error when trying to install together

Eugen Dedu Eugen.Dedu at pu-pm.univ-fcomte.fr
Fri Oct 9 09:24:37 UTC 2009


Ralf Treinen wrote:
> Package: libopal3.6.4-dbg,libopal3.6.6-dbg
> Version: libopal3.6.4-dbg/3.6.4~dfsg-1
> Version: libopal3.6.6-dbg/3.6.6~dfsg-1
> Severity: serious
> User: treinen at debian.org
> Usertags: edos-file-overwrite
> 
> Date: 2009-10-08
> 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!
>   libasound2 libcelt0 libsysfs2 tsconf libts-0.0-0 libdirectfb-1.2-0 libexpat1
>   libgsm1 libltdl7 libogg0 libx86-1 libsvga1 libsdl1.2debian-alsa
>   libsdl1.2debian odbcinst odbcinst1debian1 unixodbc libpt2.6.4 libspeex1
>   libspeexdsp1 libtheora0 libopal3.6.4 libpt2.6.5 libopal3.6.6
>   libopal3.6.4-dbg libopal3.6.6-dbg
> Authentication warning overridden.
> Can not write log, openpty() failed (/dev/pts not mounted?)
> Selecting previously deselected package libasound2.
> (Reading database ... 10256 files and directories currently installed.)
> Unpacking libasound2 (from .../libasound2_1.0.21a-1_amd64.deb) ...
> Selecting previously deselected package libcelt0.
> Unpacking libcelt0 (from .../libcelt0_0.6.1-1_amd64.deb) ...
> Selecting previously deselected package libsysfs2.
> Unpacking libsysfs2 (from .../libsysfs2_2.1.0-6_amd64.deb) ...
> Selecting previously deselected package tsconf.
> Unpacking tsconf (from .../archives/tsconf_1.0-7_all.deb) ...
> Selecting previously deselected package libts-0.0-0.
> Unpacking libts-0.0-0 (from .../libts-0.0-0_1.0-7_amd64.deb) ...
> Selecting previously deselected package libdirectfb-1.2-0.
> Unpacking libdirectfb-1.2-0 (from .../libdirectfb-1.2-0_1.2.8-4_amd64.deb) ...
> Selecting previously deselected package libexpat1.
> Unpacking libexpat1 (from .../libexpat1_2.0.1-4_amd64.deb) ...
> Selecting previously deselected package libgsm1.
> Unpacking libgsm1 (from .../libgsm1_1.0.13-1_amd64.deb) ...
> Selecting previously deselected package libltdl7.
> Unpacking libltdl7 (from .../libltdl7_2.2.6a-4_amd64.deb) ...
> Selecting previously deselected package libogg0.
> Unpacking libogg0 (from .../libogg0_1.1.4~dfsg-1_amd64.deb) ...
> Selecting previously deselected package libx86-1.
> Unpacking libx86-1 (from .../libx86-1_1.1+ds1-6_amd64.deb) ...
> Selecting previously deselected package libsvga1.
> Unpacking libsvga1 (from .../libsvga1_1%3a1.4.3-27_amd64.deb) ...
> Selecting previously deselected package libsdl1.2debian-alsa.
> Unpacking libsdl1.2debian-alsa (from .../libsdl1.2debian-alsa_1.2.13-5_amd64.deb) ...
> Selecting previously deselected package libsdl1.2debian.
> Unpacking libsdl1.2debian (from .../libsdl1.2debian_1.2.13-5_amd64.deb) ...
> Selecting previously deselected package odbcinst.
> Unpacking odbcinst (from .../odbcinst_2.2.11-20_amd64.deb) ...
> Selecting previously deselected package odbcinst1debian1.
> Unpacking odbcinst1debian1 (from .../odbcinst1debian1_2.2.11-20_amd64.deb) ...
> Selecting previously deselected package unixodbc.
> Unpacking unixodbc (from .../unixodbc_2.2.11-20_amd64.deb) ...
> Selecting previously deselected package libpt2.6.4.
> Unpacking libpt2.6.4 (from .../libpt2.6.4_2.6.4-1+b1_amd64.deb) ...
> Selecting previously deselected package libspeex1.
> Unpacking libspeex1 (from .../libspeex1_1.2~rc1-1_amd64.deb) ...
> Selecting previously deselected package libspeexdsp1.
> Unpacking libspeexdsp1 (from .../libspeexdsp1_1.2~rc1-1_amd64.deb) ...
> Selecting previously deselected package libtheora0.
> Unpacking libtheora0 (from .../libtheora0_1.1.1-2_amd64.deb) ...
> Selecting previously deselected package libopal3.6.4.
> Unpacking libopal3.6.4 (from .../libopal3.6.4_3.6.4~dfsg-1_amd64.deb) ...
> Selecting previously deselected package libpt2.6.5.
> Unpacking libpt2.6.5 (from .../libpt2.6.5_2.6.5-1_amd64.deb) ...
> Selecting previously deselected package libopal3.6.6.
> Unpacking libopal3.6.6 (from .../libopal3.6.6_3.6.6~dfsg-1_amd64.deb) ...
> Selecting previously deselected package libopal3.6.4-dbg.
> Unpacking libopal3.6.4-dbg (from .../libopal3.6.4-dbg_3.6.4~dfsg-1_amd64.deb) ...
> Selecting previously deselected package libopal3.6.6-dbg.
> Unpacking libopal3.6.6-dbg (from .../libopal3.6.6-dbg_3.6.6~dfsg-1_amd64.deb) ...
> dpkg: error processing /var/cache/apt/archives/libopal3.6.6-dbg_3.6.6~dfsg-1_amd64.deb (--unpack):
>  trying to overwrite '/usr/lib/debug/usr/bin/simpleopal', which is also in package libopal3.6.4-dbg 0:3.6.4~dfsg-1
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Processing triggers for man-db ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libopal3.6.6-dbg_3.6.6~dfsg-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/bin/simpleopal
>   
> 
> 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.

So the problem is that usr/lib/debug/usr/bin/simpleopal is found in two
packages: libopal3.6.6-dbg and libopal3.6.4-dbg.  The solution is:
- either simply remove simpleopal debug file
- or create another package, simpleopal-dbg, and put the debug file inside
- or make libopal3.6.6-dbg conflicts with libopal3.6.4-dbg

The best quality solution is the 2nd, but is it worth to create another
(debug) package for that?

Cheers,
-- 
Eugen





More information about the Pkg-voip-maintainers mailing list