Bug#704537: librole-commons-perl and libauthority-shared-perl: error when trying to install together

Ralf Treinen treinen at free.fr
Tue Apr 2 17:31:16 UTC 2013


Package: libauthority-shared-perl,librole-commons-perl
Version: libauthority-shared-perl/0.06-1
Version: librole-commons-perl/0.101-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2013-04-02
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!
  libalgorithm-c3-perl libsub-name-perl libobject-role-perl
  libobject-authority-perl libauthority-shared-perl libvariable-magic-perl
  libparams-util-perl libsub-install-perl libdata-optlist-perl
  libsub-exporter-perl libb-hooks-endofscope-perl libclass-c3-perl
  libparams-classify-perl libmodule-runtime-perl libtry-tiny-perl
  libmodule-implementation-perl liblist-moreutils-perl
  libpackage-deprecationmanager-perl libpackage-stash-perl libclass-load-perl
  libmro-compat-perl libclass-method-modifiers-perl
  libsub-exporter-progressive-perl libdevel-globaldestruction-perl
  libhash-fieldhash-perl libpadwalker-perl liblexical-underscore-perl
  librole-tiny-perl libstrictures-perl libmoo-perl libsub-identify-perl
  libnamespace-clean-perl libobject-id-perl liburi-perl
  libscalar-list-utils-perl libscalar-does-perl librole-commons-perl

Extracting templates from packages: 81%
Extracting templates from packages: 100%
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libalgorithm-c3-perl.
(Reading database ... 10775 files and directories currently installed.)
Unpacking libalgorithm-c3-perl (from .../libalgorithm-c3-perl_0.08-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 libobject-role-perl.
Unpacking libobject-role-perl (from .../libobject-role-perl_0.001-1_all.deb) ...
Selecting previously unselected package libobject-authority-perl.
Unpacking libobject-authority-perl (from .../libobject-authority-perl_0.004-1_all.deb) ...
Selecting previously unselected package libauthority-shared-perl.
Unpacking libauthority-shared-perl (from .../libauthority-shared-perl_0.006-1_all.deb) ...
Selecting previously unselected package libvariable-magic-perl.
Unpacking libvariable-magic-perl (from .../libvariable-magic-perl_0.52-1_amd64.deb) ...
Selecting previously unselected package libparams-util-perl.
Unpacking libparams-util-perl (from .../libparams-util-perl_1.07-1_amd64.deb) ...
Selecting previously unselected package libsub-install-perl.
Unpacking libsub-install-perl (from .../libsub-install-perl_0.926-1_all.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.984-1_all.deb) ...
Selecting previously unselected package libb-hooks-endofscope-perl.
Unpacking libb-hooks-endofscope-perl (from .../libb-hooks-endofscope-perl_0.11-1_all.deb) ...
Selecting previously unselected package libclass-c3-perl.
Unpacking libclass-c3-perl (from .../libclass-c3-perl_0.24-1_all.deb) ...
Selecting previously unselected package libparams-classify-perl.
Unpacking libparams-classify-perl (from .../libparams-classify-perl_0.013-4_amd64.deb) ...
Selecting previously unselected package libmodule-runtime-perl.
Unpacking libmodule-runtime-perl (from .../libmodule-runtime-perl_0.013-1_all.deb) ...
Selecting previously unselected package libtry-tiny-perl.
Unpacking libtry-tiny-perl (from .../libtry-tiny-perl_0.12-1_all.deb) ...
Selecting previously unselected package libmodule-implementation-perl.
Unpacking libmodule-implementation-perl (from .../libmodule-implementation-perl_0.06-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 libpackage-deprecationmanager-perl.
Unpacking libpackage-deprecationmanager-perl (from .../libpackage-deprecationmanager-perl_0.13-1_all.deb) ...
Selecting previously unselected package libpackage-stash-perl.
Unpacking libpackage-stash-perl (from .../libpackage-stash-perl_0.34-1_all.deb) ...
Selecting previously unselected package libclass-load-perl.
Unpacking libclass-load-perl (from .../libclass-load-perl_0.20-1_all.deb) ...
Selecting previously unselected package libmro-compat-perl.
Unpacking libmro-compat-perl (from .../libmro-compat-perl_0.12-1_all.deb) ...
Selecting previously unselected package libclass-method-modifiers-perl.
Unpacking libclass-method-modifiers-perl (from .../libclass-method-modifiers-perl_2.03-1_all.deb) ...
Selecting previously unselected package libsub-exporter-progressive-perl.
Unpacking libsub-exporter-progressive-perl (from .../libsub-exporter-progressive-perl_0.001009-1_all.deb) ...
Selecting previously unselected package libdevel-globaldestruction-perl.
Unpacking libdevel-globaldestruction-perl (from .../libdevel-globaldestruction-perl_0.09-1_all.deb) ...
Selecting previously unselected package libhash-fieldhash-perl.
Unpacking libhash-fieldhash-perl (from .../libhash-fieldhash-perl_0.12-3_amd64.deb) ...
Selecting previously unselected package libpadwalker-perl.
Unpacking libpadwalker-perl (from .../libpadwalker-perl_1.94-1_amd64.deb) ...
Selecting previously unselected package liblexical-underscore-perl.
Unpacking liblexical-underscore-perl (from .../liblexical-underscore-perl_0.001-1_all.deb) ...
Selecting previously unselected package librole-tiny-perl.
Unpacking librole-tiny-perl (from .../librole-tiny-perl_1.002005-1_all.deb) ...
Selecting previously unselected package libstrictures-perl.
Unpacking libstrictures-perl (from .../libstrictures-perl_1.004004-1_all.deb) ...
Selecting previously unselected package libmoo-perl.
Unpacking libmoo-perl (from .../libmoo-perl_1.001000-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.23-1_all.deb) ...
Selecting previously unselected package libobject-id-perl.
Unpacking libobject-id-perl (from .../libobject-id-perl_0.1.2-1_all.deb) ...
Selecting previously unselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.60-1_all.deb) ...
Selecting previously unselected package libscalar-list-utils-perl.
Unpacking libscalar-list-utils-perl (from .../libscalar-list-utils-perl_1%3a1.25-1_amd64.deb) ...
Selecting previously unselected package libscalar-does-perl.
Unpacking libscalar-does-perl (from .../libscalar-does-perl_0.102-3_all.deb) ...
Selecting previously unselected package librole-commons-perl.
Unpacking librole-commons-perl (from .../librole-commons-perl_0.101-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/librole-commons-perl_0.101-1_all.deb (--unpack):
 trying to overwrite '/usr/share/perl5/Object/AUTHORITY.pm', which is also in package libobject-authority-perl 0.004-1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/librole-commons-perl_0.101-1_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/share/perl5/authority/shared.pm

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