Bug 56569 - Uninstall of App "Fetchmail" silently removes installed App "OX App Suite App" from same host as well
Uninstall of App "Fetchmail" silently removes installed App "OX App Suite App...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-11 14:58 CEST by Christian Kowarzik
Modified: 2023-09-30 07:24 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Kowarzik 2023-09-11 14:58:05 CEST
Systeminfo:

UCS: 5.0-4 errata798
Installed: fetchmail=6.3.26 mailserver=12.0 ox-connector=2.2.7 oxseforucs=7.10.6-ucs9


Abstract:

Missing configuration "RequiredApps = fetchmail" in ini-file (oxseforucs_*.ini) of App "OX App Suite" since Version 7.10.6-ucs4 leads to App Center _not_ aborting an intended uninstallation of App "Fetchmail" with information about dependency with App "OX App Suite".
Consequently App Center will uninstall package univention-fetchmail (App "Fetchmail") which reverse depends on package univention-ox which reverse depends on package univention-ox-meta-singleserver (App "OX App Suite") effectively uninstalling App "OX App Suite" all well.
Package univention-ox depends on univention-fetchmail since univention-ox_12.0.33, which is from OX App Suite Version 7.10.6-ucs4.


Steps to reproduce:

1. On host with installed App "OX App Suite" (Version 7.10.6-ucs4 or newer) select App "Fetchmail" in App Center for uninstallation.
2. App Center will show summary of package changes happening when removal will be startet:
   "The following software changes on ucs-2201.example.intranet will be applied: 245 packages will be removed"
3. Klick Button "START REMOVAL" and wait until uninstallation in finished.
4. Find in App Center that App "OX App Suite" was removed as well.


Expected behaviour:

1. On host with installed App "OX App Suite" (Version 7.10.6-ucs4 or newer) select App "Fetchmail" in App Center for uninstallation.
2. App Center will abort the intended uninstallation with information about dependency with App "OX App Suite":
   "We cannot continue.
    Fetchmail is required for the following Apps to work.
    * OX App Suite
    Uninstall them first."


Suggested solution:

Add configuration "RequiredApps = fetchmail" to all ini-files (oxseforucs_*.ini) of App "OX App Suite" since Version 7.10.6-ucs4 (oxseforucs_20230201112250.ini and newer).