Univention Bugzilla – Bug 57064
Missing dependency for Python 2 packages
Last modified: 2024-02-21 13:08:10 CET
Due to some unknown circumstances the python2 packages aren't upgraded to the latest versions after system setup. This causes when some packages are installed in a recent version some are just left as they are that we get into a broken state, e.g. for UDM. Symtpoms look like, e.g. in a school environment where the pre-join hook is still Python 2 to support UCS 4.4 mixed environments: univention-join-hooks: looking for hook type "join/pre-joinscripts" on primary.school.test$ Found hooks:$ cn=ucsschool-join-hook.py,cn=data,cn=univention,dc=school,dc=test$ Running: ucsschool-join-hook.py (cn=ucsschool-join-hook.py,cn=data,cn=univention,dc=school,dc=test) in /tmp/tmps_nt56cu/tmp6a2bbgkq$ Traceback (most recent call last):$ File "/tmp/tmps_nt56cu/tmp6a2bbgkq", line 53, in <module>$ import univention.admin$ File "/usr/lib/python2.7/dist-packages/univention/admin/__init__.py", line 51, in <module>$ import univention.logging # noqa: F401$ ImportError: No module named logging$ → We should add explicit versioned dependencies
The missing dependency has been added. univention-directory-manager-modules.yaml 1197851c8b08 | fix(udm): add missing dependency on python-univention-debug univention-directory-manager-modules (15.0.25-6) 1197851c8b08 | fix(udm): add missing dependency on python-univention-debug
OK: Dependency has been added OK: Manual installatio OK: Jenkins (unfortunately, the install tests of ucs@school still fail, they will only be successful upon release of this package) OK: YAML Verified
<https://errata.software-univention.de/#/?erratum=5.0x960>