Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426900 - app-admin/eselect - add a (set) "latest" keyword to select the latest version available
Summary: app-admin/eselect - add a (set) "latest" keyword to select the latest version...
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo eselect Team
Depends on:
Reported: 2012-07-16 19:56 UTC by Toralf Förster
Modified: 2012-07-20 18:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2012-07-16 19:56:57 UTC
Currently I'm doing something like :

$> eselect kernel set `eselect kernel list | tail -n 1 | cut -f2 -d '[' | cut -f1 -d ']'`

/me wonders whether a functionality for that is helpful for many others or not

Reproducible: Always
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-07-17 23:17:04 UTC
I don't understand what you are trying to achieve or what you are proposing in this bug
Comment 2 Toralf Förster gentoo-dev 2012-07-18 11:37:23 UTC
(In reply to comment #1)
> I don't understand what you are trying to achieve or what you are proposing
> in this bug

Currently I've 3 vanilla kernels - the latest is always my preferred choice :

tfoerste@n22 ~ $ ls -l /usr/src/
total 16
lrwxrwxrwx  1 root root   11 Jul 16 21:59 linux -> linux-3.4.x
drwxrwxr-x 24 root root 4096 Jul 16 19:34 linux-3.0.x
drwxrwxr-x 24 root root 4096 Jul 15 11:05 linux-3.2.x
drwxr-xr-x 24 root root 4096 Jul 16 21:07 linux-3.4.x
drwxr-xr-x  7 root root 4096 Aug 18  2011 rpm

However I still do follow the other stable kernels, meaning I've to recompiled virtualbox-modules every time. With "Last" I meant therefore "linux-3.4.x" until 3.5 comes out.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2012-07-18 18:37:08 UTC
But this is always the case isn't it? once you update your kernel, the symlink will point to the last one
Comment 4 Toralf Förster gentoo-dev 2012-07-18 18:52:40 UTC
Well, I've to "eselect kernel set X" to compile the virtual modules for the other kernels too (and sometimes I do not reset it immediately afterwards).
And using "last" would not net for me to know how many kernels I do have installed currently.

BTW I'm using this :
tfoerste@n22 /etc/portage $ cat profile/package.provided 

and I do install the vanilla kernels from the git tree.

nevertheless - this bug entry is only a RFC - might be I'm special.
Comment 5 Ulrich Müller gentoo-dev 2012-07-20 18:06:34 UTC
This has been discussed before, and the conclusion was that there's no reliable way to find out what kernel would qualify as latest. For example, users may have vanilla-sources installed along with gentoo-sources.