Bug 1222138

Summary: Removing sddm-greeter-qt5 but zypper also asks to remove sddm-qt6 related packages
Product: [openSUSE] openSUSE Tumbleweed Reporter: Hoàng Ngọc Tuấn Thanh <thanh9356>
Component: OtherAssignee: Fabian Vogt <fabian>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hoàng Ngọc Tuấn Thanh 2024-03-28 16:12:37 UTC
When I clean up my unneeded packages on my machine, I notice that `sddm-greeter-qt5` maybe has some connections with sddm-qt6 and its dependencies, which makes me think it's abnormal.

Reproduction: 
Running the command `sudo transactional-update pkg rm sddm-greeter-qt5` (I'm using MicroOS, actually)

Output:
```
[...]
Reading installed packages...
Resolving package dependencies...

The following 7 packages are going to be REMOVED:
  patterns-microos-desktop-kde plasma6-sddm-theme-openSUSE sddm-greeter-qt5 sddm-greeter-qt6 sddm-qt6 sddm-qt6-branding-openSUSE sddm-qt6-branding-upstream

The following pattern is going to be REMOVED:
  microos_kde_desktop

7 packages to remove.
After the operation, 5.7 MiB will be freed.
```

Expected behavior: `zypper` ask to remove `sddm-greeter-qt5` only, not sddm-qt6 stuff.
Comment 1 Fabian Vogt 2024-03-29 16:25:59 UTC
Currently sddm-qt6 has a hard dependency on sddm-greeter-qt5, this is intentional. See https://github.com/sddm/sddm/pull/1876