Bug#649066: libmason-perl and mason: error when trying to install together

Ralf Treinen treinen at debian.org
Thu Nov 17 09:57:08 UTC 2011


Package: mason,libmason-perl
Version: mason/1.0.0-12.2
Version: libmason-perl/2.14-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-11-17
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!
  perl libtext-charwidth-perl perl-base liblocale-gettext-perl
  libtext-iconv-perl perl-modules libswitch-perl libclass-isa-perl
  libalgorithm-c3-perl libvariable-magic-perl libsub-install-perl
  libparams-util-perl libdata-optlist-perl libsub-exporter-perl
  libb-hooks-endofscope-perl libb-hooks-op-check-perl libcapture-tiny-perl
  libclass-c3-perl libclass-inspector-perl libclass-unload-perl
  libsub-name-perl libdevel-declare-perl libdevel-globaldestruction-perl
  libtry-tiny-perl libeval-closure-perl libguard-perl
  libipc-system-simple-perl libjson-perl liblist-moreutils-perl
  liblog-any-perl libmethod-signatures-simple-perl libmro-compat-perl
  libpackage-deprecationmanager-perl libpackage-stash-perl
  libpackage-stash-xs-perl libtask-weaken-perl libmoose-perl
  libmoosex-hasdefaults-perl libsub-identify-perl libnamespace-clean-perl
  libnamespace-autoclean-perl libmoosex-strictconstructor-perl libmason-perl
  mason

