Index: usr/lib/univention-system-setup/scripts/setup-join.sh =================================================================== --- usr/lib/univention-system-setup/scripts/setup-join.sh (Revision 34377) +++ usr/lib/univention-system-setup/scripts/setup-join.sh (Arbeitskopie) @@ -64,6 +64,10 @@ # do not allow the UMC or webserver to be restarted /usr/share/univention-updater/disable-apache2-umc +# Re-create sources.list files before installing the role packages +# https://forge.univention.org/bugzilla/show_bug.cgi?id=28089 +ucr commit /etc/apt/sources.list.d/* + # Install the server package /usr/lib/univention-system-setup/scripts/role/10role @@ -145,6 +149,9 @@ echo "Starting re-configuration of network" run-parts -a --network-only -a --appliance-mode -- /usr/lib/univention-system-setup/scripts/net/ +# Re-create sources.list files +ucr commit /etc/apt/sources.list.d/* + # Install selected software echo "Starting re-configuration of software packages" run-parts /usr/lib/univention-system-setup/scripts/software/