Univention Bugzilla – Bug 54262
"univention-app install" not idempotent - samba4 self-conflicting itself
Last modified: 2021-12-20 09:38:00 CET
> # univention-app install samba4 > Resolving dependencies for samba4 > Going to install Active Directory-kompatibler Domänencontroller (4.13) > (must_have_no_conflicts_apps) The application conflicts with the following applications: > {'samba4': [{'id': 'samba4', 'name': 'Active Directory-kompatibler Domänencontroller'}]} > (must_not_be_installed) This application is already installed > Unable to install. Aborting... > Failure will leave these apps untouched: samba4 This makes `univention-app` unsuitable for being used from configuration management systems like Ansible, which try to archive a state and expect tools to be idempotent, e.g. the tool should transform the current state into the desired state but do nothing, if the desired state is already achieved.