Bug#725393: libplack-perl and libhttp-server-simple-psgi-perl: error when trying to install together

Ralf Treinen treinen at free.fr
Sat Oct 5 07:58:59 UTC 2013


Package: libhttp-server-simple-psgi-perl,libplack-perl
Version: libhttp-server-simple-psgi-perl/0.16-1
Version: libplack-perl/1.28-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2013-10-05
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!
  openssl ca-certificates libapache-logformat-compiler-perl
  libclass-inspector-perl libdevel-stacktrace-perl
  libdevel-stacktrace-ashtml-perl libencode-locale-perl libtimedate-perl
  libhttp-date-perl libfile-listing-perl libfile-sharedir-perl
  libfilesys-notify-simple-perl libhash-multivalue-perl liburi-perl
  libhtml-tagset-perl libhtml-parser-perl libhtml-tree-perl libio-html-perl
  liblwp-mediatypes-perl libhttp-message-perl libpath-class-perl
  libhttp-cookies-perl libhttp-negotiate-perl libnet-ssleay-perl
  libio-socket-ssl-perl libnet-http-perl liblwp-protocol-https-perl
  libwww-robotrules-perl libwww-perl libyaml-perl libhttp-body-perl
  libhttp-server-simple-perl libhttp-server-simple-psgi-perl
  libmodule-refresh-perl libstream-buffered-perl libtest-requires-perl
  libtest-sharedfork-perl libtest-tcp-perl libtry-tiny-perl libplack-perl

