Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

A sane way to emerge ~x86 packages

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Dr. Z
n00b
n00b
Posts: 30
Joined: Fri Nov 19, 2004 2:56 am

A sane way to emerge ~x86 packages

  • Quote

Post by Dr. Z » Mon Dec 12, 2005 9:07 pm

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: Select all

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?
Top
Zarhan
Veteran
Veteran
Posts: 1020
Joined: Fri Feb 27, 2004 4:42 pm

  • Quote

Post by Zarhan » Mon Dec 12, 2005 9:24 pm

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

http://forums.gentoo.org/viewtopic-t-40 ... ight-.html
Top
robbyjo
Guru
Guru
Posts: 462
Joined: Sun Apr 06, 2003 3:17 am

  • Quote

Post by robbyjo » Mon Dec 12, 2005 9:29 pm

For me, the trick is to do this:

Code: Select all

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.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic