Bug#719770: python3-pyfits and python3-astropy-legacy: error when trying to install together
Ralf Treinen
treinen at free.fr
Thu Aug 15 06:27:33 UTC 2013
Package: python3-astropy-legacy,python3-pyfits
Version: python3-astropy-legacy/0.2.4-2
Version: python3-pyfits/1:3.1.2-1+b1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite
Date: 2013-08-12
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!
libcfitsio3 libexpat1 libffi6 gcc-4.8-base libquadmath0 libgfortran3
libpython3.3-minimal mime-support libpython3.3-stdlib libwcs4
libpython2.7-minimal python2.7-minimal python3.3-minimal libpython2.7-stdlib
python2.7 python-minimal libpython-stdlib python python-support python3.3
python3-minimal libpython3-stdlib python3 dh-python libblas3 liblapack3
python-numpy python3-numpy libsofa-c0 python3-astropy python3-pyfits
python3-astropy-legacy
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libcfitsio3:amd64.
(Reading database ... 10850 files and directories currently installed.)
Unpacking libcfitsio3:amd64 (from .../libcfitsio3_3.300-2_amd64.deb) ...
Selecting previously unselected package libexpat1:amd64.
Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-4_amd64.deb) ...
Selecting previously unselected package libffi6:amd64.
Unpacking libffi6:amd64 (from .../libffi6_3.0.13-4_amd64.deb) ...
Selecting previously unselected package gcc-4.8-base:amd64.
Unpacking gcc-4.8-base:amd64 (from .../gcc-4.8-base_4.8.1-8_amd64.deb) ...
Selecting previously unselected package libquadmath0:amd64.
Unpacking libquadmath0:amd64 (from .../libquadmath0_4.8.1-8_amd64.deb) ...
Selecting previously unselected package libgfortran3:amd64.
Unpacking libgfortran3:amd64 (from .../libgfortran3_4.8.1-8_amd64.deb) ...
Selecting previously unselected package libpython3.3-minimal.
Unpacking libpython3.3-minimal (from .../libpython3.3-minimal_3.3.2-5_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.54_all.deb) ...
Selecting previously unselected package libpython3.3-stdlib.
Unpacking libpython3.3-stdlib (from .../libpython3.3-stdlib_3.3.2-5_amd64.deb) ...
Selecting previously unselected package libwcs4:amd64.
Unpacking libwcs4:amd64 (from .../libwcs4_4.18-1_amd64.deb) ...
Selecting previously unselected package libpython2.7-minimal.
Unpacking libpython2.7-minimal (from .../libpython2.7-minimal_2.7.5-7_amd64.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.5-7_amd64.deb) ...
Selecting previously unselected package python3.3-minimal.
Unpacking python3.3-minimal (from .../python3.3-minimal_3.3.2-5_amd64.deb) ...
Selecting previously unselected package libpython2.7-stdlib.
Unpacking libpython2.7-stdlib (from .../libpython2.7-stdlib_2.7.5-7_amd64.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.5-7_amd64.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.5-3_amd64.deb) ...
Selecting previously unselected package libpython-stdlib:amd64.
Unpacking libpython-stdlib:amd64 (from .../libpython-stdlib_2.7.5-3_amd64.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.5-3_amd64.deb) ...
Selecting previously unselected package python-support.
Unpacking python-support (from .../python-support_1.0.15_all.deb) ...
Selecting previously unselected package python3.3.
Unpacking python3.3 (from .../python3.3_3.3.2-5_amd64.deb) ...
Selecting previously unselected package python3-minimal.
Unpacking python3-minimal (from .../python3-minimal_3.3.2-13_amd64.deb) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Unpacking libpython3-stdlib:amd64 (from .../libpython3-stdlib_3.3.2-13_amd64.deb) ...
Selecting previously unselected package python3.
Unpacking python3 (from .../python3_3.3.2-13_amd64.deb) ...
Selecting previously unselected package dh-python.
Unpacking dh-python (from .../dh-python_1.20130807-1_all.deb) ...
Selecting previously unselected package libblas3.
Unpacking libblas3 (from .../libblas3_1.2.20110419-5_amd64.deb) ...
Selecting previously unselected package liblapack3.
Unpacking liblapack3 (from .../liblapack3_3.4.2+dfsg-1_amd64.deb) ...
Selecting previously unselected package python-numpy.
Unpacking python-numpy (from .../python-numpy_1%3a1.7.1-2+b1_amd64.deb) ...
Selecting previously unselected package python3-numpy.
Unpacking python3-numpy (from .../python3-numpy_1%3a1.7.1-2+b1_amd64.deb) ...
Selecting previously unselected package libsofa-c0.
Unpacking libsofa-c0 (from .../libsofa-c0_2012.03.01-1_amd64.deb) ...
Selecting previously unselected package python3-astropy.
Unpacking python3-astropy (from .../python3-astropy_0.2.4-2_amd64.deb) ...
Selecting previously unselected package python3-pyfits.
Unpacking python3-pyfits (from .../python3-pyfits_1%3a3.1.2-1+b1_amd64.deb) ...
Selecting previously unselected package python3-astropy-legacy.
Unpacking python3-astropy-legacy (from .../python3-astropy-legacy_0.2.4-2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/python3-astropy-legacy_0.2.4-2_all.deb (--unpack):
trying to overwrite '/usr/lib/python3/dist-packages/pyfits/__init__.py', which is also in package python3-pyfits 1:3.1.2-1+b1
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/python3-astropy-legacy_0.2.4-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cow-shell unlink .ilist: No such file or directory
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/lib/python3/dist-packages/pyfits/__init__.py
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 debian-science-maintainers
mailing list