Extracting templates from packages: 68%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 10587 files and directories currently installed.)
Preparing to replace perl 5.12.4-6 (using .../perl_5.14.2-4_amd64.deb) ...
Unpacking replacement perl ...
Preparing to replace libtext-charwidth-perl 0.04-7 (using .../libtext-charwidth-perl_0.04-7+b1_amd64.deb) ...
Unpacking replacement libtext-charwidth-perl ...
Preparing to replace perl-base 5.12.4-6 (using .../perl-base_5.14.2-4_amd64.deb) ...
Unpacking replacement perl-base ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up perl-base (5.14.2-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 10618 files and directories currently installed.)
Preparing to replace liblocale-gettext-perl 1.05-7 (using .../liblocale-gettext-perl_1.05-7+b1_amd64.deb) ...
Unpacking replacement liblocale-gettext-perl ...
Preparing to replace libtext-iconv-perl 1.7-4 (using .../libtext-iconv-perl_1.7-4+b1_amd64.deb) ...
Unpacking replacement libtext-iconv-perl ...
Preparing to replace perl-modules 5.12.4-6 (using .../perl-modules_5.14.2-4_all.deb) ...
Unpacking replacement perl-modules ...
Selecting previously unselected package libswitch-perl.
Unpacking libswitch-perl (from .../libswitch-perl_2.16-2_all.deb) ...
Selecting previously unselected package libclass-isa-perl.
Unpacking libclass-isa-perl (from .../libclass-isa-perl_0.36-2_all.deb) ...
Selecting previously unselected package libalgorithm-c3-perl.
Unpacking libalgorithm-c3-perl (from .../libalgorithm-c3-perl_0.08-1_all.deb) ...
Selecting previously unselected package libvariable-magic-perl.
Unpacking libvariable-magic-perl (from .../libvariable-magic-perl_0.47-1+b1_amd64.deb) ...
Selecting previously unselected package libsub-install-perl.
Unpacking libsub-install-perl (from .../libsub-install-perl_0.925-1_all.deb) ...
Selecting previously unselected package libparams-util-perl.
Unpacking libparams-util-perl (from .../libparams-util-perl_1.04-1+b1_amd64.deb) ...
Selecting previously unselected package libdata-optlist-perl.
Unpacking libdata-optlist-perl (from .../libdata-optlist-perl_0.107-1_all.deb) ...
Selecting previously unselected package libsub-exporter-perl.
Unpacking libsub-exporter-perl (from .../libsub-exporter-perl_0.982-1_all.deb) ...
Selecting previously unselected package libb-hooks-endofscope-perl.
Unpacking libb-hooks-endofscope-perl (from .../libb-hooks-endofscope-perl_0.08-1_all.deb) ...
Selecting previously unselected package libb-hooks-op-check-perl.
Unpacking libb-hooks-op-check-perl (from .../libb-hooks-op-check-perl_0.19-1+b1_amd64.deb) ...
Selecting previously unselected package libcapture-tiny-perl.
Unpacking libcapture-tiny-perl (from .../libcapture-tiny-perl_0.10-1_all.deb) ...
Selecting previously unselected package libclass-c3-perl.
Unpacking libclass-c3-perl (from .../libclass-c3-perl_0.23-1_all.deb) ...
Selecting previously unselected package libclass-inspector-perl.
Unpacking libclass-inspector-perl (from .../libclass-inspector-perl_1.25-1_all.deb) ...
Selecting previously unselected package libclass-unload-perl.
Unpacking libclass-unload-perl (from .../libclass-unload-perl_0.07-1_all.deb) ...
Selecting previously unselected package libsub-name-perl.
Unpacking libsub-name-perl (from .../libsub-name-perl_0.05-1+b2_amd64.deb) ...
Selecting previously unselected package libdevel-declare-perl.
Unpacking libdevel-declare-perl (from .../libdevel-declare-perl_0.006008-1+b1_amd64.deb) ...
Selecting previously unselected package libdevel-globaldestruction-perl.
Unpacking libdevel-globaldestruction-perl (from .../libdevel-globaldestruction-perl_0.04-2_all.deb) ...
Selecting previously unselected package libtry-tiny-perl.
Unpacking libtry-tiny-perl (from .../libtry-tiny-perl_0.11-1_all.deb) ...
Selecting previously unselected package libeval-closure-perl.
Unpacking libeval-closure-perl (from .../libeval-closure-perl_0.06-1_all.deb) ...
Selecting previously unselected package libguard-perl.
Unpacking libguard-perl (from .../libguard-perl_1.022-1+b1_amd64.deb) ...
Selecting previously unselected package libipc-system-simple-perl.
Unpacking libipc-system-simple-perl (from .../libipc-system-simple-perl_1.21-1_all.deb) ...
Selecting previously unselected package libjson-perl.
Unpacking libjson-perl (from .../libjson-perl_2.53-1_all.deb) ...
Selecting previously unselected package liblist-moreutils-perl.
Unpacking liblist-moreutils-perl (from .../liblist-moreutils-perl_0.33-1+b1_amd64.deb) ...
Selecting previously unselected package liblog-any-perl.
Unpacking liblog-any-perl (from .../liblog-any-perl_0.11-1_all.deb) ...
Selecting previously unselected package libmethod-signatures-simple-perl.
Unpacking libmethod-signatures-simple-perl (from .../libmethod-signatures-simple-perl_1.02-1_all.deb) ...
Selecting previously unselected package libmro-compat-perl.
Unpacking libmro-compat-perl (from .../libmro-compat-perl_0.11-1_all.deb) ...
Selecting previously unselected package libpackage-deprecationmanager-perl.
Unpacking libpackage-deprecationmanager-perl (from .../libpackage-deprecationmanager-perl_0.11-1_all.deb) ...
Selecting previously unselected package libpackage-stash-perl.
Unpacking libpackage-stash-perl (from .../libpackage-stash-perl_0.33-1_all.deb) ...
Selecting previously unselected package libpackage-stash-xs-perl.
Unpacking libpackage-stash-xs-perl (from .../libpackage-stash-xs-perl_0.24-1+b1_amd64.deb) ...
Selecting previously unselected package libtask-weaken-perl.
Unpacking libtask-weaken-perl (from .../libtask-weaken-perl_1.03-1_all.deb) ...
Selecting previously unselected package libmoose-perl.
Unpacking libmoose-perl (from .../libmoose-perl_2.0205-1+b1_amd64.deb) ...
Selecting previously unselected package libmoosex-hasdefaults-perl.
Unpacking libmoosex-hasdefaults-perl (from .../libmoosex-hasdefaults-perl_0.03-1_all.deb) ...
Selecting previously unselected package libsub-identify-perl.
Unpacking libsub-identify-perl (from .../libsub-identify-perl_0.04-1+b2_amd64.deb) ...
Selecting previously unselected package libnamespace-clean-perl.
Unpacking libnamespace-clean-perl (from .../libnamespace-clean-perl_0.21-2_all.deb) ...
Selecting previously unselected package libnamespace-autoclean-perl.
Unpacking libnamespace-autoclean-perl (from .../libnamespace-autoclean-perl_0.13-1_all.deb) ...
Selecting previously unselected package libmoosex-strictconstructor-perl.
Unpacking libmoosex-strictconstructor-perl (from .../libmoosex-strictconstructor-perl_0.16-1_all.deb) ...
Selecting previously unselected package libmason-perl.
Unpacking libmason-perl (from .../libmason-perl_2.14-1_all.deb) ...
Selecting previously unselected package mason.
Unpacking mason (from .../mason_1.0.0-12.2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/mason_1.0.0-12.2_all.deb (--unpack):
 trying to overwrite '/usr/bin/mason', which is also in package libmason-perl 2.14-1
configured to not write apport reports
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/mason_1.0.0-12.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.

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/bin/mason

This bug has been filed against 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. You may then
also register in the BTS that the other package is affected by the bug.

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.





More information about the pkg-perl-maintainers mailing list