Bug#551926: python-pip and pip: error when trying to install together

Ralf Treinen treinen at free.fr
Wed Oct 21 20:11:07 UTC 2009


Package: pip,python-pip
Version: pip/0.13-1
Version: python-pip/0.3.1-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2009-10-21
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!
  libdb4.5 libsqlite3-0 mime-support python2.5-minimal python2.5
  python-minimal python python-central libcompress-bzip2-perl
  libnumber-compare-perl libtext-glob-perl libfile-find-rule-perl
  libdata-compare-perl libcpan-checksums-perl libparams-util-perl
  libfile-chmod-perl libcpan-inject-perl libfile-pushd-perl libfile-which-perl
  libhtml-tagset-perl liburi-perl libhtml-parser-perl libhtml-tree-perl
  libwww-perl pip python-pkg-resources python-pip
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libdb4.5.
(Reading database ... 10391 files and directories currently installed.)
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-13_amd64.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.6.19-1_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.46-1_all.deb) ...
Selecting previously deselected package python2.5-minimal.
Unpacking python2.5-minimal (from .../python2.5-minimal_2.5.4-2_amd64.deb) ...
Selecting previously deselected package python2.5.
Unpacking python2.5 (from .../python2.5_2.5.4-2_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.5.4-2_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.5.4-2_all.deb) ...
Selecting previously deselected package python-central.
Unpacking python-central (from .../python-central_0.6.11_all.deb) ...
Selecting previously deselected package libcompress-bzip2-perl.
Unpacking libcompress-bzip2-perl (from .../libcompress-bzip2-perl_2.09-2_amd64.deb) ...
Selecting previously deselected package libnumber-compare-perl.
Unpacking libnumber-compare-perl (from .../libnumber-compare-perl_0.01-6_all.deb) ...
Selecting previously deselected package libtext-glob-perl.
Unpacking libtext-glob-perl (from .../libtext-glob-perl_0.08-2_all.deb) ...
Selecting previously deselected package libfile-find-rule-perl.
Unpacking libfile-find-rule-perl (from .../libfile-find-rule-perl_0.30-3_all.deb) ...
Selecting previously deselected package libdata-compare-perl.
Unpacking libdata-compare-perl (from .../libdata-compare-perl_1.21-1_all.deb) ...
Selecting previously deselected package libcpan-checksums-perl.
Unpacking libcpan-checksums-perl (from .../libcpan-checksums-perl_2.03-1_all.deb) ...
Selecting previously deselected package libparams-util-perl.
Unpacking libparams-util-perl (from .../libparams-util-perl_1.00-1_amd64.deb) ...
Selecting previously deselected package libfile-chmod-perl.
Unpacking libfile-chmod-perl (from .../libfile-chmod-perl_0.32-1_all.deb) ...
Selecting previously deselected package libcpan-inject-perl.
Unpacking libcpan-inject-perl (from .../libcpan-inject-perl_0.11-1_all.deb) ...
Selecting previously deselected package libfile-pushd-perl.
Unpacking libfile-pushd-perl (from .../libfile-pushd-perl_1.00-1_all.deb) ...
Selecting previously deselected package libfile-which-perl.
Unpacking libfile-which-perl (from .../libfile-which-perl_1.08-1_all.deb) ...
Selecting previously deselected package libhtml-tagset-perl.
Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.20-2_all.deb) ...
Selecting previously deselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.37+dfsg-1_all.deb) ...
Selecting previously deselected package libhtml-parser-perl.
Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.62-1_amd64.deb) ...
Selecting previously deselected package libhtml-tree-perl.
Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_3.23-1_all.deb) ...
Selecting previously deselected package libwww-perl.
Unpacking libwww-perl (from .../libwww-perl_5.833-1_all.deb) ...
Selecting previously deselected package pip.
Unpacking pip (from .../archives/pip_0.13-1_all.deb) ...
Selecting previously deselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6.4-1_all.deb) ...
Selecting previously deselected package python-pip.
Unpacking python-pip (from .../python-pip_0.3.1-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/python-pip_0.3.1-1_all.deb (--unpack):
 trying to overwrite '/usr/bin/pip', which is also in package pip 0:0.13-1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/python-pip_0.3.1-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 violate
section 7.6.1 of the policy. 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/bin/pip
  

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.

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