Bug ID | 1189024 |
---|---|
Summary | Sway: potential name conflict pattern vs package |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | All |
OS | openSUSE Tumbleweed |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Patterns |
Assignee | dimstar@opensuse.org |
Reporter | tammo.oepkes@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Created attachment 851501 [details]
Screenshot from sway install on minimal system
There are a package and a pattern which are both called `sway`. If one attempts
to install the sway package, the pattern unintentionally gets installed.
Reproduce:
- install Tumbleweed, choose server install (to get minimal system)
- modify `/etc/zypp/zypp.conf`: `solver.onlyRequires = true`
- modify `/etc/zypp/zypper.conf`: `installRecommends = no`
- run dist-upgrade
- run `zypper install sway`
This will attempt to install the sway _pattern_ (with 196 packages, consuming
343 MiB).
For comparison, an i3 installation attempt on the same (minimal) system
attempts to install 23 packages, weighing only 6.9 MiB.
I tried to install sway package (instead of pattern) explicitly with `zypper
install --type package sway`, but this yields the same result as omitting the
switch.
My assumption is that the identical names for pattern and package cause
unintended behavior.