View previous topic :: View next topic |
Author |
Message |
FuLl n00b
Joined: 05 Mar 2024 Posts: 4
|
Posted: Wed Apr 03, 2024 9:19 pm Post subject: Required use flag constraints not met, at most one of |
|
|
Hi,
I'm doing the installation per the handbook & I'm on the GRUB part & am getting an error when I do
Code: | emerge --ask sys-kernel/installkernel
|
The error is in part:
Code: | !!! The ebuild selected to satisfy "sys-kernel/installkernel" has unmet requirements.
- sys-kernel/installkernel-28::gentoo USE="grub systemd systemd-boot -dracut -refind -uki -ukify" ABI_X86="(64)"
The following REQUIRED_USE flag constraints are unsatisfied:
at-most-one-of ( grub refind systemd-boot ) |
I notice I should have at most one of grub or systemd-boot but I have both, per the handbook's instructions:
Code: | nano /etc/portage/package.use/systemd
(Add the following:)
sys-apps/systemd boot
sys-kernel/installkernel systemd-boot
(Save & Exit) |
and
Code: | nano /etc/portage/package.use/installkernel
(Add the following)
sys-kernel/installkernel grub
(Save & Exit) |
How should I proceed here?
Thanks in advance.
-F |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4878 Location: Bavaria
|
Posted: Wed Apr 03, 2024 9:35 pm Post subject: |
|
|
If you want use systemd-boot then remove the Use-flag "grub" ... either from your USE= in your make.conf, or if you have set it individually for installkernel in your package.use/...
This is too much:
Code: | nano /etc/portage/package.use/systemd
=>
sys-apps/systemd boot
sys-kernel/installkernel systemd-boot
nano /etc/portage/package.use/installkernel
=>
sys-kernel/installkernel grub |
It should be:
Code: | nano /etc/portage/package.use/systemd
=>
sys-apps/systemd boot
nano /etc/portage/package.use/installkernel
=>
sys-kernel/installkernel systemd-boot |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22442
|
Posted: Wed Apr 03, 2024 11:22 pm Post subject: |
|
|
What page in the handbook directed you to enable both of these flags? That needs to be changed. |
|
Back to top |
|
|
FuLl n00b
Joined: 05 Mar 2024 Posts: 4
|
Posted: Thu Apr 04, 2024 4:27 pm Post subject: |
|
|
The part of the handbook I was reading from is here:
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#systemd-boot
...But at second thought it appears I misunderstood it. Apparently systemd has a boot loader too & the part preeceding the grub part was presenting the systemd bootloader as an option. If I read it this way & do it based on that interpretation I don't think I'll have an issue.
Looks like all I'll have to do now is remove the systemd-boot USE flags & emerge systemd again without them, then follow the grub part of the instructions.
Thank you for all your help. |
|
Back to top |
|
|
|