The problem here is that python's postinst scripts call python without a
qualified path:

(base)adconrad@nosferatu:~/py/python3.5-3.5.3$ rgrep '@PVER@ -E'
debian/libPVER-testsuite.postinst.in:   @PVER@ -E -S 
/usr/lib/@PVER@/py_compile.py $files
debian/libPVER-testsuite.postinst.in:       @PVER@ -E -S -O 
/usr/lib/@PVER@/py_compile.py $files
debian/PVER-dbg.postinst.in:    @PVER@ -E -S /usr/lib/@PVER@/py_compile.py 
$files
debian/PVER-dbg.postinst.in:        @PVER@ -E -S -O 
/usr/lib/@PVER@/py_compile.py $files
debian/PVER-venv.postinst.in:   @PVER@ -E -S /usr/lib/@PVER@/py_compile.py 
$files
debian/PVER-venv.postinst.in:       @PVER@ -E -S -O 
/usr/lib/@PVER@/py_compile.py $files
debian/PVER-minimal.postinst.in:        @PVER@ -E -S 
/usr/lib/@PVER@/py_compile.py $files
debian/PVER-minimal.postinst.in:            @PVER@ -E -S -O 
/usr/lib/@PVER@/py_compile.py $files
debian/PVER.postinst.in:        @PVER@ -E -S /usr/lib/@PVER@/py_compile.py 
$files
debian/PVER.postinst.in:            @PVER@ -E -S -O 
/usr/lib/@PVER@/py_compile.py $files

All of those should have /usr/bin prepended to make sure we're getting
the *right* python.  Odds are this same bug is in all python versions
(or, at least, all python3 versions), given they likely share common
packaging, as evidenced by the magic @PVER@ substitution.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1682934

Title:
  package python3 3.5.1-4 failed to install/upgrade: pre-dependency
  problem - not installing python3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1682934/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to