Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo-sources masked by: missing keyword [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Kilnr
n00b
n00b


Joined: 05 Aug 2008
Posts: 3

PostPosted: Tue Aug 05, 2008 10:43 am    Post subject: Gentoo-sources masked by: missing keyword [SOLVED] Reply with quote

I'm currently trying to install Gentoo from within Debian. I untarred the stage3 and portage tarballs, and generally followed the handbook up until part 7.b. When I try to emerge gentoo-sources, i get:
Code:
Calculating dependencies |
!!! All ebuilds that could satisfy "sys-kernel/gentoo-sources" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-sources-2.6.26 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r7 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r6 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r5 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r4 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r3 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r2 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r1 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.24-r8 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.24-r4 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.24-r3 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.23-r9 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.22-r10 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.20-r10 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.16-r13 (masked by: missing keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.


I checked the man page, but that didn't really help. I suspect it's because I made the /etc/make.profile link wrong. When I had previously installed Gentoo (2007.0) I would link to something to the effect of "/usr/portage/profiles/default/linux/x86/2008.0/desktop/", but now in 2008.0, there isn't any make.defaults file in this dir. There is however a parents file that contains "../../../../../targets/desktop". I cd'd to that dir, where there was a make.defaults file, so I used that dir to link make.profile to.

Emerging gentoo-sources now didn't work, and gave my the error above. Then I noticed I could still use the x86/2007.0/desktop/make.defaults file, and now emerging gentoo-sources does work.

What's the matter here?


Last edited by Kilnr on Wed Aug 06, 2008 9:18 am; edited 1 time in total
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Tue Aug 05, 2008 11:11 am    Post subject: Reply with quote

could it be that you destroyed the target dir by making a symlink in the wrong direction? like
Code:
# cd /etc
# ln -s make.defaults /usr/portage/profiles/default/linux/x86/2008.0/desktop/
# ln -s /usr/portage/profiles/default/linux/x86/2008.0/desktop/ make.defaults

double check the content of the directories in question, maybe post the output of "# ls -lR /usr/portage/profiles/default/linux/x86/" and "# ls -l /etc/"
Back to top
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4546
Location: Suzhou, China

PostPosted: Tue Aug 05, 2008 2:13 pm    Post subject: Reply with quote

Using eselect profile is so much easier :wink:
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2249
Location: Netherlands

PostPosted: Tue Aug 05, 2008 3:35 pm    Post subject: Reply with quote

Hi kilnr,
This is my profile,have been using it for a while.
Code:

[9]   default/linux/x86/2008.0/desktop *

Have been using it for quite a while only one problem.
Not with emerging anything but with "ufed".
It wasn't working right with 2008 profiles.
That's been solved however.
I also use this profile on a 64 bit install.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Kilnr
n00b
n00b


Joined: 05 Aug 2008
Posts: 3

PostPosted: Tue Aug 05, 2008 5:15 pm    Post subject: Reply with quote

yngwin wrote:
Using eselect profile is so much easier :wink:

I used that to select the 2008.0 desktop profile, and it worked, so does emerging gentoo-sources. But what about the default USE flags that should be in the profile? I don't have a make.defaults file in that profile, so where does it get the default USE flags? :/

Anyway, thanks a lot already. :)
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2249
Location: Netherlands

PostPosted: Tue Aug 05, 2008 6:06 pm    Post subject: Reply with quote

It does get it from /../../../../targets/desktop AFAIK.
You can add more with ufed.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Kilnr
n00b
n00b


Joined: 05 Aug 2008
Posts: 3

PostPosted: Tue Aug 05, 2008 6:19 pm    Post subject: Reply with quote

Gerard van Vuuren wrote:
It does get it from /../../../../targets/desktop AFAIK.
You can add more with ufed.
Gerard.

Yeah, it does seem to get it from that file. When I run ufed, it has already quite a bit of flags enabled, so they're probably from there.

And thanks for mentioning ufed. I always did it by hand. Ufed is easier. :)
Back to top
View user's profile Send private message
Absorbed
n00b
n00b


Joined: 28 Sep 2008
Posts: 2

PostPosted: Sun Sep 28, 2008 7:27 pm    Post subject: Reply with quote

I'm having exactly the same problem, but I'm unsure how to fix it. I'm trying Gentoo for the first time, working through the x86 handbook by using the 2008.0 livecd. It's all gone swimmingly until I did emerge gentoo-sources:

Code:
(chroot) livecd 2008.0 # emerge gentoo-sources
Calculating dependencies |
!!! All ebuilds that could satisfy "sys-kernel/gentoo-sources" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-sources-2.6.26-r1 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.26 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r8 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r7 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r6 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r5 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r4 (masked by: missing keyword)
- sys-kernel/gentoo-sources-2.6.25-r3 (masked by: missing keyword)
etc....


My profile was sym linked like so:
Code:
ln -snf /usr/portage/profiles/targets/desktop/ /etc/make.profile


I also tried changing it back to the original link to /usr/portage/profiles/releases/2008.0/ to no avail.

Incidentally, I tried to emerge eselect, and I got the same missing keyword message. When I did emerge --sync earlier, however, everything worked fine.
Back to top
View user's profile Send private message
Absorbed
n00b
n00b


Joined: 28 Sep 2008
Posts: 2

PostPosted: Sun Sep 28, 2008 7:46 pm    Post subject: Reply with quote

Right, well, rather stupidly I tried Gerard van Vuuren's suggestion to symlink /etc/make.profile to /usr/portage/profiles/default/linux/x86/2008.0/desktop *after* I posted, and now emerge gentoo-sources is working.

*Absorbed walks away sullenly...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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