View previous topic :: View next topic |
Author |
Message |
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Sat Jun 09, 2018 2:21 pm Post subject: [SOLVED] Portage: Where are the gentoo (kernel) sources? |
|
|
Hallo guys.
After using Sabayon for a long while, I will start to use pure Gentoo.
So, I visited the (German version of) Gentoo handbook to install Gentoo on a laptop.
Despite some essential problems like locale (cannot change to German keyboard),
I decided to select the profile: default/linux/amd64/17.0/systemd (stable).
I achieved to create a bootable hard disk (no UEFI) and when I wanted to choose a kernel (source) with Code: | emerge --ask sys-kernel/gentoo-sources |
then I only receive one result: Code: | [ebuild R ] sys-kernel/gentoo-sources-4.9.95 |
Anyway, I installed and compiled these sources with
Code: | make menuconfig
make
make install |
I did not use genkernel because I have a single btrfs partition, for root (/) and everything among,
so, no separate partition else. And, after creating and installing grub, I could boot into a terminal.
So my question is: Where are all the other (Gentoo) kernel sources, 4.10 or up?
Thank you in advance.
-Linuxfluesterer
Last edited by linuxfluesterer on Tue Jun 26, 2018 1:13 pm; edited 4 times in total |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat Jun 09, 2018 2:33 pm Post subject: |
|
|
Portage always installs the latest unmasked version, so one version is all you ever get because there's always only one latest version. To answer your question, all the other versions are there: Code: | ~ # equery list -p '>gentoo-sources-4.9.95'
* Searching for >gentoo-sources-4.9.95 ...
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.96:4.9.96
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.97:4.9.97
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.98:4.9.98
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.99:4.9.99
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.100:4.9.100
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.101:4.9.101
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.102:4.9.102
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.103:4.9.103
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.105:4.9.105
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.106:4.9.106
[-P-] [ ~] sys-kernel/gentoo-sources-4.9.107:4.9.107
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.34:4.14.34
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.35:4.14.35
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.36:4.14.36
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.37:4.14.37
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.38:4.14.38
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.39:4.14.39
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.40:4.14.40
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.41:4.14.41
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.42:4.14.42
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.43:4.14.43
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.44:4.14.44
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.47:4.14.47
[-P-] [ ~] sys-kernel/gentoo-sources-4.14.48:4.14.48
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.3:4.16.3
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.4:4.16.4
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.5:4.16.5
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.6:4.16.6
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.7:4.16.7
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.8:4.16.8
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.9:4.16.9
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.10:4.16.10
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.11:4.16.11
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.12:4.16.12
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.13:4.16.13
[-P-] [ ~] sys-kernel/gentoo-sources-4.16.14:4.16.14
[-P-] [ ~] sys-kernel/gentoo-sources-4.17.0:4.17.0 |
As to why all the later versions are currently masked, see this.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Sat Jun 09, 2018 4:07 pm Post subject: How to unmasked gentoo-sources? |
|
|
Ok, John, thank you.
I installed app-portage/gentoolkit and could execute your command equery then.
And now, how to unmask the 'masked' sources and then to install?
I tried to install with:
Code: | emerge --ask sys-kernel/gentoo-sources-4.17.0 |
and received this:
Code: | !!! 'sys-kernel/gentoo-sources-4.17.0' is not a valid package atom. |
I mean, the post with the reasons for the masking was in December of last year.
Now, we have June 2018 and latest version of Kernel is 4.17.
And, in Sabayon, Kernel 4.16 is published in standard repo.
Thanks again.
-Linuxfluesterer |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Sat Jun 09, 2018 6:11 pm Post subject: |
|
|
linuxfluesterer,
If you want to give a version to emerge use a comparison operator too.
Code: | emerge --ask =sys-kernel/gentoo-sources-4.17.0 |
That will get rid of the Code: | !!! 'sys-kernel/gentoo-sources-4.17.0' is not a valid package atom. | error.
As sys-kernel/gentoo-sources-4.17.0 is keyword masked, you will need to keyword it.
Wen you keyword sys-kernel/gentoo-sources (without a version) you will always be offered the latest testing version. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Fri Jun 15, 2018 3:39 pm Post subject: |
|
|
NeddySeagoon wrote: | linuxfluesterer,
If you want to give a version to emerge use a comparison operator too.
Code: | emerge --ask =sys-kernel/gentoo-sources-4.17.0 |
That will get rid of the Code: | !!! 'sys-kernel/gentoo-sources-4.17.0' is not a valid package atom. | error.
As sys-kernel/gentoo-sources-4.17.0 is keyword masked, you will need to keyword it.
Wen you keyword sys-kernel/gentoo-sources (without a version) you will always be offered the latest testing version. |
So sad to say. I acheived to get rid of the message "sys-kernel/gentoo-sources-4.17.0' is not a valid package atom." and could install this kernel.
Well, I thought, learned again something. Ok, then I checked for new sources with: Code: | eshowkw gentoo-sources | and saw, there is a new kernel-source for 4.17.1.
So, I want to (for distcc test) emerge the source codes for gentoo-sources-4.17.1, and, believe it or not, I received the same error:
Code: | sys-kernel/gentoo-sources-4.17.1' is not a valid package atom. |
I'm not sure, I did update all necessary files... What else can I have forgotten to do?
-Linuxfluesterer |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Jun 15, 2018 4:01 pm Post subject: |
|
|
Show the command line which elicited the error for one thing. It's likely you repeated the same mistake.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Jun 15, 2018 4:13 pm Post subject: |
|
|
linuxfluesterer wrote: | So, I want to (for distcc test) emerge the source codes for gentoo-sources-4.17.1, and, believe it or not, I received the same error:
Code: | sys-kernel/gentoo-sources-4.17.1' is not a valid package atom. |
|
linuxfluesterer ... a "valid package atom" is one of the following:
Code: | # emerge --ask =sys-kernel/gentoo-sources-4.17.1
# emerge --ask sys-kernel/gentoo-sources:4.17.1
# emerge --ask sys-kernel/gentoo-sources
# emerge --ask gentoo-sources |
Note the "=" in the first example ... which is required as (it seems) you're providing 'version'. There are also situations in which 'slots' are valid atoms (as seen in the second example), so 'python:2.7' is valid, but 'dev-lang/python-2.7.14-r1' would not be (as it's missing the '=' anchor).
HTH & best ... khay |
|
Back to top |
|
|
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Fri Jun 15, 2018 4:35 pm Post subject: |
|
|
khayyam wrote: | linuxfluesterer wrote: | So, I want to (for distcc test) emerge the source codes for gentoo-sources-4.17.1, and, believe it or not, I received the same error:
Code: | sys-kernel/gentoo-sources-4.17.1' is not a valid package atom. |
|
linuxfluesterer ... a "valid package atom" is one of the following:
Code: | # emerge --ask =sys-kernel/gentoo-sources-4.17.1
# emerge --ask sys-kernel/gentoo-sources:4.17.1
# emerge --ask sys-kernel/gentoo-sources
# emerge --ask gentoo-sources |
Note the "=" in the first example ... which is required as (it seems) you're providing 'version'. There are also situations in which 'slots' are valid atoms (as seen in the second example), so 'python:2.7' is valid, but 'dev-lang/python-2.7.14-r1' would not be (as it's missing the '=' anchor).
HTH & best ... khay |
Oh, what a shame, my mistake. I wrote a slash in the package's name -> sys/kernel.... instead of a minus '-'. Now I corrected to:
Code: | emerge --ask sys-kernel/gentoo-sources:4.17.1 |
...and, what wonder, now the sources appear and can be merged. I'm really sorry, and thank you for patience and good advice.
-Linuxfluesterer |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Fri Jun 15, 2018 4:40 pm Post subject: |
|
|
khayyam wrote: | linuxfluesterer ... a "valid package atom" is one of the following:
Code: | # emerge --ask =sys-kernel/gentoo-sources-4.17.1
# emerge --ask sys-kernel/gentoo-sources:4.17.1
# emerge --ask sys-kernel/gentoo-sources
# emerge --ask gentoo-sources |
|
Also
Code: | # emerge --ask =gentoo-sources-4.17.1 |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Fri Jun 15, 2018 6:27 pm Post subject: |
|
|
John R. Graham wrote: | Portage always installs the latest unmasked version, so one version is all you ever get because there's always only one latest version. To answer your question, all the other versions are there:[code] ~ # equery list -p '>gentoo-sources-4.9.95'
* Searching for >gentoo-sources-4.9.95 ...
As to why all the later versions are currently masked, see this.
- John |
This discussion is ancient. There is 4.14 stabilization bug opened in early March when that gcc issue was solved. For the last month or so there is just simply no action, while all issues seems have been resolved.
https://bugs.gentoo.org/649198 |
|
Back to top |
|
|
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Fri Jun 15, 2018 9:34 pm Post subject: |
|
|
Jaglover wrote: | You better keyword gentoo-sources if you want the latest. When you do not use --oneshot the kernel version will go into world file, you may not want this. |
I'm not sure where to tell --oneshot.
But I understand, that the search will be extended into the world file, another repository, I assume.
-Linuxfluesterer |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Sun Jun 17, 2018 4:35 am Post subject: |
|
|
linuxfluesterer wrote: | Jaglover wrote: | You better keyword gentoo-sources if you want the latest. When you do not use --oneshot the kernel version will go into world file, you may not want this. |
I'm not sure where to tell --oneshot.
But I understand, that the search will be extended into the world file, another repository, I assume.
-Linuxfluesterer |
Just on the command line
emerge --oneshot gentoo-sources-.... |
|
Back to top |
|
|
linuxfluesterer Tux's lil' helper
Joined: 06 Jan 2016 Posts: 130 Location: Germany
|
Posted: Sun Jun 17, 2018 10:25 am Post subject: |
|
|
dmpogo wrote: |
Just on the command line
emerge --oneshot gentoo-sources-.... |
Ok, thanks again.
-Linuxfluesterer |
|
Back to top |
|
|
|