Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87290 - 'emerge -pDu world' wants to emerge hardened-sources for no reason
Summary: 'emerge -pDu world' wants to emerge hardened-sources for no reason
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 08:42 UTC by A. Person
Modified: 2005-03-30 14:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2005-03-30 08:42:38 UTC
'emerge -pDu world' wants to emerge sys-kernel/hardened-sources-2.4.28-r5.  I do have hardened-dev-sources in my world file, but not hardened-sources.

Reproducible: Always
Steps to Reproduce:
1.emerge -pDu world
2.
3.

Actual Results:  
[ebuild  NS   ] sys-kernel/hardened-sources-2.4.28-r5

Expected Results:  
not
Comment 1 Carlos Silva (RETIRED) gentoo-dev 2005-03-30 12:18:57 UTC
That's because the 2005.0 profile.
In 2005.0 profile all the *-dev-* kernel's (including development-sources) will be taken out in substitution of the "no-dev" versions. (vanilla-sources in the case of development-sources)

Can you please confirm if he wants to emerge a 2.6 kernel?
Comment 2 A. Person 2005-03-30 12:29:55 UTC
Hi Carlos,

Then if I want a 2.6 hardened kernel I should change my world file to read 'sys-kernel/hardened-sources' and unmask 2.6.11-r1 ?

- Grant
Comment 3 Carlos Silva (RETIRED) gentoo-dev 2005-03-30 13:34:10 UTC
Yes. But don't edit the world file. Just emerge hardened-sources, recompile the kernel and then emerge -C hardened-dev-sources. If all goes ok you can close this bug :)
Comment 4 A. Person 2005-03-30 13:55:40 UTC
I can't seem to get it to emerge 2.6.11-r1 unless I specify hardened-dev-sources.  I have:

=sys-kernel/hardened-sources-2.6.11-r1

in package.unmask and 'emerge -p hardened-sources' still wants to install:

[ebuild  NS   ] sys-kernel/hardened-sources-2.4.28-r5

- Grant
Comment 5 Carlos Silva (RETIRED) gentoo-dev 2005-03-30 14:02:14 UTC
In /etc/portage/package.unmask just put "sys-kernel/hardened-sources"
after that, confirm that /etc/make.profile links to the right profile:
/usr/portage/profiles/default-linux/x86/2005.0 (in case you are using x86)

then try to emerge again.
Comment 6 A. Person 2005-03-30 14:12:14 UTC
Nice!  Thank you!  I had the following link:

lrwxrwxrwx  1 root root 36 Sep 15  2004 /etc/make.profile -> ../usr/portage/profiles/hardened/x86

which has now been updated and emerge world doesn't want to install 2.4 and does want to install these:

[ebuild     U ] sys-kernel/linux-headers-2.6.8.1-r2
[ebuild  N    ] sys-apps/hdparm-5.7-r1

Closing....
Comment 7 Carlos Silva (RETIRED) gentoo-dev 2005-03-30 14:20:31 UTC
no problem :)