Bug#533143: libsbuild-perl and sbuild: error when trying to install together

2009-06-15 Thread Ralf Treinen
Package: sbuild,libsbuild-perl
Version: sbuild/0.58.4-1
Version: libsbuild-perl/0.58.4-1
Severity: serious
User: trei...@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 

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

2009-06-15 Thread Roger Leigh
On Mon, Jun 15, 2009 at 09:17:57AM +0200, Ralf Treinen wrote:
 Package: sbuild,libsbuild-perl
 Version: sbuild/0.58.4-1
 Version: libsbuild-perl/0.58.4-1
 Severity: serious
 User: trei...@debian.org
 Usertags: edos-file-overwrite
 
 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
[...]

This is buggy.  These files were split from sbuild into libsbuild-perl.
However, the versioned Replaces hid the fact that they weren't removed
from sbuild until now.  They both share the same source package, but
due to the Replaces the duplication didn't show up when I tested it.

I'll fix this ASAP.


Regards,
Roger


-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2009-06-15 Thread Roger Leigh
tags 533143 + fixed-upstream pending
thanks

On Mon, Jun 15, 2009 at 09:17:57AM +0200, Ralf Treinen wrote:
 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)

Fixed in upstream git.

Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org