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