* [gentoo-user] How to fix license error during install?
@ 2020-03-21 1:16 Jeffrey Walton
2020-03-21 2:15 ` John Covici
2020-03-21 14:13 ` Daniel Frey
0 siblings, 2 replies; 8+ messages in thread
From: Jeffrey Walton @ 2020-03-21 1:16 UTC (permalink / raw
To: gentoo-user
Hi Everyone,
I'm having trouble installing Gentoo in a Virtual Box VM for testing.
It is a x86_64 guest. I selected a hardened profile to test PaX, which
means I selected 18 in 'eselect profile'.
I'm at "Configuring the Linux kernel" in the Handbook
(https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
not report errors. The genkernel part fails.
The specific error is:
$ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
sys-kernel/genkernel 2>&1 | tee kernel.txt
$ cat kernel.txt
* IMPORTANT: 6 config files in '/etc/portage' need updating.
Calculating dependencies * See the CONFIGURATION FILES and
CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
... done!
[ebuild N ] app-arch/cpio-2.12-r1 USE="nls"
[ebuild N ] sys-kernel/linux-firmware-20200316
USE="redistributable -initramfs -savedconfig (-unknown-license)"
[ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)"
The following license changes are necessary to proceed:
(see "package.license" in the portage(5) man page for more details)
# required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
# required by genkernel (argument)
=sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code
Autounmask changes successfully written.
* IMPORTANT: 7 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config
files.Here is the
Here is the portage(5) man page:
https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
is the part about package.license:
This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
for a single package.
Format:
- comment lines begin with # (no inline comments)
- one DEPEND atom per line followed by additional licenses or groups
Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
The information provided in portage(5) and package.license leaves a
lot to be desired.
What is the problem and how do I fix it?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] How to fix license error during install?
2020-03-21 1:16 [gentoo-user] How to fix license error during install? Jeffrey Walton
@ 2020-03-21 2:15 ` John Covici
2020-03-21 2:18 ` Jeffrey Walton
2020-03-21 14:13 ` Daniel Frey
1 sibling, 1 reply; 8+ messages in thread
From: John Covici @ 2020-03-21 2:15 UTC (permalink / raw
To: gentoo-user
On Fri, 20 Mar 2020 21:16:10 -0400,
Jeffrey Walton wrote:
>
> Hi Everyone,
>
> I'm having trouble installing Gentoo in a Virtual Box VM for testing.
> It is a x86_64 guest. I selected a hardened profile to test PaX, which
> means I selected 18 in 'eselect profile'.
>
> I'm at "Configuring the Linux kernel" in the Handbook
> (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
> The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
> not report errors. The genkernel part fails.
>
> The specific error is:
>
> $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
> sys-kernel/genkernel 2>&1 | tee kernel.txt
> $ cat kernel.txt
>
> * IMPORTANT: 6 config files in '/etc/portage' need updating.
> Calculating dependencies * See the CONFIGURATION FILES and
> CONFIGURATION FILES UPDATE TOOLS
> * sections of the emerge man page to learn how to update config files.
> ... done!
> [ebuild N ] app-arch/cpio-2.12-r1 USE="nls"
> [ebuild N ] sys-kernel/linux-firmware-20200316
> USE="redistributable -initramfs -savedconfig (-unknown-license)"
> [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)"
>
> The following license changes are necessary to proceed:
> (see "package.license" in the portage(5) man page for more details)
> # required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
> # required by genkernel (argument)
> =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code
>
> Autounmask changes successfully written.
>
> * IMPORTANT: 7 config files in '/etc/portage' need updating.
> * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
> * sections of the emerge man page to learn how to update config
> files.Here is the
>
> Here is the portage(5) man page:
> https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
> is the part about package.license:
>
> This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
> for a single package.
>
> Format:
>
> - comment lines begin with # (no inline comments)
> - one DEPEND atom per line followed by additional licenses or groups
>
> Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
>
> The information provided in portage(5) and package.license leaves a
> lot to be desired.
>
> What is the problem and how do I fix it?
>
Well, you need to change your config files as portage asked you to do
before proceeding. There are several utilities to do that, I use
etc-update, but there are several others.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] How to fix license error during install?
2020-03-21 2:15 ` John Covici
@ 2020-03-21 2:18 ` Jeffrey Walton
2020-03-21 2:39 ` madscientistatlarge
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Jeffrey Walton @ 2020-03-21 2:18 UTC (permalink / raw
To: gentoo-user
On Fri, Mar 20, 2020 at 10:16 PM John Covici <covici@ccs.covici.com> wrote:
>
> On Fri, 20 Mar 2020 21:16:10 -0400,
> Jeffrey Walton wrote:
> >
> > Hi Everyone,
> >
> > I'm having trouble installing Gentoo in a Virtual Box VM for testing.
> > It is a x86_64 guest. I selected a hardened profile to test PaX, which
> > means I selected 18 in 'eselect profile'.
> >
> > I'm at "Configuring the Linux kernel" in the Handbook
> > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
> > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
> > not report errors. The genkernel part fails.
> >
> > The specific error is:
> >
> > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
> > sys-kernel/genkernel 2>&1 | tee kernel.txt
> > $ cat kernel.txt
> >
> > * IMPORTANT: 6 config files in '/etc/portage' need updating.
> > Calculating dependencies * See the CONFIGURATION FILES and
> > CONFIGURATION FILES UPDATE TOOLS
> > * sections of the emerge man page to learn how to update config files.
> > ... done!
> > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls"
> > [ebuild N ] sys-kernel/linux-firmware-20200316
> > USE="redistributable -initramfs -savedconfig (-unknown-license)"
> > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)"
> >
> > The following license changes are necessary to proceed:
> > (see "package.license" in the portage(5) man page for more details)
> > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
> > # required by genkernel (argument)
> > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code
> >
> > Autounmask changes successfully written.
> >
> > * IMPORTANT: 7 config files in '/etc/portage' need updating.
> > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
> > * sections of the emerge man page to learn how to update config
> > files.Here is the
> >
> > Here is the portage(5) man page:
> > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
> > is the part about package.license:
> >
> > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
> > for a single package.
> >
> > Format:
> >
> > - comment lines begin with # (no inline comments)
> > - one DEPEND atom per line followed by additional licenses or groups
> >
> > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
> >
> > The information provided in portage(5) and package.license leaves a
> > lot to be desired.
> >
> > What is the problem and how do I fix it?
> >
>
> Well, you need to change your config files as portage asked you to do
> before proceeding. There are several utilities to do that, I use
> etc-update, but there are several others.
Thanks John.
The Handbook does not say to make any configuration changes. That
seems safe to me since I have no idea what changes to make.
Jeff
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] How to fix license error during install?
2020-03-21 2:18 ` Jeffrey Walton
@ 2020-03-21 2:39 ` madscientistatlarge
2020-03-21 7:29 ` Neil Bothwick
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: madscientistatlarge @ 2020-03-21 2:39 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, March 20, 2020 8:18 PM, Jeffrey Walton <noloader@gmail.com> wrote:
> On Fri, Mar 20, 2020 at 10:16 PM John Covici covici@ccs.covici.com wrote:
>
> > On Fri, 20 Mar 2020 21:16:10 -0400,
> > Jeffrey Walton wrote:
> >
> > > Hi Everyone,
> > > I'm having trouble installing Gentoo in a Virtual Box VM for testing.
> > > It is a x86_64 guest. I selected a hardened profile to test PaX, which
> > > means I selected 18 in 'eselect profile'.
> > > I'm at "Configuring the Linux kernel" in the Handbook
> > > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
> > > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
> > > not report errors. The genkernel part fails.
> > > The specific error is:
> > > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
> > > sys-kernel/genkernel 2>&1 | tee kernel.txt
> > > $ cat kernel.txt
> > >
> > > - IMPORTANT: 6 config files in '/etc/portage' need updating.
> > > Calculating dependencies * See the CONFIGURATION FILES and
> > > CONFIGURATION FILES UPDATE TOOLS
> > >
> > > - sections of the emerge man page to learn how to update config files.
> > > ... done!
> > > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls"
> > > [ebuild N ] sys-kernel/linux-firmware-20200316
> > > USE="redistributable -initramfs -savedconfig (-unknown-license)"
> > > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)"
> > >
> > >
> > > The following license changes are necessary to proceed:
> > > (see "package.license" in the portage(5) man page for more details)
> > >
> > > required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
> > >
> > > =========================================================
> > >
> > > required by genkernel (argument)
> > >
> > > =================================
> > >
> > > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code
> > > Autounmask changes successfully written.
> > >
> > > - IMPORTANT: 7 config files in '/etc/portage' need updating.
> > > - See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
> > > - sections of the emerge man page to learn how to update config
> > > files.Here is the
> > >
> > >
> > > Here is the portage(5) man page:
> > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
> > > is the part about package.license:
> > >
> > > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
> > >
> > >
> > > for a single package.
> > >
> > > Format:
> > >
> > > - comment lines begin with # (no inline comments)
> > > - one DEPEND atom per line followed by additional licenses or groups
> > >
> > >
> > > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
> > > The information provided in portage(5) and package.license leaves a
> > > lot to be desired.
> > > What is the problem and how do I fix it?
> >
> > Well, you need to change your config files as portage asked you to do
> > before proceeding. There are several utilities to do that, I use
> > etc-update, but there are several others.
>
> Thanks John.
>
> The Handbook does not say to make any configuration changes. That
> seems safe to me since I have no idea what changes to make.
>
> Jeff
The manual is a starting point, not a step by step guide that tells you enough by itself. You have to pay attention to what your' system is telling you and look up the things you don't understand. A lack of configuration of many files will doom later steps. For example, if you lack substantial shell experience, and even if you don't you will have to learn new things, on your' own or with some help from the list. If you just do the basic things in the manual, you won't get anywhere. It's more of an outline with some steps well documented, some over documented, and some not documented properly unless you are smart enough too look up error messages and do what is required. Most if not all the info is on the gentoo site, but it's your' job to find it. It's a learning experience, not a complete and detailed set of instructions. Part of this is because you have options, you have to chose how some things will be done and investigate. I strongly recommend using a "tee" etc. to dump everything into text files you can skim. Often compiling will produce specific suggestions that won't be on the last page of text that scrowls by, you have to read ALL of the output from each step, and learn enough to have some understanding of why and how which will require research on the gentoo site, and often other sites. You have to modify the "USE" files for each application, as your' machine will tell you, that's actually the easy part. The hard part involves dealing with issues you don't understand yet. You have to learn, you have to try and want to learn, and you have to pay attention to what your' computer etc. is trying to tell you. It's not as trivial as the manual may imply at first. The people who wrote the various support materials are usually very experienced, that make it hard to anticipate everything someone less experienced may need to be told. Think about rebuilding an engine, for a highly experienced mechanic it's easy and obvious, to someone less experienced it requires real thought and learning many things you don't already have burned into your' brain from years of experience. Fully supporting the less experienced (like myself frankly) is always challenging, because when you learn you won't remember everything to tell someone else in advance, it will be interactive by it's very nature. Understanding some concepts may be easy for one person, but difficult for another, and it will vary from person to person, brains are not identical.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] How to fix license error during install?
2020-03-21 2:18 ` Jeffrey Walton
2020-03-21 2:39 ` madscientistatlarge
@ 2020-03-21 7:29 ` Neil Bothwick
2020-03-21 9:34 ` John Covici
2020-03-21 10:22 ` Michael
3 siblings, 0 replies; 8+ messages in thread
From: Neil Bothwick @ 2020-03-21 7:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
On Fri, 20 Mar 2020 22:18:47 -0400, Jeffrey Walton wrote:
> > > * IMPORTANT: 7 config files in '/etc/portage' need updating.
> > > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
> > > * sections of the emerge man page to learn how to update config
> > > files.
> >
> > Well, you need to change your config files as portage asked you to do
> > before proceeding. There are several utilities to do that, I use
> > etc-update, but there are several others.
>
> The Handbook does not say to make any configuration changes. That
> seems safe to me since I have no idea what changes to make.
You have an instruction from portage that starts with IMPORTANT, and
tells you where to learn how to do what it asks. Generally, when portage
talks to you like this, you should take notice.
Portage does not overwrite config files in /etc, instead it creates a
temporary file containing the new version so that you can manage the
changes with etc-update or equivalent. Your licence file changes have
been handled in this way and it is up to you to complete the final step
to apply those changes.
--
Neil Bothwick
Mac screen message: "Like, dude, something went wrong."
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] How to fix license error during install?
2020-03-21 2:18 ` Jeffrey Walton
2020-03-21 2:39 ` madscientistatlarge
2020-03-21 7:29 ` Neil Bothwick
@ 2020-03-21 9:34 ` John Covici
2020-03-21 10:22 ` Michael
3 siblings, 0 replies; 8+ messages in thread
From: John Covici @ 2020-03-21 9:34 UTC (permalink / raw
To: gentoo-user
On Fri, 20 Mar 2020 22:18:47 -0400,
Jeffrey Walton wrote:
>
> On Fri, Mar 20, 2020 at 10:16 PM John Covici <covici@ccs.covici.com> wrote:
> >
> > On Fri, 20 Mar 2020 21:16:10 -0400,
> > Jeffrey Walton wrote:
> > >
> > > Hi Everyone,
> > >
> > > I'm having trouble installing Gentoo in a Virtual Box VM for testing.
> > > It is a x86_64 guest. I selected a hardened profile to test PaX, which
> > > means I selected 18 in 'eselect profile'.
> > >
> > > I'm at "Configuring the Linux kernel" in the Handbook
> > > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
> > > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
> > > not report errors. The genkernel part fails.
> > >
> > > The specific error is:
> > >
> > > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
> > > sys-kernel/genkernel 2>&1 | tee kernel.txt
> > > $ cat kernel.txt
> > >
> > > * IMPORTANT: 6 config files in '/etc/portage' need updating.
> > > Calculating dependencies * See the CONFIGURATION FILES and
> > > CONFIGURATION FILES UPDATE TOOLS
> > > * sections of the emerge man page to learn how to update config files.
> > > ... done!
> > > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls"
> > > [ebuild N ] sys-kernel/linux-firmware-20200316
> > > USE="redistributable -initramfs -savedconfig (-unknown-license)"
> > > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)"
> > >
> > > The following license changes are necessary to proceed:
> > > (see "package.license" in the portage(5) man page for more details)
> > > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
> > > # required by genkernel (argument)
> > > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code
> > >
> > > Autounmask changes successfully written.
> > >
> > > * IMPORTANT: 7 config files in '/etc/portage' need updating.
> > > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
> > > * sections of the emerge man page to learn how to update config
> > > files.Here is the
> > >
> > > Here is the portage(5) man page:
> > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
> > > is the part about package.license:
> > >
> > > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
> > > for a single package.
> > >
> > > Format:
> > >
> > > - comment lines begin with # (no inline comments)
> > > - one DEPEND atom per line followed by additional licenses or groups
> > >
> > > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
> > >
> > > The information provided in portage(5) and package.license leaves a
> > > lot to be desired.
> > >
> > > What is the problem and how do I fix it?
> > >
> >
> > Well, you need to change your config files as portage asked you to do
> > before proceeding. There are several utilities to do that, I use
> > etc-update, but there are several others.
>
> Thanks John.
>
> The Handbook does not say to make any configuration changes. That
> seems safe to me since I have no idea what changes to make.
>
> Jeff
>
OK, remember where it said at the end of your portage output that
there were several configuration files that needed updating? Run
etc-update and you will see the differences between the current and
new configuration files and you will see the necessary changes and you
should accept them and try your emerge again after accepting them.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] How to fix license error during install?
2020-03-21 2:18 ` Jeffrey Walton
` (2 preceding siblings ...)
2020-03-21 9:34 ` John Covici
@ 2020-03-21 10:22 ` Michael
3 siblings, 0 replies; 8+ messages in thread
From: Michael @ 2020-03-21 10:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4459 bytes --]
On Saturday, 21 March 2020 02:18:47 GMT Jeffrey Walton wrote:
Hi Jeff,
> On Fri, Mar 20, 2020 at 10:16 PM John Covici <covici@ccs.covici.com> wrote:
> > On Fri, 20 Mar 2020 21:16:10 -0400,
> >
> > Jeffrey Walton wrote:
> > > Hi Everyone,
> > >
> > > I'm having trouble installing Gentoo in a Virtual Box VM for testing.
> > > It is a x86_64 guest. I selected a hardened profile to test PaX, which
> > > means I selected 18 in 'eselect profile'.
> > >
> > > I'm at "Configuring the Linux kernel" in the Handbook
> > > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alterna
> > > tive:_Using_genkernel). The part "emerge --ask
> > > sys-kernel/gentoo-sources" seems OK and does not report errors. The
> > > genkernel part fails.
> > >
> > > The specific error is:
> > >
> > > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
> > > sys-kernel/genkernel 2>&1 | tee kernel.txt
> > > $ cat kernel.txt
> > >
> > > * IMPORTANT: 6 config files in '/etc/portage' need updating.
> > >
> > > Calculating dependencies * See the CONFIGURATION FILES and
> > > CONFIGURATION FILES UPDATE TOOLS
As others have already commented, the notices in CAPITAL case above are not to
be ignored. Packages you installed require changing/updating their
configuration files in /etc/, which portage won't do without your review and
manual intervention.
There are a variety of tools to perform this configuration files update. The
notice provided by portage also tells you where to look:
> > > * sections of the emerge man page to learn how to update config files.
So run 'man emerge' then type:
/CONFIGURATION\ FILES
and hit enter to search for "CONFIGURATION FILES" in the man page of the
emerge command.
Additional information on the etc-update (installed by default) and other
tools is given here:
https://wiki.gentoo.org/wiki/Handbook:X86/Portage/Tools
> > > ... done!
> > > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls"
> > > [ebuild N ] sys-kernel/linux-firmware-20200316
> > > USE="redistributable -initramfs -savedconfig (-unknown-license)"
> > > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)"
> > >
> > > The following license changes are necessary to proceed:
> > > (see "package.license" in the portage(5) man page for more details)
> > >
> > > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
> > > # required by genkernel (argument)
> > > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable
> > > no-source-code
> > >
> > > Autounmask changes successfully written.
> > >
> > > * IMPORTANT: 7 config files in '/etc/portage' need updating.
> > > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
> > > * sections of the emerge man page to learn how to update config
> > >
> > > files.Here is the
> > >
> > > Here is the portage(5) man page:
> > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
> > >
> > > is the part about package.license:
> > > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
> > >
> > > for a single package.
> > >
> > > Format:
> > > - comment lines begin with # (no inline comments)
> > > - one DEPEND atom per line followed by additional licenses or
> > > groups
> > >
> > > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
> > >
> > > The information provided in portage(5) and package.license leaves a
> > > lot to be desired.
> > >
> > > What is the problem and how do I fix it?
> >
> > Well, you need to change your config files as portage asked you to do
> > before proceeding. There are several utilities to do that, I use
> > etc-update, but there are several others.
>
> Thanks John.
>
> The Handbook does not say to make any configuration changes. That
> seems safe to me since I have no idea what changes to make.
>
> Jeff
When you ran '--autounmask-write' emerge saved some files specific to the
license changes and perhaps other packages in /etc/ - it will not apply these
automatically. You have to merge or reject these yourself by using 'etc-
update'. The interactive merge feature of 'etc-update' and other similar
tools is quite useful when many changes need to be reviewed and applied on
long configuration files. Some of these changes you may want to apply, others
reject, often within the same file.
Eventually you'll get the hang of this and go through the steps without much
consternation.
HTH.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] How to fix license error during install?
2020-03-21 1:16 [gentoo-user] How to fix license error during install? Jeffrey Walton
2020-03-21 2:15 ` John Covici
@ 2020-03-21 14:13 ` Daniel Frey
1 sibling, 0 replies; 8+ messages in thread
From: Daniel Frey @ 2020-03-21 14:13 UTC (permalink / raw
To: gentoo-user
On 3/20/20 6:16 PM, Jeffrey Walton wrote:
> Hi Everyone,
>
> I'm having trouble installing Gentoo in a Virtual Box VM for testing.
> It is a x86_64 guest. I selected a hardened profile to test PaX, which
> means I selected 18 in 'eselect profile'.
>
> I'm at "Configuring the Linux kernel" in the Handbook
> (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
> The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
> not report errors. The genkernel part fails.
>
> The specific error is:
>
> $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
> sys-kernel/genkernel 2>&1 | tee kernel.txt
> $ cat kernel.txt
>
Hi, it's not 'LICENSE_ACCEPT', it's 'ACCEPT_LICENSE'.
Here's a snippet of my make.conf:
----------
FEATURES="distcc"
MAKEOPTS="-j36 -l4"
ACCEPT_LICENSE="*"
VIDEO_CARDS="nvidia"
----------
Dan
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-03-21 14:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-21 1:16 [gentoo-user] How to fix license error during install? Jeffrey Walton
2020-03-21 2:15 ` John Covici
2020-03-21 2:18 ` Jeffrey Walton
2020-03-21 2:39 ` madscientistatlarge
2020-03-21 7:29 ` Neil Bothwick
2020-03-21 9:34 ` John Covici
2020-03-21 10:22 ` Michael
2020-03-21 14:13 ` Daniel Frey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox