Problem
It is not possible to join a UCS replica to the domain because dependent packages cannot be installed for the join.
You will find the error in the /var/log/univention/join.log
The following packages have unfulfilled dependencies:
ucs-school-umc-installer : Depends on: python-ucs-school but should not be installed
Depends on: python3-ucsschool-lib but should not be installed
Depends on: univention-management-console-server (>= 12.0.31-10) but 12.0.17-3A~5.0.0.202302071823 should be installed
File: /usr/share/univention-management-console/modules/apps.xml
File: /etc/apt/apt.conf.d/55user_agent
File: /usr/share/univention-management-console/i18n/en/apps.mo
Create repository/online
File: /etc/apt/mirror.list
File: /etc/apt/sources.list.d/15_ucs-online-version.list
File: /etc/apt/sources.list.d/20_ucs-online-component.list
ERROR: join/pre-joinscripts hook /tmp/tmpnh0xi_zo/tmposdjsx5l failed.
Solution
Hint:
The dependency change of ucs-school-umc-installer requires univention-management-console-server >= 12.0.31-10 but this is fulfilled beginning with UCS 5.0-4errata765
Make sure that there is no version conflict between the Primary Node and the Replica Node.
- Update the Replica Node to latest patch level version to receive and install the errata updates.
For UCS 5.0-6
univention-upgrade --ignoressh --ignoreterm --updateto=5.0-6 --noninteractive
For UCS 5.0-5
univention-upgrade --ignoressh --ignoreterm --updateto=5.0-5 --noninteractive
For UCS 5.0-4
univention-upgrade --ignoressh --ignoreterm --updateto=5.0-4 --noninteractive
- Join the system in the domain via shell as root.
univention-join
For more information about the domain join or the installation for a Schoolreplica, check the manual please:
https://docs.software-univention.de/ucsschool-manual/latest/de/installation/multi.html#installation-eines-schulservers