[buildd-tools-devel] Bug#533143: libsbuild-perl and sbuild: error when trying to install together

Ralf Treinen treinen at free.fr
Mon Jun 15 07:17:57 UTC 2009


Package: sbuild,libsbuild-perl
Version: sbuild/0.58.4-1
Version: libsbuild-perl/0.58.4-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2009-06-15
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!
  exim4-config exim4-base libpcre3 exim4-daemon-light exim4 patch perl-modules
  perl binutils bzip2 dctrl-tools make libtimedate-perl dpkg-dev devscripts
  libboost-system1.38.0 libboost-filesystem1.38.0
  libboost-program-options1.38.0 libicu40 libboost-regex1.38.0
  libfilesys-df-perl liblockdev1 schroot-common schroot libsbuild-perl sbuild
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package exim4-config.
(Reading database ... 8198 files and directories currently installed.)
Unpacking exim4-config (from .../exim4-config_4.69-11_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.69-11_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_7.8-2_amd64.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.69-11_amd64.deb) ...
Selecting previously deselected package exim4.
Unpacking exim4 (from .../archives/exim4_4.69-11_all.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../patch_2.5.9-5_amd64.deb) ...
Selecting previously deselected package perl-modules.
Unpacking perl-modules (from .../perl-modules_5.10.0-23_all.deb) ...
Selecting previously deselected package perl.
Unpacking perl (from .../perl_5.10.0-23_amd64.deb) ...
Selecting previously deselected package binutils.
Unpacking binutils (from .../binutils_2.19.1-1_amd64.deb) ...
Selecting previously deselected package bzip2.
Unpacking bzip2 (from .../bzip2_1.0.5-2_amd64.deb) ...
Selecting previously deselected package dctrl-tools.
Unpacking dctrl-tools (from .../dctrl-tools_2.13.1_amd64.deb) ...
Selecting previously deselected package make.
Unpacking make (from .../archives/make_3.81-5_amd64.deb) ...
Selecting previously deselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.1600-9_all.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.2_all.deb) ...
Selecting previously deselected package devscripts.
Unpacking devscripts (from .../devscripts_2.10.50_amd64.deb) ...
Selecting previously deselected package libboost-system1.38.0.
Unpacking libboost-system1.38.0 (from .../libboost-system1.38.0_1.38.0-6_amd64.deb) ...
Selecting previously deselected package libboost-filesystem1.38.0.
Unpacking libboost-filesystem1.38.0 (from .../libboost-filesystem1.38.0_1.38.0-6_amd64.deb) ...
Selecting previously deselected package libboost-program-options1.38.0.
Unpacking libboost-program-options1.38.0 (from .../libboost-program-options1.38.0_1.38.0-6_amd64.deb) ...
Selecting previously deselected package libicu40.
Unpacking libicu40 (from .../libicu40_4.0.1-2_amd64.deb) ...
Selecting previously deselected package libboost-regex1.38.0.
Unpacking libboost-regex1.38.0 (from .../libboost-regex1.38.0_1.38.0-6_amd64.deb) ...
Selecting previously deselected package libfilesys-df-perl.
Unpacking libfilesys-df-perl (from .../libfilesys-df-perl_0.92-3+b1_amd64.deb) ...
Selecting previously deselected package liblockdev1.
Unpacking liblockdev1 (from .../liblockdev1_1.0.3-1.2+b1_amd64.deb) ...
Selecting previously deselected package schroot-common.
Unpacking schroot-common (from .../schroot-common_1.2.3-1_all.deb) ...
Selecting previously deselected package schroot.
Unpacking schroot (from .../schroot_1.2.3-1_amd64.deb) ...
Selecting previously deselected package libsbuild-perl.
Unpacking libsbuild-perl (from .../libsbuild-perl_0.58.4-1_all.deb) ...
Selecting previously deselected package sbuild.
Unpacking sbuild (from .../sbuild_0.58.4-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/sbuild_0.58.4-1_all.deb (--unpack):
 trying to overwrite `/usr/share/perl5/Sbuild/ChrootSchroot.pm', which is also in package libsbuild-perl
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/sbuild_0.58.4-1_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/share/perl5/Sbuild.pm
  usr/share/perl5/Sbuild/Base.pm
  usr/share/perl5/Sbuild/Build.pm
  usr/share/perl5/Sbuild/Chroot.pm
  usr/share/perl5/Sbuild/ChrootInfo.pm
  usr/share/perl5/Sbuild/ChrootInfoSchroot.pm
  usr/share/perl5/Sbuild/ChrootInfoSudo.pm
  usr/share/perl5/Sbuild/ChrootPlain.pm
  usr/share/perl5/Sbuild/ChrootRoot.pm
  usr/share/perl5/Sbuild/ChrootSchroot.pm
  usr/share/perl5/Sbuild/ChrootSetup.pm
  usr/share/perl5/Sbuild/ChrootSudo.pm
  usr/share/perl5/Sbuild/Conf.pm
  usr/share/perl5/Sbuild/ConfBase.pm
  usr/share/perl5/Sbuild/DB/Base.pm
  usr/share/perl5/Sbuild/DB/Info.pm
  usr/share/perl5/Sbuild/DB/MLDBM.pm
  usr/share/perl5/Sbuild/DB/Postgres.pm
  usr/share/perl5/Sbuild/Log.pm
  usr/share/perl5/Sbuild/LogBase.pm
  usr/share/perl5/Sbuild/Options.pm
  usr/share/perl5/Sbuild/OptionsBase.pm
  usr/share/perl5/Sbuild/Sysconfig.pm
  usr/share/perl5/Sbuild/Utility.pm
  

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 Buildd-tools-devel mailing list