Univention Bugzilla – Bug 44772
AdditionalPackagesMaster in an App may uninstall other Apps
Last modified: 2017-06-28 15:55:07 CEST
When uninstalling an App, the list of explicitely uninstalled packages is compiled from "DefaultPackages" and "AdditionalPackages$ROLE". When the additional packages are essentially DefaultPackages of another App, this App is effectively uninstalled. Happened in opsi (in fact, the only App using this feature). It uninstalls Samba 4 upon removal.
For the actual issue of opsi + samba4: It could be a workaround to set the samba4 app as RequiredAppsInDomain.
simple, do not (never) uninstall "AdditionalPackages$ROLE" for the opsi + samba4 scenario, uninstalling samba4 more or less catastrophic
(In reply to Erik Damrose from comment #1) > For the actual issue of opsi + samba4: It could be a workaround to set the > samba4 app as RequiredAppsInDomain. No, it doesn't need to be installed in the domain. It is still okay to install Samba 3 in the domain. (In reply to Felix Botner from comment #2) > simple, do not (never) uninstall "AdditionalPackages$ROLE" Yes.
fixed in old/new api, univention-appcenter r80144 univention-appcenter.yaml 5.0.23-73.307.201706131355
OK, works.
<http://errata.software-univention.de/ucs/4.1/432.html>