Extracting templates from packages: 75%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Selecting previously unselected package openssl.
(Reading database ... 10879 files and directories currently installed.)
Unpacking openssl (from .../openssl_1.0.1e-3_amd64.deb) ...
Selecting previously unselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20130906_all.deb) ...
Selecting previously unselected package libapache-logformat-compiler-perl.
Unpacking libapache-logformat-compiler-perl (from .../libapache-logformat-compiler-perl_0.12-1_all.deb) ...
Selecting previously unselected package libclass-inspector-perl.
Unpacking libclass-inspector-perl (from .../libclass-inspector-perl_1.28-1_all.deb) ...
Selecting previously unselected package libdevel-stacktrace-perl.
Unpacking libdevel-stacktrace-perl (from .../libdevel-stacktrace-perl_1.3000-1_all.deb) ...
Selecting previously unselected package libdevel-stacktrace-ashtml-perl.
Unpacking libdevel-stacktrace-ashtml-perl (from .../libdevel-stacktrace-ashtml-perl_0.14-1_all.deb) ...
Selecting previously unselected package libencode-locale-perl.
Unpacking libencode-locale-perl (from .../libencode-locale-perl_1.03-1_all.deb) ...
Selecting previously unselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package libhttp-date-perl.
Unpacking libhttp-date-perl (from .../libhttp-date-perl_6.02-1_all.deb) ...
Selecting previously unselected package libfile-listing-perl.
Unpacking libfile-listing-perl (from .../libfile-listing-perl_6.04-1_all.deb) ...
Selecting previously unselected package libfile-sharedir-perl.
Unpacking libfile-sharedir-perl (from .../libfile-sharedir-perl_1.03-1_all.deb) ...
Selecting previously unselected package libfilesys-notify-simple-perl.
Unpacking libfilesys-notify-simple-perl (from .../libfilesys-notify-simple-perl_0.12-1_all.deb) ...
Selecting previously unselected package libhash-multivalue-perl.
Unpacking libhash-multivalue-perl (from .../libhash-multivalue-perl_0.15-1_all.deb) ...
Selecting previously unselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.60-1_all.deb) ...
Selecting previously unselected package libhtml-tagset-perl.
Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.20-2_all.deb) ...
Selecting previously unselected package libhtml-parser-perl.
Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.71-1+b1_amd64.deb) ...
Selecting previously unselected package libhtml-tree-perl.
Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_5.02-1_all.deb) ...
Selecting previously unselected package libio-html-perl.
Unpacking libio-html-perl (from .../libio-html-perl_1.00-1_all.deb) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Unpacking liblwp-mediatypes-perl (from .../liblwp-mediatypes-perl_6.02-1_all.deb) ...
Selecting previously unselected package libhttp-message-perl.
Unpacking libhttp-message-perl (from .../libhttp-message-perl_6.06-1_all.deb) ...
Selecting previously unselected package libpath-class-perl.
Unpacking libpath-class-perl (from .../libpath-class-perl_0.32-1_all.deb) ...
Selecting previously unselected package libhttp-cookies-perl.
Unpacking libhttp-cookies-perl (from .../libhttp-cookies-perl_6.00-2_all.deb) ...
Selecting previously unselected package libhttp-negotiate-perl.
Unpacking libhttp-negotiate-perl (from .../libhttp-negotiate-perl_6.00-2_all.deb) ...
Selecting previously unselected package libnet-ssleay-perl.
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.55-1+b2_amd64.deb) ...
Selecting previously unselected package libio-socket-ssl-perl.
Unpacking libio-socket-ssl-perl (from .../libio-socket-ssl-perl_1.954-1_all.deb) ...
Selecting previously unselected package libnet-http-perl.
Unpacking libnet-http-perl (from .../libnet-http-perl_6.06-1_all.deb) ...
Selecting previously unselected package liblwp-protocol-https-perl.
Unpacking liblwp-protocol-https-perl (from .../liblwp-protocol-https-perl_6.04-1_all.deb) ...
Selecting previously unselected package libwww-robotrules-perl.
Unpacking libwww-robotrules-perl (from .../libwww-robotrules-perl_6.01-1_all.deb) ...
Selecting previously unselected package libwww-perl.
Unpacking libwww-perl (from .../libwww-perl_6.05-1_all.deb) ...
Selecting previously unselected package libyaml-perl.
Unpacking libyaml-perl (from .../libyaml-perl_0.84-1_all.deb) ...
Selecting previously unselected package libhttp-body-perl.
Unpacking libhttp-body-perl (from .../libhttp-body-perl_1.17-1_all.deb) ...
Selecting previously unselected package libhttp-server-simple-perl.
Unpacking libhttp-server-simple-perl (from .../libhttp-server-simple-perl_0.44-1_all.deb) ...
Selecting previously unselected package libhttp-server-simple-psgi-perl.
Unpacking libhttp-server-simple-psgi-perl (from .../libhttp-server-simple-psgi-perl_0.16-1_all.deb) ...
Selecting previously unselected package libmodule-refresh-perl.
Unpacking libmodule-refresh-perl (from .../libmodule-refresh-perl_0.17-1_all.deb) ...
Selecting previously unselected package libstream-buffered-perl.
Unpacking libstream-buffered-perl (from .../libstream-buffered-perl_0.2-1_all.deb) ...
Selecting previously unselected package libtest-requires-perl.
Unpacking libtest-requires-perl (from .../libtest-requires-perl_0.07-1_all.deb) ...
Selecting previously unselected package libtest-sharedfork-perl.
Unpacking libtest-sharedfork-perl (from .../libtest-sharedfork-perl_0.19-1_all.deb) ...
Selecting previously unselected package libtest-tcp-perl.
Unpacking libtest-tcp-perl (from .../libtest-tcp-perl_2.00-1_all.deb) ...
Selecting previously unselected package libtry-tiny-perl.
Unpacking libtry-tiny-perl (from .../libtry-tiny-perl_0.18-1_all.deb) ...
Selecting previously unselected package libplack-perl.
Unpacking libplack-perl (from .../libplack-perl_1.0028-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libplack-perl_1.0028-1_all.deb (--unpack):
 trying to overwrite '/usr/share/man/man3/Plack::Handler::HTTP::Server::Simple.3pm.gz', which is also in package libhttp-server-simple-psgi-perl 0.16-1
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/libplack-perl_1.0028-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/man/man3/Plack::Handler::HTTP::Server::Simple.3pm.gz
  /usr/share/perl5/Plack/Handler/HTTP/Server/Simple.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