Univention Bugzilla – Bug 32058
python-univention-lib needs to force-create its Python modules NOW
Last modified: 2013-08-13 08:09:59 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) ...
It was introduced with Bug #31281. *** This bug has been marked as a duplicate of bug 31281 ***