Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to fix license error during install?
Date: Sat, 21 Mar 2020 02:15:53
Message-Id: m3eetmv4fm.wl-covici@ccs.covici.com
In Reply to: [gentoo-user] How to fix license error during install? by Jeffrey Walton
1 On Fri, 20 Mar 2020 21:16:10 -0400,
2 Jeffrey Walton wrote:
3 >
4 > Hi Everyone,
5 >
6 > I'm having trouble installing Gentoo in a Virtual Box VM for testing.
7 > It is a x86_64 guest. I selected a hardened profile to test PaX, which
8 > means I selected 18 in 'eselect profile'.
9 >
10 > I'm at "Configuring the Linux kernel" in the Handbook
11 > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
12 > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
13 > not report errors. The genkernel part fails.
14 >
15 > The specific error is:
16 >
17 > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
18 > sys-kernel/genkernel 2>&1 | tee kernel.txt
19 > $ cat kernel.txt
20 >
21 > * IMPORTANT: 6 config files in '/etc/portage' need updating.
22 > Calculating dependencies * See the CONFIGURATION FILES and
23 > CONFIGURATION FILES UPDATE TOOLS
24 > * sections of the emerge man page to learn how to update config files.
25 > ... done!
26 > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls"
27 > [ebuild N ] sys-kernel/linux-firmware-20200316
28 > USE="redistributable -initramfs -savedconfig (-unknown-license)"
29 > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)"
30 >
31 > The following license changes are necessary to proceed:
32 > (see "package.license" in the portage(5) man page for more details)
33 > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
34 > # required by genkernel (argument)
35 > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code
36 >
37 > Autounmask changes successfully written.
38 >
39 > * IMPORTANT: 7 config files in '/etc/portage' need updating.
40 > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
41 > * sections of the emerge man page to learn how to update config
42 > files.Here is the
43 >
44 > Here is the portage(5) man page:
45 > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
46 > is the part about package.license:
47 >
48 > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
49 > for a single package.
50 >
51 > Format:
52 >
53 > - comment lines begin with # (no inline comments)
54 > - one DEPEND atom per line followed by additional licenses or groups
55 >
56 > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
57 >
58 > The information provided in portage(5) and package.license leaves a
59 > lot to be desired.
60 >
61 > What is the problem and how do I fix it?
62 >
63
64 Well, you need to change your config files as portage asked you to do
65 before proceeding. There are several utilities to do that, I use
66 etc-update, but there are several others.
67
68 --
69 Your life is like a penny. You're going to lose it. The question is:
70 How do
71 you spend it?
72
73 John Covici wb2una
74 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] How to fix license error during install? Jeffrey Walton <noloader@×××××.com>