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 #537376,
regarding python-support: Cannot use modules provided by a package in its 
postinst script
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.)


-- 
537376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537376
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
package: python-support
version: 1.0.3

Consider a package foo that provides both a python module (say, foo.bar) 
and a python program baz that imports foo.bar.  With the current 
python-support implementation, it is not possible to run baz in the 
package's postinst script.  What will happen is that the "import foo.bar" 
line of baz will fail in the postinst script with

ImportError: No module named foo

because /usr/lib/pymodules/python2.5/foo/__init__.py doesn't exist yet. 
(It is created by the python-support trigger that runs after installation 
completes.)

It seems like one could fix this by having python-support create its empty 
__init__.py file when update-python-modules is run, rather than delaying 
until the trigger is processed.

It is quite possible that this problem will also affect situations where 
the package running bar in its postinst script depends on the package 
containing foo.bar and the packages are installed at the same time, but 
I've not tested it.

For now, I've worked around this problem by using python-central.

        -Tim Abbott



--- 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 ---

Reply via email to