Gentoo wants to install gentoo-sources

I run Gentoo on my Linode. It seems that some recent change to Gentoo has resulting in emerge wanting to install gentoo-sources, whereas this wasn't the case before.

Has anyone seen this problem and know how to overcome it.

emerge -pDu world

These are the packages that I would merge, in order:

Calculating world dependencies …done!

[ebuild N ] sys-kernel/gentoo-sources-2.6.15-r1

4 Replies

Try passing emerge the -t option when you use -p - that displays them in a tree format and should be able to let you know what's wanting gentoo-sources.

The sources seem to be part of the system as in

emerge -pvuD system

which you get when you do

emerge -pvuD world

You'll probably need to mask them out. I don't suppose you'll need the sources to build the kernel, because the linode people create the kernels for us. But, some packages may require the sources to build. In that case, you'll need them to build that package. But, you'll probably have to configure a new kernel too.

Try this to make it out…

echo ">sys-kernel/gentoo-sources-2.6.15-r1" >> /etc/portage/package.mask
emerge -pvuD world

cheers

@genode:

The sources seem to be part of the system as in

emerge -pvuD system

which you get when you do

emerge -pvuD world

You'll probably need to mask them out. I don't suppose you'll need the sources to build the kernel, because the linode people create the kernels for us. But, some packages may require the sources to build. In that case, you'll need them to build that package. But, you'll probably have to configure a new kernel too.

Try this to make it out…

echo ">sys-kernel/gentoo-sources-2.6.15-r1" >> /etc/portage/package.mask
emerge -pvuD world

cheers

Easier. :)

I use 'sys-kernel/gentoo-sources' in /etc/portage/package.mask so that it masks out all versions of gentoo-sources automagically. ;)

Cheers.

Did something change in Gentoo that required this? I'm sure my Linode never needed gentoo-sources from the time I joined, several months ago.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct