Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem Understanding Portage Error Message
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
davidbryant
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2020
Posts: 137
Location: Canyon Lake, Texas

PostPosted: Thu Jun 11, 2020 11:46 pm    Post subject: Problem Understanding Portage Error Message Reply with quote

Hi. I've been using Linux since 2003 (mostly openSUSE), but just started trying to install a Gentoo system a few days ago. I've been getting a message similar to this one quite frequently, and I don't really understand what it means.

Code:
 * IMPORTANT: 5 config files in '/etc/portage' need updating.

These are the packages that would be merged, in order: ...

I was able to figure out that I needed to change the "ACCEPT_LICENSE" variable when this message (or one very similar to it) came up the first time. But as I worked my way farther into the installation (I can now boot from the hard disk, but I'm having trouble connecting to the internet -- that's a separate issue), this message has been coming up more frequently. Sometimes it stops me from installing a package that I really need.

What I find particularly confusing about this is that there are only two configuration files in the /etc/portage directory, so far as I can see.

Code:
.
..
._cfg0000_package.license
._cfg0001_package.license
make.conf                              <---
make.profile    (directory)
  systemd       (directory)
    eapi
    package.use
    parent
  eapi
  parent
package.use     (directory)
  ._cfg0000_zz-autounmask
  ._cfg0001_zz-autounmask
  ._cfg0002_zz-autounmask
  zz-autounmask
repo.postsync.d  (directory)
  example
repos.conf       (directory)
  gentoo.conf                         <---
savedconfig      (directory)
  sys-apps       (directory)
    busybox-1.31.2-r2
  sys-kernel     (directory)
    linux-firmware-20200519

Where can I learn how to interpret this somewhat ambiguous error message? I've tried hunting around the wiki, and the rest of the internet, but no luck so far. Thanks!
_________________
David Bryant
Canyon Lake, Texas
Back to top
View user's profile Send private message
neyuru
Apprentice
Apprentice


Joined: 21 Mar 2020
Posts: 191

PostPosted: Fri Jun 12, 2020 12:02 am    Post subject: Reply with quote

Hello:

the message

Code:
* IMPORTANT: 5 config files in '/etc/portage' need updating.


can be dealt with automatically. after you see that message, issue:

Code:
etc-update


and portage will let you know automatically what files need to be updated. Normally you'll select option 1 to view the updates and which files are being changed. And, normally you'll accept those changes (press "q" after viewing the update and then press "1" again). Sometimes, portage will try to update some files configured by you, in which case, you can ignore the update ("1"-"q"-"-1") (minus 1 in the last option). You can configure portage to automatically ignore such files by placing this in your make.conf:

Code:
CONFIG_PROTECT="/path/to/my/file"


but normally, this doesn't happen unless you start tinkering with the default configuration options.
Back to top
View user's profile Send private message
neyuru
Apprentice
Apprentice


Joined: 21 Mar 2020
Posts: 191

PostPosted: Fri Jun 12, 2020 12:07 am    Post subject: Reply with quote

As you have pointed out, one of the most commons reasons for file updates is for licensing reasons. I believe gentoo will only accept "free" licensing by default but you needn't worry about this because the time you request a non-free or propietary package, portage will let you know. You needn't configure anything by yourself (although you absolutely can) because portage will prompt you to issue
Code:
etc-update
Back to top
View user's profile Send private message
davidbryant
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2020
Posts: 137
Location: Canyon Lake, Texas

PostPosted: Fri Jun 12, 2020 1:02 am    Post subject: Reply with quote

Quote:
after you see that message, issue:

Code:
etc-update


OK. Thanks for the hint, neyuru. :D
_________________
David Bryant
Canyon Lake, Texas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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