Bug 1214544

Summary: Essential packages are silently removed during upgrade process
Product: [openSUSE] openSUSE Distribution Reporter: Zou <dimamizou>
Component: Upgrade ProblemsAssignee: E-mail List <screening-team-bugs>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: Andreas.Stieger
Version: Leap 15.5   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Leap 15.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Zou 2023-08-23 17:23:41 UTC
User-Agent:       Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Build Identifier: 

Following packages installed on 15.4 are removed by upgrade (from install media or via zypper):

1) samba-ad-dc
2) openldap
3) charybdis

Removal happens silently without any possibility of intervention, the "upgraded" system is afterwards unusable as noone can login. Manual re-installation of the packages shredders then still existing configuration (kerberos storage gets deleted, SSL keys removed).

This is absolutely not the way how you manage upgrades.

Reproducible: Always

Steps to Reproduce:
Upgrade system having the mentioned packages installed as described https://en.opensuse.org/SDB:System_upgrade or alternatively from install image

Actual Results:  
Packages get silently removed.

Expected Results:  
Upgrade process leaves packages it cannot upgrade alone. Either it aborts with corr. justification or the operator is given adequate notification at the end of the process.
Comment 1 Andreas Stieger 2023-08-23 18:39:08 UTC
From https://en.opensuse.org/SDB:System_upgrade

> zypper --releasever=15.5 dup

This command prints all package removals and asks for confirmation. In other words: not silent, and with the possibility of intervention.
Comment 2 Andreas Stieger 2023-09-09 15:29:42 UTC
Closing, the premise of the bug is incomplete.