control: reopen -1 control: blocks -1 884690 (resending now that the bug is unarchived)
On Mon, May 23, 2016 at 10:50 AM, Aaron M. Ucko <a...@alum.mit.edu> wrote: > Package: python-backports-shutil-get-terminal-size > Version: 1.0.0-1 > Severity: serious > Justification: Policy 6.6(4) > > python-backports-shutil-get-terminal-size is impossible to install > alongside python-backports.ssl-match-hostname: > > Unpacking python-backports-shutil-get-terminal-size (1.0.0-1) ... > dpkg: error processing archive > /var/cache/apt/archives/python-backports-shutil-get-terminal-size_1.0.0-1_all.deb > (--unpack): > trying to overwrite > '/usr/lib/python2.7/dist-packages/backports/__init__.py', which is also in > package python-backports.ssl-match-hostname 3.4.0.2-1 > > Could you please take a look? this is still happening! i suspect the reason is because python-backports-shutil-get-terminal-size ships a __init__.py file upstream and that's the one that's actually being installed, while all the other packages overriding dh_python2 to add "--namespace backports" would install a file with a different content. cfr: $ cat /usr/lib/python2.7/dist-packages/backports/__init__.py __path__ = __import__('pkgutil').extend_path(__path__, __name__) as installed by python-backports.ssl-match-hostname with $ cat backports/__init__.py from pkgutil import extend_path __path__ = extend_path(__path__, __name__) as installed by python-backports-shutil-get-terminal-size; and if you try to install them both: Selecting previously unselected package python-backports-shutil-get-terminal-size. (Reading database ... 586099 files and directories currently installed.) Preparing to unpack .../python-backports-shutil-get-terminal-size_1.0.0-4_all.deb ... Unpacking python-backports-shutil-get-terminal-size (1.0.0-4) ... dpkg: error processing archive /var/cache/apt/archives/python-backports-shutil-get-terminal-size_1.0.0-4_all.deb (--unpack): trying to overwrite '/usr/lib/python2.7/dist-packages/backports/__init__.py', which is also in package python-backports.functools-lru-cache 1.4-1 Errors were encountered while processing: /var/cache/apt/archives/python-backports-shutil-get-terminal-size_1.0.0-4_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) this means either any of the other backports packages are installed or ipython is not installable (as it depends on python-backports-shutil-get-terminal-size) can you please fix this asap? Thanks, On Mon, May 23, 2016 at 10:50 AM, Aaron M. Ucko <a...@alum.mit.edu> wrote: > Package: python-backports-shutil-get-terminal-size > Version: 1.0.0-1 > Severity: serious > Justification: Policy 6.6(4) > > python-backports-shutil-get-terminal-size is impossible to install > alongside python-backports.ssl-match-hostname: > > Unpacking python-backports-shutil-get-terminal-size (1.0.0-1) ... > dpkg: error processing archive > /var/cache/apt/archives/python-backports-shutil-get-terminal-size_1.0.0-1_all.deb > (--unpack): > trying to overwrite > '/usr/lib/python2.7/dist-packages/backports/__init__.py', which is also in > package python-backports.ssl-match-hostname 3.4.0.2-1 > > Could you please take a look? > > Thanks! > > -- System Information: > Debian Release: stretch/sid > APT prefers testing > APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > _______________________________________________ > Python-modules-team mailing list > python-modules-t...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi