1 |
Kristian Bisgaard Lassen wrote: |
2 |
> Hi, |
3 |
> |
4 |
> How do I emerge Java 1.5.0 without emerging it from /usr/portage. I have |
5 |
> tried to put an entry like this |
6 |
> |
7 |
> >=dev-java/sun-sdk-1.5.0 ~x86 (maybe the actual ebuild name is not |
8 |
> correct) |
9 |
> |
10 |
> in my /etc/portage/package.unmask. I also tried to put in my |
11 |
> /etc/portage/package.keywords. |
12 |
> |
13 |
> Any suggestions? |
14 |
> |
15 |
|
16 |
First of all: There's no such ebuild "sun-sdk". It's called "sun-jdk". |
17 |
|
18 |
For 1.5.0 you need to have it in both package.keywords _and_ package.unmask: |
19 |
# echo "=dev-java/sun-jdk-1.5.0 ~x86" >> /etc/portage/package.keywords |
20 |
# echo "=dev-java/sun-jdk-1.5.0" >> /etc/portage/package.unmask |
21 |
# echo "=dev-java/java-sdk-docs-1.5.0 ~x86" >> /etc/portage/package.keywords |
22 |
# echo "=dev-java/java-sdk-docs-1.5.0" >> /etc/portage/package.unmask |
23 |
|
24 |
That did the trick on my boxed, synced this morning. |
25 |
|
26 |
It applies only to java-sdk-docs, if you have doc in your USE-flags. |
27 |
|
28 |
HTH, regards |
29 |
Felix |