public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Unmask Java 1.5.0
@ 2004-12-07 13:37 Kristian Bisgaard Lassen
  2004-12-07 14:16 ` Felix Tiede
  0 siblings, 1 reply; 3+ messages in thread
From: Kristian Bisgaard Lassen @ 2004-12-07 13:37 UTC (permalink / raw
  To: gentoo-user

Hi,

How do I emerge Java 1.5.0 without emerging it from /usr/portage. I have 
tried to put an entry like this

  >=dev-java/sun-sdk-1.5.0 ~x86 (maybe the actual ebuild name is not 
correct)

in my /etc/portage/package.unmask. I also tried to put in my 
/etc/portage/package.keywords.

Any suggestions?

Best regards,
    Kristian Bisgaard Lassen

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Unmask Java 1.5.0
  2004-12-07 13:37 [gentoo-user] Unmask Java 1.5.0 Kristian Bisgaard Lassen
@ 2004-12-07 14:16 ` Felix Tiede
  2004-12-07 15:32   ` Matan Peled
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Tiede @ 2004-12-07 14:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

Kristian Bisgaard Lassen wrote:
> Hi,
> 
> How do I emerge Java 1.5.0 without emerging it from /usr/portage. I have 
> tried to put an entry like this
> 
>  >=dev-java/sun-sdk-1.5.0 ~x86 (maybe the actual ebuild name is not 
> correct)
> 
> in my /etc/portage/package.unmask. I also tried to put in my 
> /etc/portage/package.keywords.
> 
> Any suggestions?
> 

First of all: There's no such ebuild "sun-sdk". It's called "sun-jdk".

For 1.5.0 you need to have it in both package.keywords _and_ package.unmask:
# echo "=dev-java/sun-jdk-1.5.0 ~x86" >> /etc/portage/package.keywords
# echo "=dev-java/sun-jdk-1.5.0" >> /etc/portage/package.unmask
# echo "=dev-java/java-sdk-docs-1.5.0 ~x86" >> /etc/portage/package.keywords
# echo "=dev-java/java-sdk-docs-1.5.0" >> /etc/portage/package.unmask

That did the trick on my boxed, synced this morning.

It applies only to java-sdk-docs, if you have doc in your USE-flags.

HTH, regards
Felix


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Unmask Java 1.5.0
  2004-12-07 14:16 ` Felix Tiede
@ 2004-12-07 15:32   ` Matan Peled
  0 siblings, 0 replies; 3+ messages in thread
From: Matan Peled @ 2004-12-07 15:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]

Felix Tiede wrote:

> Kristian Bisgaard Lassen wrote:
>
>> Hi,
>>
>> How do I emerge Java 1.5.0 without emerging it from /usr/portage. I 
>> have tried to put an entry like this
>>
>>  >=dev-java/sun-sdk-1.5.0 ~x86 (maybe the actual ebuild name is not 
>> correct)
>>
>> in my /etc/portage/package.unmask. I also tried to put in my 
>> /etc/portage/package.keywords.
>>
>> Any suggestions?
>>
>
> First of all: There's no such ebuild "sun-sdk". It's called "sun-jdk".
>
> For 1.5.0 you need to have it in both package.keywords _and_ 
> package.unmask:
> # echo "=dev-java/sun-jdk-1.5.0 ~x86" >> /etc/portage/package.keywords
> # echo "=dev-java/sun-jdk-1.5.0" >> /etc/portage/package.unmask
> # echo "=dev-java/java-sdk-docs-1.5.0 ~x86" >> 
> /etc/portage/package.keywords
> # echo "=dev-java/java-sdk-docs-1.5.0" >> /etc/portage/package.unmask
>
> That did the trick on my boxed, synced this morning.
>
> It applies only to java-sdk-docs, if you have doc in your USE-flags.
>
> HTH, regards
> Felix
>
Right.


Note that one of the problems was that the "~x86" part is unneccesary in 
package.unmask - so make sure you do not have any faulty entries there.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-07 15:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07 13:37 [gentoo-user] Unmask Java 1.5.0 Kristian Bisgaard Lassen
2004-12-07 14:16 ` Felix Tiede
2004-12-07 15:32   ` Matan Peled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox