Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to accept all licenses automatically?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
smlg
n00b
n00b


Joined: 08 Jan 2010
Posts: 13

PostPosted: Thu Dec 29, 2011 8:32 am    Post subject: How to accept all licenses automatically? Reply with quote

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
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu Dec 29, 2011 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
smlg
n00b
n00b


Joined: 08 Jan 2010
Posts: 13

PostPosted: Thu Dec 29, 2011 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
smlg
n00b
n00b


Joined: 08 Jan 2010
Posts: 13

PostPosted: Thu Dec 29, 2011 8:40 am    Post subject: Reply with quote

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
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu Dec 29, 2011 8:41 am    Post subject: Reply with quote

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
View user's profile Send private message
smlg
n00b
n00b


Joined: 08 Jan 2010
Posts: 13

PostPosted: Thu Dec 29, 2011 8:45 am    Post subject: Reply with quote

sorry for the stupid question again but how do i get to /etc/make.conf

i did

Code:
man /etc/make.conf


and it took me to some explanation which i do not get. sorry.
Back to top
View user's profile Send private message
smlg
n00b
n00b


Joined: 08 Jan 2010
Posts: 13

PostPosted: Thu Dec 29, 2011 8:55 am    Post subject: Reply with quote

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
View user's profile Send private message
smlg
n00b
n00b


Joined: 08 Jan 2010
Posts: 13

PostPosted: Thu Dec 29, 2011 9:14 am    Post subject: Reply with quote

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
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Thu Dec 29, 2011 9:36 am    Post subject: Reply with quote

Quote:
* 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
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
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Thu Dec 29, 2011 1:16 pm    Post subject: Reply with quote

you also have 3 news items to read
Code:
eselect news read new

_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum