Bug 44778

Summary: AdditionalPackagesMaster in an App may uninstall other Apps
Product: UCS Reporter: Felix Botner <botner>
Component: App CenterAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Dirk Wiesenthal <wiesenthal>
Severity: normal    
Priority: P5 CC: botner, damrose, gohmann, requate, wiesenthal
Version: UCS 4.2   
Target Milestone: UCS 4.2-0-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 1: Will affect a very few installed domains How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.200 Enterprise Customer affected?: Yes
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: 2017061221000664, 2017052921000241 Bug group (optional):
Max CVSS v3 score:
Bug Depends on: 44772    
Bug Blocks:    

Description Felix Botner univentionstaff 2017-06-13 14:14:48 CEST
+++ This bug was initially created as a clone of Bug #44772 +++

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.
Comment 1 Felix Botner univentionstaff 2017-06-13 14:28:30 CEST
merged changes from Bug #44772

univention-appcenter r80151
univention-appcenter.yaml 6.0.7-20A~4.2.0.201706131423
Comment 2 Dirk Wiesenthal univentionstaff 2017-06-14 03:17:23 CEST
OK, works
Comment 3 Janek Walkenhorst univentionstaff 2017-06-15 17:58:26 CEST
<http://errata.software-univention.de/ucs/4.2/38.html>