View previous topic :: View next topic |
Author |
Message |
youxiaojie n00b
Joined: 25 Jan 2025 Posts: 8
|
Posted: Sun Feb 02, 2025 10:30 am Post subject: why this 6.6.74 appear? |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5366 Location: Bavaria
|
Posted: Sun Feb 02, 2025 12:07 pm Post subject: Re: why this 6.6.74 appear? |
|
|
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
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 |
|
|
youxiaojie n00b
Joined: 25 Jan 2025 Posts: 8
|
Posted: Sun Feb 02, 2025 12:41 pm Post subject: Re: why this 6.6.74 appear? |
|
|
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 |
|
|
|