Oracle Java [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Oracle Java [Solved]

Postby heathen » Tue Mar 19, 2013 9:13

Oracle keeps wanting me to update to the newest Jre 1.7.0._17. I looked into it and the newest version available in the weekly repo is 1.7.0_9, which is what I have. That's 5 updates behind. Is there something in the works, or should I put in a bug request? Have yet to use the bug reports, I'm sure my day is coming soon. :P
Last edited by heathen on Wed Mar 27, 2013 5:15, edited 1 time in total.
just wandering around and poking stuff with sticks...
heathen
Growing Hen
 
Posts: 108
Joined: Fri Mar 08, 2013 19:44
Location: Arizona

Re: Oracle Java

Postby Matte88 » Tue Mar 19, 2013 16:45

You can use Portage, if know what to do. If support is needed ask here, but remember that Portage is not the official package manager in Sabayon.
Code: Select all
emerge -pv =dev-java/oracle-jre-bin-1.7.0.17
Image
When I became the sun,
I shone life into the man's hearts.
Matte88
Technological Hen
 
Posts: 399
Joined: Wed Dec 29, 2010 14:37
Location: @/etc/entropy/repositories.conf.d/entropy_sabayon-limbo

Re: Oracle Java

Postby heathen » Tue Mar 19, 2013 18:05

Code: Select all
emerge: there are no ebuilds to satisfy "=dev-java/oracle-jre-bin-1.7.0.17".


I'm assuming this means there are no dependencies for it. Maybe I should wait a little while?
just wandering around and poking stuff with sticks...
heathen
Growing Hen
 
Posts: 108
Joined: Fri Mar 08, 2013 19:44
Location: Arizona

Re: Oracle Java

Postby anomaly65 » Tue Mar 19, 2013 22:58

Hi!

You'll need to perform as root:

Code: Select all
emerge --sync


which updates the portage tree and thus all the packages available via portage/emerge.

Good luck!!
andy
--
Use handrails on stairs. A nasty fall face first changes your point of view quickly, and mine permanently :-)
anomaly65
Technological Hen
 
Posts: 302
Joined: Sat Nov 17, 2007 15:37

Re: Oracle Java

Postby heathen » Wed Mar 20, 2013 1:58

Thankyou! I did that and then ran -pv again. What does this mean exactly? I don't quite understand what this is telling me to do:

Code: Select all
The following license changes are necessary to proceed:
 (see "package.license" in the portage(5) man page for more details)
# required by =dev-java/oracle-jre-bin-1.7.0.17 (argument)
>=dev-java/oracle-jre-bin-1.7.0.17 Oracle-BCLA-JavaSE

!!! The following installed packages are masked:
- net-wireless/broadcom-sta-5.100.82.112-r2::sabayon (masked by: Broadcom license(s))
A copy of the 'Broadcom' license is located at '/usr/portage/licenses/Broadcom'.

- www-plugins/adobe-flash-11.2.202.262::gentoo (masked by: AdobeFlash-10.3 license(s))
A copy of the 'AdobeFlash-10.3' license is located at '/usr/portage/licenses/AdobeFlash-10.3'.

- dev-python/pysqlite-2.6.3::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <[email protected]>
# Unmaintained and replaced by built-in sqlite3 module in Python.
# Masked for removal in 30 days, bug 452122.


Not sure how to 'change licenses' and if and why those packages need to be unmasked?
just wandering around and poking stuff with sticks...
heathen
Growing Hen
 
Posts: 108
Joined: Fri Mar 08, 2013 19:44
Location: Arizona

Re: Oracle Java

Postby Matte88 » Wed Mar 20, 2013 11:49

heathen wrote:Thankyou! I did that and then ran -pv again. What does this mean exactly? I don't quite understand what this is telling me to do:

Code: Select all
The following license changes are necessary to proceed:
 (see "package.license" in the portage(5) man page for more details)
# required by =dev-java/oracle-jre-bin-1.7.0.17 (argument)
>=dev-java/oracle-jre-bin-1.7.0.17 Oracle-BCLA-JavaSE

Isn't Portage suggesting you to use?
Code: Select all
--autounmask-write

$ man portage
Code: Select all
package.license
                This will allow ACCEPT_LICENSE (see make.conf(5)) to be aug‐
                mented for a single package.

                Format:
                - comment lines begin with # (no inline comments)
                - one DEPEND atom per line followed by additional licenses or groups

$ man make.conf
Code: Select all
ACCEPT_LICENSE = [space delimited list of licenses or groups]
              This variable is used to mask packages based on licensing restric‐
              tions. It may contain both license and group names, where group names
              are prefixed with the '@' symbol. License groups are defined in the
              license_groups file (see portage(5)). In addition to license and group
              names, the * and -* wildcard tokens are also supported. Refer to GLEP
              23 for further information: http://www.gen‐
              too.org/proj/en/glep/glep-0023.html.
              Defaults to the value of * [email protected]
              Examples:
              # Only accept licenses in the FREE license group (i.e. Free Software)
              ACCEPT_LICENSE="-* @FREE"
              # As before, but exclude the "Artistic" license
              ACCEPT_LICENSE="-* @FREE -Artistic"
              # Accept any license except those in the EULA license group (default)
              ACCEPT_LICENSE="* [email protected]"

Licenses explained in official Gentoo Handbook
Licenses expalined in unofficial Gentoo wiki

A quick-dirty-easy solution would be to enable ALL licenses. To do so, insert the following line in you /etc/make.conf
Code: Select all
ACCEPT_LICENSE="*"
Image
When I became the sun,
I shone life into the man's hearts.
Matte88
Technological Hen
 
Posts: 399
Joined: Wed Dec 29, 2010 14:37
Location: @/etc/entropy/repositories.conf.d/entropy_sabayon-limbo

Re: Oracle Java

Postby heathen » Wed Mar 27, 2013 5:14

Well, life distracted me and I didn't get to it, and then last night an update to Jre 1.7.0._17 came out through Rigo and it's all good! But thankyou because now I know what to do next time for any similar situation. :)
just wandering around and poking stuff with sticks...
heathen
Growing Hen
 
Posts: 108
Joined: Fri Mar 08, 2013 19:44
Location: Arizona


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest