Univention Bugzilla – Bug 55865
Handling package conflict during the univention-system-setup
Last modified: 2023-03-09 11:25:53 CET
### Environment * Image: ucs503.qcow2 * OS version: UCS 5.0-3 * Account: root ### Description The subject of this topic is to address the issue of package conflict that occurs during the installation process of univention-system-setup. When starting the univention-system-setup, the installation process stops due to package conflicts with one of the packages listed in /var/cache/univention-system-setup/packages/. The error occurs during the execution of step /usr/lib/univention-system-setup/scripts/05_role/10role. ### Precondition Before attempting to install univention-system-setup, it is necessary to preprovision the image. ### Steps to reproduce # Start the univention-system-setup. # During the installation process, an error occurs due to package conflicts with one of the packages listed in /var/cache/univention-system-setup/packages/. # Rerun the univention-system-setup, which will result in errors. ### Current behavior When the package conflicts occur during the installation process, the packages in /var/cache/univention-system-setup/packages/ are removed. Consequently, rerunning the univention-system-setup will fail due to missing packages. ### Expected behavior The packages in /var/cache/univention-system-setup/packages/ should not be removed when the execution of step /usr/lib/univention-system-setup/scripts/05_role/10role did not complete. Rerunning the univention-system-setup should install the missing packages to resolve the package conflict error.
My problem I want to address is that the packages in `/var/cache/univention-system-setup/packages/` are deleted although the step `/usr/lib/univention-system-setup/scripts/05_role/10role` was not successful and running `univention-system-setup` again skips the step and then runs into unnecessary errors because packages are simply not installed.
Affected Package * when `ucrv online/repository=yes` --> `lbnss-ldap` * when `ucrv online/repository=no` --> `univention-server-master`