Package: python3.5-minimal
Version: 3.5.6-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + python3-pymca5-dbg
Control: found -1 python3-pymca5-dbg/5.4.0+dfsg-1

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stable'.
It installed fine in 'stable', then the upgrade to 'sid' fails.

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../02-python3.5-minimal_3.5.6-1_amd64.deb ...
  Unpacking python3.5-minimal (3.5.6-1) over (3.5.3-1) ...
  Preparing to unpack .../03-python3-numpy_1%3a1.14.5-1+b1_amd64.deb ...
  Traceback (most recent call last):
    File "/usr/bin/py3clean", line 210, in <module>
      main()
    File "/usr/bin/py3clean", line 196, in main
      pfiles = set(dpf.from_package(options.package))
    File "/usr/share/python3/debpython/files.py", line 50, in from_package
      shell=True, stdout=PIPE)
    File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
      restore_signals, start_new_session)
    File "/usr/lib/python3.5/subprocess.py", line 1221, in _execute_child
      restore_signals, start_new_session, preexec_fn)
  TypeError: fork_exec() argument 4 must be tuple, not list
  dpkg: warning: old python3-numpy package pre-removal script subprocess 
returned error exit status 1
  dpkg: trying script from the new package instead ...
  Traceback (most recent call last):
    File "/usr/bin/py3clean", line 210, in <module>
      main()
    File "/usr/bin/py3clean", line 196, in main
      pfiles = set(dpf.from_package(options.package))
    File "/usr/share/python3/debpython/files.py", line 50, in from_package
      shell=True, stdout=PIPE)
    File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
      restore_signals, start_new_session)
    File "/usr/lib/python3.5/subprocess.py", line 1221, in _execute_child
      restore_signals, start_new_session, preexec_fn)
  TypeError: fork_exec() argument 4 must be tuple, not list
  dpkg: error processing archive 
/tmp/apt-dpkg-install-sEY2kl/03-python3-numpy_1%3a1.14.5-1+b1_amd64.deb 
(--unpack):
   new python3-numpy package pre-removal script subprocess returned error exit 
status 1
  Traceback (most recent call last):
    File "/usr/bin/py3compile", line 290, in <module>
      main()
    File "/usr/bin/py3compile", line 270, in main
      options.force, options.optimize, e_patterns)
    File "/usr/bin/py3compile", line 147, in compile
      next(coroutine)
    File "/usr/bin/py3compile", line 133, in py_compile
      stdin=PIPE, close_fds=True)
    File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
      restore_signals, start_new_session)
    File "/usr/lib/python3.5/subprocess.py", line 1221, in _execute_child
      restore_signals, start_new_session, preexec_fn)
  TypeError: fork_exec() argument 4 must be tuple, not list
  dpkg: error while cleaning up:
   installed python3-numpy package post-installation script subprocess returned 
error exit status 1

At this point python3-minimal 3.5.3-1 is still installed.


I hope I traced this bug to the correct package, and as such that
it will disappear once python3.5 gets removed from unstable.
It's curious that this only happened for a single package.


cheers,

Andreas

Attachment: python3-pymca5-dbg_5.4.0+dfsg-1.log.gz
Description: application/gzip

Reply via email to