Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

How to 'emerge -e world' for all but one package

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
chrisstankevitz
Guru
Guru
Posts: 472
Joined: Sun Dec 14, 2003 10:31 pm
Location: Santa Barbara, CA, USA

How to 'emerge -e world' for all but one package

  • Quote

Post by chrisstankevitz » Tue Nov 04, 2008 8:21 am

Hello,

I want to rebuild every package on my system except one. the package I do not want to build is app-emulation/virtualbox-ose-2.0.4

Is this possible?

Thank you,

Chris

PS: The ebuild in question dies because my gcc-config points to GCC 4.3.2

PPS: My current approach is:
emerge -e world
[wait 4 hours for failure]
emerge --resume --skipfirst
[wait 4 hours for completion]
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9657
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Nov 04, 2008 8:55 am

Assuming that package is listed in your worldfile and not a dependency of another package you could just remove it from the worldfile temporary. Or with the latest portage-2.2 rc use the following command to get the same effect without editing a file:

Code: Select all

emerge '@world-@foo{class=base.DummyPackageSet,packages=app-emulation/virtualbox-ose}'
(that syntax creates a temporary packageset @foo with the given package and removes its content from the @world set)
Top
gerard27
Advocate
Advocate
Posts: 2377
Joined: Sun Jan 04, 2004 3:30 pm
Location: Netherlands

  • Quote

Post by gerard27 » Tue Nov 04, 2008 9:06 am

When will we get docs for portage-2.2 and EAPI-2?
Gerard.
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Top
gringo
Advocate
Advocate
User avatar
Posts: 3793
Joined: Sun Apr 27, 2003 10:25 am

  • Quote

Post by gringo » Tue Nov 04, 2008 9:16 am

emerge '@world-@foo{class=base.DummyPackageSet,packages=app-emulation/virtualbox-ose}'
a bit ugly but thanks for that anyways - i think i never emerge world f.ex. and one app that i liked much was pye ( "pick your emerge") which allowed me to just pick those packages i wanted/ needed and would also be helpful for Gerard i think. Such feature would be much apreciated in future portage versions ! :)
( can´t find a better link -> http://emresaglam.com/blog/171)

thanks !
Error: Failing not supported by current locale
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9657
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Nov 04, 2008 10:23 am

gringo wrote:
emerge '@world-@foo{class=base.DummyPackageSet,packages=app-emulation/virtualbox-ose}'
a bit ugly but thanks for that anyway
Well, it's not exactly the primary use case for that syntax. The main purpose is to pass arguments to package sets (e.g. to rebuild all packages linked against a specific library, or all packages depending on a given package) without having to edit config files or setting env variables all the time. The ability to define new package sets on the fly was just added as a bonus ;)
Top
gringo
Advocate
Advocate
User avatar
Posts: 3793
Joined: Sun Apr 27, 2003 10:25 am

  • Quote

Post by gringo » Tue Nov 04, 2008 11:48 am

Well, it's not exactly the primary use case for that syntax. The main purpose is to pass arguments to package sets (e.g. to rebuild all packages linked against a specific library, or all packages depending on a given package) without having to edit config files or setting env variables all the time. The ability to define new package sets on the fly was just added as a bonus ;)
yeah, very instructive indeed, like most of your posts in this forums ;)

thanks !
Error: Failing not supported by current locale
Top
Elbar Thera
n00b
n00b
Posts: 60
Joined: Thu May 15, 2008 9:04 am

  • Quote

Post by Elbar Thera » Tue Nov 04, 2008 12:03 pm

Hi,

concerning your approach you can try something like this:

Code: Select all

emerge -e @world ; while (($? == 1)) ; do emerge --skipfirst ; done
Does the trick for me,
Elbar

PS: You must have a nice computer, because the last time i did a emerge @installed it took me nearly 3 days :wink:
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Nov 04, 2008 12:15 pm

Gerard van Vuuren wrote:When will we get docs for portage-2.2 and EAPI-2?
Gerard.
In fact, I will read that for sure :P
Top
gringo
Advocate
Advocate
User avatar
Posts: 3793
Joined: Sun Apr 27, 2003 10:25 am

  • Quote

Post by gringo » Tue Nov 04, 2008 12:34 pm

i suppose there´s more info somewhere but this and this (pdf) are worth a reading imo.

cheers
Error: Failing not supported by current locale
Top
gerard27
Advocate
Advocate
Posts: 2377
Joined: Sun Jan 04, 2004 3:30 pm
Location: Netherlands

  • Quote

Post by gerard27 » Tue Nov 04, 2008 1:13 pm

Thanks gringo!
But I still would like to see something in the official Gentoo Docs.
Gerard.
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Top
gringo
Advocate
Advocate
User avatar
Posts: 3793
Joined: Sun Apr 27, 2003 10:25 am

  • Quote

Post by gringo » Tue Nov 04, 2008 2:20 pm

Gerard van Vuuren wrote:Thanks gringo!
But I still would like to see something in the official Gentoo Docs.
Gerard.
yes, i agree, some kind of official documentation would be nice to have ( if not available already), although i don´t expect much difference with what is being explained in Ciaran´s blog or in the pdf hosted at Ferdy´s workspace. All package managers should implement this now iirc.

cheers guys
Error: Failing not supported by current locale
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Nov 04, 2008 3:23 pm

Thanks for the link :P
Top
Post Reply

12 posts • Page 1 of 1

Return to “Portage & Programming”

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