Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A sane way to emerge ~x86 packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Dr. Z
n00b
n00b


Joined: 19 Nov 2004
Posts: 30

PostPosted: Mon Dec 12, 2005 9:07 pm    Post subject: A sane way to emerge ~x86 packages Reply with quote

I have an idea for a script to help me merge ~x86 packages. I would
be interested if anyone has done something similar, or has advice
before I start.

First I do not USE=~x86 for stability reasons. Second I do not
ACCEPT_KEYWORDS=~x86; instead I prefer an entry in
/etc/portage/package.keywords for each ~x86 package on my system.
This way I have a document of all my unstable packages, and also it's
much easier to re-create my system configuration from a backup of this
file.

However emerging a package such as kde as ~x86, with many
dependencies, is incredibly painful. I have to

Code:

1. emerge -va kde
2. Look for the broken dependency marked (masked by: ~x86 keyword)
3. Add this to /etc/portage/package.keywords
4. Goto 1.


for many, many iterations, perhaps 50 or more. What would be ideal is for emerge to
print out ALL of the ~x86-masked dependencies at once, instead of forcing
me to iterate over and over, so I can put them all in package.keywords
at once. Can I make this happen?

If this is not possible, I would like to launch emerge from a script,
parse the output, and append to package.keywords until finally the
emerge succeeds. Does this sound rational, or perhaps is there
another tool such as equery I ought to use?
Back to top
View user's profile Send private message
Zarhan
l33t
l33t


Joined: 27 Feb 2004
Posts: 960

PostPosted: Mon Dec 12, 2005 9:24 pm    Post subject: Reply with quote

I asked about similar stuff and got a few pointers. That script might work for you, I'm not too happy with it.

https://forums.gentoo.org/viewtopic-t-408436-highlight-.html
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Mon Dec 12, 2005 9:29 pm    Post subject: Reply with quote

For me, the trick is to do this:

Code:
ACCEPT_KEYWORDS="~x86" emerge -va kde


This will list all dependencies and what not. All you'd do is to copy & paste the list to a text file for processing later. THEN answer NO to the question. After you got every package listed in /etc/portage/package.* files, you can leisurely emerge -va kde without ACCEPT_KEYWORDS.

HTH.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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