Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel version select at emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 55

PostPosted: Thu Oct 03, 2024 2:28 pm    Post subject: kernel version select at emerge Reply with quote

I'm having trouble finding the arguments to do this. I haven't done it in years. I am trying to install a different version
of a kernel. What I am trying that doesn't work is

Code:

emerge -av =sys-kernel/gentoo-kernel-bin-6.10.12


I get the error emerge: there are no ebuilds to satisfy

Thank you in advance
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 821
Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.

PostPosted: Thu Oct 03, 2024 2:58 pm    Post subject: Reply with quote

Code:
!!! All ebuilds that could satisfy "=sys-kernel/gentoo-kernel-bin-6.10.12" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-kernel-bin-6.10.12::gentoo (masked by: ~amd64 keyword)


Works here. Maybe a typo?
_________________
I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly.
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Thu Oct 03, 2024 3:02 pm    Post subject: Re: kernel version select at emerge Reply with quote

steveo314 wrote:
I'm having trouble finding the arguments to do this. I haven't done it in years. I am trying to install a different version
of a kernel. What I am trying that doesn't work is

Code:

emerge -av =sys-kernel/gentoo-kernel-bin-6.10.12


I get the error emerge: there are no ebuilds to satisfy

Thank you in advance


You can either specify the version:

Code:
# emerge -av =sys-kernel/gentoo-kernel-bin-6.10.12


or the slot:

Code:
# emerge -av sys-kernel/gentoo-kernel-bin:6.10.12
Back to top
View user's profile Send private message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 55

PostPosted: Thu Oct 03, 2024 3:02 pm    Post subject: Reply with quote

mrbassie wrote:
Code:
!!! All ebuilds that could satisfy "=sys-kernel/gentoo-kernel-bin-6.10.12" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-kernel-bin-6.10.12::gentoo (masked by: ~amd64 keyword)


Works here. Maybe a typo?


What did you pass to the emerge command?
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 821
Location: Go past the sign for cope, right at the sign for seethe. If you see the target you've missed it.

PostPosted: Thu Oct 03, 2024 3:07 pm    Post subject: Reply with quote

emerge -pv =sys-kernel/gentoo-kernel-bin-6.10.12

EDIT: Maybe you need to sync. I don't know how long 6.12 has been around.
_________________
I spent a christmas in Vienna twenty something years ago. It was a beautiful city. Everyone was so friendly.
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Thu Oct 03, 2024 3:10 pm    Post subject: Reply with quote

steveo314 wrote:
I get the error emerge: there are no ebuilds to satisfy


Are you sure your Portage tree is up to date?

Code:
# emaint sync -a


or

Code:
# emerge --sync
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22693

PostPosted: Thu Oct 03, 2024 3:11 pm    Post subject: Reply with quote

It was added recently:
Code:
commit aac06c61e496a2395c14426aaad74677b39d9cdf
Author: Michał Górny <mgorny@gentoo.org>
Date:   Mon Sep 30 21:54:51 2024 +0200

    sys-kernel/gentoo-kernel-bin: Bump to 6.10.12
OP: what is the output of emerge --info ; emerge -pv '=gentoo-kernel-bin-6.10*'?
Back to top
View user's profile Send private message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 55

PostPosted: Thu Oct 03, 2024 3:18 pm    Post subject: Reply with quote

Hu wrote:
It was added recently:
Code:
commit aac06c61e496a2395c14426aaad74677b39d9cdf
Author: Michał Górny <mgorny@gentoo.org>
Date:   Mon Sep 30 21:54:51 2024 +0200

    sys-kernel/gentoo-kernel-bin: Bump to 6.10.12
OP: what is the output of emerge --info ; emerge -pv '=gentoo-kernel-bin-6.10*'?


running an emerge --sync now. emerge --info ; emerge -pv '=gentoo-kernel-bin-6.10*' mentions 6.10.11 as the newest. Got this error though
Code:
!!! All ebuilds that could satisfy "=sys-kernel/gentoo-kernel-bin-6.10.11" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-kernel-bin-6.10.11::gentoo (masked by: ~amd64 keyword)



After the sync, this emerge --info ; emerge -pv '=gentoo-kernel-bin-6.10*' yields:
Code:
!!! All ebuilds that could satisfy "=sys-kernel/gentoo-kernel-bin-6.10*" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-kernel-bin-6.10.12::gentoo (masked by: ~amd64 keyword)
- sys-kernel/gentoo-kernel-bin-6.10.11::gentoo (masked by: ~amd64 keyword)


Rusty on Gentoo atm. Thank you for the help and making me see the light everyone.
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Thu Oct 03, 2024 3:24 pm    Post subject: Reply with quote

You need to add

Code:
sys-kernel/gentoo-kernel-bin::gentoo


to your package.accept_keywords since any 6.10 revision is (~) testing.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5119
Location: Bavaria

PostPosted: Thu Oct 03, 2024 3:35 pm    Post subject: Reply with quote

... don't forget the linux-headers ... :lol:

-> https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Selecting_a_convenient_kernel_version
_________________
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 Kernel & Hardware 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