View previous topic :: View next topic |
Author |
Message |
smlg n00b
Joined: 08 Jan 2010 Posts: 13
|
Posted: Thu Dec 29, 2011 8:32 am Post subject: How to accept all licenses automatically? |
|
|
I have tried to emerge dev-java/sun-jre-bin but had encountered a license issue. I have gone through the search function of this forum and got 88 hits for "accept license" but none too specific about accepting all licenses automatically without having to manually accept things one by one. is there a way to do this?
Code: | Calculating dependencies... done!
[ebuild N F ] dev-java/sun-jre-bin-1.6.0.29-r1 USE="X alsa nsplugin -jce"
The following license changes are necessary to proceed:
#required by dev-java/sun-jre-bin (argument)
>=dev-java/sun-jre-bin-1.6.0.29-r1 Oracle-BCLA-JavaSE
NOTE: This --autounmask behavior can be disabled by setting
EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.
Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
how do i overcome the above license issue?
how do i do this suggestion :EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf
thank you. |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Thu Dec 29, 2011 8:39 am Post subject: |
|
|
Code: | $ cat >> /etc/make.conf <<END
ACCEPT_LICENSE="*"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --autounmask=n"
END |
_________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Last edited by ppurka on Thu Dec 29, 2011 8:40 am; edited 1 time in total |
|
Back to top |
|
|
smlg n00b
Joined: 08 Jan 2010 Posts: 13
|
Posted: Thu Dec 29, 2011 8:39 am Post subject: |
|
|
i have seen someone suggest this but I do not know how to do this. i am a complete Gentoo noob
Code: | ACCEPT_LICENSE="Oracle-BCLA-JavaSE |
what are the exact steps to do this?
thank you. |
|
Back to top |
|
|
smlg n00b
Joined: 08 Jan 2010 Posts: 13
|
Posted: Thu Dec 29, 2011 8:40 am Post subject: |
|
|
ppurka wrote: | Code: | $ cat >> /etc/make.conf <<END
ACCEPT_LICENSE="*"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --autounmask=n"
END |
|
thank you for your reply. do i copy paste the whole thing? |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Thu Dec 29, 2011 8:41 am Post subject: |
|
|
smlg wrote: | ppurka wrote: | Code: | $ cat >> /etc/make.conf <<END
ACCEPT_LICENSE="*"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --autounmask=n"
END |
|
thank you for your reply. do i copy paste the whole thing? | This was supposed to be run on a terminal. Alternatively, copy paste the two lines Code: | ACCEPT_LICENSE="*"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --autounmask=n" | into your /etc/make.conf
EDIT: You can read about licenses here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1#doc_chap4 _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
smlg n00b
Joined: 08 Jan 2010 Posts: 13
|
Posted: Thu Dec 29, 2011 8:45 am Post subject: |
|
|
sorry for the stupid question again but how do i get to /etc/make.conf
i did
and it took me to some explanation which i do not get. sorry. |
|
Back to top |
|
|
smlg n00b
Joined: 08 Jan 2010 Posts: 13
|
Posted: Thu Dec 29, 2011 8:55 am Post subject: |
|
|
i saw the file in my filesytem but i could not edit it because it is "read-only"
i tried in root
Code: | gedit /etc/make.conf |
but that did not work too |
|
Back to top |
|
|
smlg n00b
Joined: 08 Jan 2010 Posts: 13
|
Posted: Thu Dec 29, 2011 9:14 am Post subject: |
|
|
thank you. i believe i was able to do what you said but now i got this:
Code: | # emerge dev-java/sun-jre-bin
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/sun-jre-bin-1.6.0.29-r1
!!! dev-java/sun-jre-bin-1.6.0.29-r1 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually. See the comments in the ebuild for more information.
* Fetch failed for 'dev-java/sun-jre-bin-1.6.0.29-r1', Log file:
* '/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.29-r1/temp/build.log'
* Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again.
* Alternatives are switching to dev-java/icedtea-bin or the source-based dev-java/icedtea:6
* Please download jre-6u29-linux-x64.bin from:
* http://www.oracle.com/technetwork/java/javase/downloads/jre-6u29-download-513650.html
* and move it to /usr/portage/distfiles
>>> Failed to emerge dev-java/sun-jre-bin-1.6.0.29-r1, Log file:
>>> '/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.29-r1/temp/build.log'
* Messages for package dev-java/sun-jre-bin-1.6.0.29-r1:
* Fetch failed for 'dev-java/sun-jre-bin-1.6.0.29-r1', Log file:
* '/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.29-r1/temp/build.log'
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
how do i now overcome this new obstacle?
the sites i visit (stock market charting, finance, banking etc) do not work on icedtea.
thank you. |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Thu Dec 29, 2011 9:36 am Post subject: |
|
|
What you need to do is right there in the emerge output. _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
Trog Dog Apprentice
Joined: 04 Aug 2007 Posts: 282
|
|
Back to top |
|
|
|