Bug#719770: marked as done (python3-pyfits and python3-astropy-legacy: error when trying to install together)
Aurelien Jarno
aurelien at aurel32.net
Thu Aug 15 14:31:46 UTC 2013
On Thu, Aug 15, 2013 at 01:27:07PM +0000, Debian Bug Tracking System wrote:
> Your message dated Thu, 15 Aug 2013 09:22:31 -0400
> with message-id <5465851.lvOgdDBKfF at scott-latitude-e6320>
> and subject line Has to be fixed in astropy
> has caused the Debian Bug report #719770,
> regarding python3-pyfits and python3-astropy-legacy: error when trying to install together
> to be marked as done.
>
> This means that you claim that the problem has been dealt with.
> If this is not the case it is now your responsibility to reopen the
> Bug report if necessary, and/or fix the problem forthwith.
>
> (NB: If you are a system administrator and have no idea what this
> message is talking about, this may indicate a serious mail system
> misconfiguration somewhere. Please contact owner at bugs.debian.org
> immediately.)
>
>
> --
> 719770: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719770
> Debian Bug Tracking System
> Contact owner at bugs.debian.org with problems
> Date: Thu, 15 Aug 2013 08:27:33 +0200
> From: Ralf Treinen <treinen at free.fr>
> To: submit at bugs.debian.org
> Subject: python3-pyfits and python3-astropy-legacy: error when trying to
> install together
> X-Spam-Status: No, score=-10.0 required=4.0 tests=BAYES_00,FREEMAIL_FROM,
> HAS_PACKAGE,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL autolearn=ham
> version=3.3.2-bugs.debian.org_2005_01_02
>
> 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/.
> Date: Thu, 15 Aug 2013 09:22:31 -0400
> From: Scott Kitterman <debian at kitterman.com>
> To: 719770-done at bugs.debian.org
> Subject: Has to be fixed in astropy
> User-Agent: KMail/4.10.5 (Linux/3.8.0-27-generic; KDE/4.10.5; i686; ; )
> X-Spam-Status: No, score=-4.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
> DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS autolearn=ham
> version=3.3.2-bugs.debian.org_2005_01_02
>
> In python-astropy-legacy this was resolved by adding a conflicts so the
> packages aren't co-installable. I think that's the miminal solution for
> python3-astropy-legacy, but even better would be for astropy to use the system
> provided pyfits. I don't think this can be reasonably resolved in the pyfits
> package, so I'm closing the bug against it. #719770 is the python-astropy
> bug.
No, #719770 is both the pyfits and the python-astropy bug. So the bug is
now closed, while nothing has been actually fixed.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien at aurel32.net http://www.aurel32.net
More information about the debian-science-maintainers
mailing list