[Bug 1682934] Re: package python3 3.5.1-4 failed to install/upgrade: pre-dependency problem - not installing python3

Adam Conrad adconrad at 0c3.net
Wed Apr 26 19:01:00 UTC 2017


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

(base)adconrad at 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
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1682934

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

Status in python3-defaults package in Ubuntu:
  Confirmed

Bug description:
  Got this error while using "Transmageddon Video Transcoder" and again
  while updating 16.10 to 17.04.

  Seems to have something to do with needing that Python3 version for
  Teletext decoding in media that is in transport stream format (.ts).

  ProblemType: Package
  DistroRelease: Ubuntu 17.04
  Package: python3 3.5.1-4
  ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
  Uname: Linux 4.10.0-19-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4
  Architecture: amd64
  Date: Fri Apr 14 19:27:33 2017
  ErrorMessage: pre-dependency problem - not installing python3
  InstallationDate: Installed on 2015-05-01 (714 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.18.10ubuntu2
   apt  1.4
  SourcePackage: python3-defaults
  Title: package python3 3.5.1-4 failed to install/upgrade: pre-dependency problem - not installing python3
  UpgradeStatus: Upgraded to zesty on 2017-04-14 (0 days ago)

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



More information about the foundations-bugs mailing list