Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel emerge error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 37

PostPosted: Tue Oct 01, 2024 5:57 pm    Post subject: kernel emerge error Reply with quote

Trying to do a fresh Gentoo install and am getting this error when trying to
Code:
emerge sys-kernel/gentoo-kernel-bin

*My laptop is too slow to compile a kernel*

Code:
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sys-kernel/gentoo-kernel-bin-6.6.51::gentoo[initramfs]
# required by virtual/dist-kernel-6.6.51::gentoo
>=sys-kernel/installkernel-48-r1 dracut

Would you like to add these changes to your config files? [Yes/No] Yes

Autounmask changes successfully written.

 * IMPORTANT: 8 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

!!! The ebuild selected to satisfy ">=sys-kernel/installkernel-14[dracut(-)]" has unmet requirements.
- sys-kernel/installkernel-48-r1::gentoo USE="efistub grub systemd systemd-boot uki -dracut -refind -ugrd -ukify" ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    at-most-one-of ( efistub grub systemd-boot )

  The above constraints are a subset of the following complete expression:
    at-most-one-of ( efistub grub systemd-boot ) refind? ( !systemd-boot !grub ) systemd-boot? ( systemd ) ukify? ( uki ) at-most-one-of ( dracut ugrd )

(dependency required by "sys-kernel/gentoo-kernel-bin-6.6.51::gentoo[initramfs]" [ebuild])
(dependency required by "virtual/dist-kernel-6.6.51::gentoo" [ebuild])


Last edited by steveo314 on Tue Oct 01, 2024 6:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22456

PostPosted: Tue Oct 01, 2024 6:10 pm    Post subject: Reply with quote

Your subject line says "dracut error", but your post body shows a Portage message telling you that you have a configuration error. You have three different flags enabled from a group that allows at most one such flag. Pick and disable two of the three.
Back to top
View user's profile Send private message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 37

PostPosted: Tue Oct 01, 2024 6:18 pm    Post subject: Reply with quote

Hu wrote:
Your subject line says "dracut error", but your post body shows a Portage message telling you that you have a configuration error. You have three different flags enabled from a group that allows at most one such flag. Pick and disable two of the three.


my make.conf has
Code:
 USE="efistub -grub -systemd-boot"


is there another place to make that configuration also?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22456

PostPosted: Tue Oct 01, 2024 7:32 pm    Post subject: Reply with quote

I would also check package.use.
Back to top
View user's profile Send private message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 37

PostPosted: Tue Oct 01, 2024 8:29 pm    Post subject: Reply with quote

Hu wrote:
I would also check package.use.


Probably going to restart the Gentoo install. Think I may have introduced too many conflicts.
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 583

PostPosted: Tue Oct 01, 2024 9:30 pm    Post subject: Reply with quote

steveo314 wrote:
Probably going to restart the Gentoo install. Think I may have introduced too many conflicts.

This is not the way steveo.
You may have introduced conflicts, but they are going to be in /etc/portage/make.conf or /etc/portage/package.*/*
Just re-read those section of the handbook, and remove any entries that seem erroneous. In this case I'd suggest you read https://wiki.gentoo.org/wiki/Dispatch-conf, because
Code:
IMPORTANT: 8 config files in '/etc/portage' need updating.
Saying yes to Would you like to add these changes to your config files? [Yes/No] Yes is a two part process, the second part involving dispatch-conf or etc-update (personally I use etc-update, but smarter people than me say dispatch-conf is better).


Whilst during install may not seem like the ideal time to ask for forum help, you are in a mostly "known state"; not only are there people here that can pull you back from the cliff edge of a broken system, many of them can catch you just before you hit the floor in the canyon below, and there is never a bad time to learn something new.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4908
Location: Bavaria

PostPosted: Tue Oct 01, 2024 10:11 pm    Post subject: Reply with quote

steveo314 wrote:
my make.conf has
Code:
 USE="efistub -grub -systemd-boot"


is there another place to make that configuration also?

Yes. Please do (as root) this query:
Code:
# grep -r --exclude-dir=savedconfig "" /etc/portage

This gives you an overview of all related configuration options - especially all in /etc/portage/package.use

If you have questions about, just paste the output here and I am sure you will get help. ;-)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum