Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
why this 6.6.74 appear?
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
youxiaojie
n00b
n00b


Joined: 25 Jan 2025
Posts: 8

PostPosted: Sun Feb 02, 2025 10:30 am    Post subject: why this 6.6.74 appear? Reply with quote

I
emerge -- sync
emerge -uD
but I found a src directory have 6.6.74 source code, but I emerge -s linux,does not show 6.6.74 kernel, why it appeared?

emerge -s kernel
sys-kernel/gentoo-kernel
Latest version available: 6.6.67
Latest version installed: 6.6.67
Size of files: 141023 KiB
Honepage:https://wikl.gentoo.org/wiki/ProJect:Distributlon Kernel https://wu.kernel.org/
Description:Linx kernel built with Gentoo patches

GentooDesktop /usr/src # eselect kernel list
Auailable kernel symlink targets:
[1]linux-6.6.67-gentoo
[2]linux-6.6.67-gentoo-dist
[3]linux-6.6.74-gentoo
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5366
Location: Bavaria

PostPosted: Sun Feb 02, 2025 12:07 pm    Post subject: Re: why this 6.6.74 appear? Reply with quote

youxiaojie wrote:
[...] but I found a src directory have 6.6.74 source code, but I emerge -s linux,does not show 6.6.74 kernel, why it appeared?

We have two ways for installing a kernel:

a) Using an automated pre-configured kernel - our Gentoo distribution kernel. This is package "sys-kernel/gentoo-kernel" (or the compiled version of it as "sys-kernel/gentoo-kernel-bin"). This will give you later the directory: /usr/src/linux-6.X.Y-gentoo-dist. In "eselect kernel list" you see it as:
Code:
[2]linux-6.6.67-gentoo-dist

look at the -dist ;-)

b) Using the souces for a manually configuration of the kernel. This is package "sys-kernel/gentoo-sources". This will give you later the directory: /usr/src/linux-6.X.Y-gentoo. In "eselect kernel list" you see it as:
Code:
[1]linux-6.6.67-gentoo

look at the missing -dist 8)

So, in the past you have installed both ... and later you have removed the distribution kernel in your /var/lib/portage/world. I guess you now have there only the entry:
Code:
sys-kernel/gentoo-sources

and so a world-update handles only the gentoo-sources package.

(BTW: emerge -s linux does not show your kernels)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
youxiaojie
n00b
n00b


Joined: 25 Jan 2025
Posts: 8

PostPosted: Sun Feb 02, 2025 12:41 pm    Post subject: Re: why this 6.6.74 appear? Reply with quote

emerge -s kernel
sys-kernel/gentoo-kernel
Latest version available: 6.6.67
Latest version installed: 6.6.67

there shows installed 6.6.67, yes,I installed gentoo-source to compile 486version kernel for another vintage 486.

so how to remove outdated stuff?
and eselect show this three kernel
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