We have to adjust univention.lib.package_manager to this upstream commit: commit 324b2d49f16b307e7b365645591ebfd9ff71aba4 Author: Julian Andres Klode <jak@debian.org> Date: Mon Jun 24 13:49:55 2019 +0200 Remove install_protect() methods They were dropped in apt 1.9, and do nothing. Otherwise the following exception happens: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/modules/setup/setup_script.py", line 323, in run success = self.inner_run() File "/usr/lib/univention-system-setup/scripts/05_role/10role", line 89, in inner_run success = self.install(wanted_server_role_package) File "/usr/lib/python3/dist-packages/univention/management/console/modules/setup/setup_script.py", line 437, in install return self.package_manager.install(*pkg_names) File "/usr/lib/python3/dist-packages/univention/lib/package_manager.py", line 1118, in install return self.commit(install=pkg_names) File "/usr/lib/python3/dist-packages/univention/lib/package_manager.py", line 904, in commit to_be_installed, to_be_removed, broken = self.mark(install, remove, dry_run=True) File "/usr/lib/python3/dist-packages/univention/lib/package_manager.py", line 809, in mark fixer.install_protect() AttributeError: 'ProblemResolver' object has no attribute 'install_protect'
This is already the case in UCS 5.1. UCS 5.0: apt 1.8.2.3 UCS 5.1: apt 2.2.4 UCS 5.2: apt 2.6.0
QA: changelog: OK mark package using PackageManager: OK no more calls to install_protect() anywhere: OK
QA: both in 5.2 and 5.1: OK
univention-lib (10.0.4) b8fc3e6271b1 | fix(lib): adapt package mangager to python-apt changes