Bugzilla – Bug 1215254
grub2-branding-openSUSE will not be installed
Last modified: 2023-09-12 14:54:24 UTC
Created attachment 869455 [details] Solver Testcase Due https://build.opensuse.org/request/show/1109083 the bootloader pattern will not be installed automatically. The package grub2-branding-openSUSE will not be installed anymore and the grub menu will not been shown in the graphical mode. grub2-branding-openSUSE has the Supplements: (grub2 and branding-openSUSE) and grub2 and branding-openSUSE is selected for installation. The question is, why grub2-branding-openSUSE will not be selected for installation although this supplement is fulfilled. When I am selecting the patterns-base-bootloader manually the package grub2-branding-openSUSE will be selected due the dependency: Requires: (grub2-branding-openSUSE if branding-openSUSE) So, this is a hard requirement and the other one is soft only. Anyway, grub2-branding-openSUSE should also be selected due fulfilled supplements. Or I am wrong ? I am attaching a solver testcase. Thank you !
This bug is more for the libzypp team but I see not the category :-)
> The question is, why grub2-branding-openSUSE will not be selected for installation although this supplement is fulfilled. MicroOS has solver.onlyRequires=true, so you need a hard dependency somewhere for this to work. You could add something like Requires: (grub2-branding-openSUSE if (branding-openSUSE and grub2)) into one of the chosen patterns.