Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with use flags
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
micaldas
n00b
n00b


Joined: 12 Mar 2018
Posts: 37

PostPosted: Sat Sep 15, 2018 3:06 am    Post subject: Problems with use flags Reply with quote

Hi,
Since I began with gentoo I have had a lot of difficulty managing use flags, especially understanding the information that gentoo gives me. And I have not find a resource that could help me.
Specifically; I was trying to install obmenu when I got the following message:

Code:
The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by x11-misc/obmenu-generator (argument)
=x11-misc/obmenu-generator-0.66 ~amd64

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.


So I created a local use flag in package.use in the following manner:

Code:
echo "x11-misc/obmenu-generator amd64" > /etc/portage/package.use/obmenu


When I tried to download again, the same message appeared. I imagine that my difficulties have something to do with the "~"sign before the flag. But I don't know how to interpret it.
Also on this theme, sometimes I see in lists of use flags, some that are presented like this: (amd64), what are the parentheses supposed to mean and what should I do?

Thanks in advance for all the help.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1013
Location: Massachusetts USA

PostPosted: Sat Sep 15, 2018 3:20 am    Post subject: Reply with quote

The message says to update package.accept_keywords not package.use.
Back to top
View user's profile Send private message
micaldas
n00b
n00b


Joined: 12 Mar 2018
Posts: 37

PostPosted: Sat Sep 15, 2018 3:27 am    Post subject: Reply with quote

Hi Jburns, thank you for taking the time to reply.
In that case what should I do? I'm new to gentoo so I am, still, a bit lost.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6525
Location: Saint Amant, Acadiana

PostPosted: Sat Sep 15, 2018 3:34 am    Post subject: Reply with quote

There is Gentoo Wiki, there are man pages for make.conf, portage, emerge. Do you agree copying and pasting these over here would not be feasible?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1636

PostPosted: Sat Sep 15, 2018 5:46 am    Post subject: Reply with quote

As far as your questions on the meanings of the ~ and () symbols. The ~ indicates it is the unstable branch (newer versions, but not necessarily as well tested). The USE flags in ()'s mean that they are either forced or masked. Like you posted, the (amd64) indicated that use flag is forced on. While for example (-selinux) means that the selinux use flag is masked/forced off.

Generally, we recommend do not mix stable and unstable branches. The reasoning is because that it can/will cause dependency issues when updating. For this reason, you should try keeping the amount of unstable marked packages to the minimum. A common thing that you could encounter is, more of a cascading dependencies each needing the newer unstable marked package. This could then pull in even more unstable marked packages.
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