Problem:UCS@school Slave join during the installation wizard ends in failure - ucs-school-replica

Problem

The univention-join of a replica node/ucs@school slave is not possible if it’s done via the installation wizard.
The reason for that is Bug 56794

If the checkbox join during installation is checked, the following error occurs in:
/var/log/univention/join.log.

Screenshot from 2023-11-02 19-47-07

The following packages have unmet dependencies:
 ucs-school-replica : Depends: univention-s4-connector (>= 6.0.128-24) but it is not going to be installed or
                               univention-samba-slave-pdc but it is not installable
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Unable to correct problems, you have held broken packages.

Setting 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/tmpfg71wzfc/tmpxfr2m6a4 failed.
**************************************************************************
* Join failed!                                                           *
* Contact your system administrator                                      *
**************************************************************************
* Message:  Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- join/pre-joinscripts failed, see /var/log/univention/join.log

Solution

During installation, uncheck the Join during installation box.
Once the system is fully installed and upgraded to the latest version, perform the join manually via terminal.
Login as root to the ucs@school slave system and use following command:

univention-join

Here you get more information about the univention-join and here Erneuter Domänenbeitritt eines Schulservers

Mastodon