Bug 1222138 - Removing sddm-greeter-qt5 but zypper also asks to remove sddm-qt6 related packages
Summary: Removing sddm-greeter-qt5 but zypper also asks to remove sddm-qt6 related pac...
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Fabian Vogt
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-28 16:12 UTC by Hoàng Ngọc Tuấn Thanh
Modified: 2024-03-29 16:25 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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