Bug 32058 - python-univention-lib needs to force-create its Python modules NOW
python-univention-lib needs to force-create its Python modules NOW
Status: RESOLVED DUPLICATE of bug 31281
Product: UCS
Classification: Unclassified
Component: univention-lib
UCS 3.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 16:12 CEST by Philipp Hahn
Modified: 2013-08-13 08:09 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2013-07-24 16:12:26 CEST
debian/python-univention-lib.postinst:
+update-python-modules -p

See /var/lib/dpkg/info/python-univention-management-console.postinst for an 2nd example.
Otherwise the new 'univention.lib.misc' is not available and several other packages fail to upgrade from 3.1-1 to 3.2-0 cleanly:


Vorbereitung zum Ersetzen von univention-management-console-server 5.0.65-1.734.201305291047 (durch .../univention-management-console-server_6.0.5-1.743.201307190930_all.deb) ...
Stopping Univention Management Console Server.
Traceback (most recent call last):
  File "/usr/sbin/univention-management-console-server", line 49, in <module>
    from univention.management.console.log import CORE, log_init
  File "/usr/lib/pymodules/python2.6/univention/management/console/__init__.py", line 34, in <module>
    from univention.lib.i18n import Translation
  File "/usr/lib/pymodules/python2.6/univention/lib/__init__.py", line 38, in <module>
    from univention.lib.misc import *
ImportError: No module named misc
done.
Reloading Univention Management Console Server.
Traceback (most recent call last):
  File "/usr/sbin/univention-management-console-server", line 49, in <module>
    from univention.management.console.log import CORE, log_init
  File "/usr/lib/pymodules/python2.6/univention/management/console/__init__.py", line 34, in <module>
    from univention.lib.i18n import Translation
  File "/usr/lib/pymodules/python2.6/univention/lib/__init__.py", line 38, in <module>
    from univention.lib.misc import *
ImportError: No module named misc
done.
Ersatz für univention-management-console-server wird entpackt ...
Vorbereitung zum Ersetzen von python-univention-management-console 5.0.65-1.734.201305291047 (durch .../python-univention-management-console_6.0.5-1.743.201307190930_all.deb) ...
Ersatz für python-univention-management-console wird entpackt ...
Vorbereitung zum Ersetzen von univention-ssl 7.0.7-1.134.201303051443 (durch .../univention-ssl_8.0.0-1.135.201306101055_all.deb) ...
Comment 1 Stefan Gohmann univentionstaff 2013-08-13 08:09:59 CEST
It was introduced with Bug #31281.

*** This bug has been marked as a duplicate of bug 31281 ***