Your message dated Mon, 28 Dec 2015 19:43:52 +0000
with message-id <[email protected]>
and subject line Bug#746741: Removed package(s) from unstable
has caused the Debian Bug report #629154,
regarding detect automatically when update-python-modules -p should be used
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 [email protected]
immediately.)
--
629154: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629154
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-support
Version: 1.0.13
Severity: serious
update-python-modules calls dpkg-trigger with --no-await option. This
means that packages calling update-python-modules will be configured
even before the trigger is run. However, this is wrong, because the
trigger does an important thing: creates empty __init__.py. As such,
some packages are unusable until the trigger is run.
I attached two dummy packages to illustrate the problem:
- foo ships a Python module and a script that uses this module. foo's
modules are bytecompiled by python-support.
- bar depends on foo and uses the script provided by foo in its
postinst, but is completely Python-agnostic.
Installing foo and bar together fails:
| # dpkg -i foo_1_all.deb bar_1_all.deb
| Selecting previously deselected package foo.
| (Reading database ... 14035 files and directories currently installed.)
| Unpacking foo (from foo_1_all.deb) ...
| Selecting previously deselected package bar.
| Unpacking bar (from bar_1_all.deb) ...
| Setting up foo (1) ...
| Setting up bar (1) ...
| Traceback (most recent call last):
| File "/usr/bin/runfoo", line 2, in <module>
| import foo
| ImportError: No module named foo
| dpkg: error processing bar (--install):
| subprocess installed post-installation script returned error exit status 1
| Processing triggers for python-support ...
| Errors were encountered while processing:
| bar
If I remove --no-await option, the packages can be successfully
installed:
| # dpkg -i foo_1_all.deb bar_1_all.deb
| Selecting previously deselected package foo.
| (Reading database ... 14035 files and directories currently installed.)
| Unpacking foo (from foo_1_all.deb) ...
| Selecting previously deselected package bar.
| Unpacking bar (from bar_1_all.deb) ...
| Setting up foo (1) ...
| Processing triggers for python-support ...
| Setting up bar (1) ...
--
Jakub Wilk
foo_1_all.deb
Description: application/debian-package
bar_1_all.deb
Description: application/debian-package
--- End Message ---
--- Begin Message ---
Version: 1.0.15+rm
Dear submitter,
as the package python-support has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/746741
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Chris Lamb (the ftpmaster behind the curtain)
--- End Message ---