Michael Mol wrote: > On Wed, Jan 23, 2013 at 3:07 PM, Hilco Wijbenga > <[email protected]> wrote: >> On 23 January 2013 11:53, Michael Mol <[email protected]> wrote: >>> On Wed, Jan 23, 2013 at 2:48 PM, Jarry <[email protected]> wrote: >> <snip/> >>>> emerge --update --deep --newuse world >>>> emerge --update --deep --newuse system >> <snip/> >>>> So how can I update really *every* ebuild? >>> And in answer...you've got it right. (Though I would use @world and/or >>> @system, rather than leaving off the @) >> Why? While "@world" refers to the world set explicitly, it does >> exactly the same as "world", doesn't it?. You could save a whole >> character! ;-) More seriously, the @ character isn't easy to type so >> I'd rather avoid it unless there is a real benefit to using it. > I don't know about your keyboard layout, but in en-us, @ is shift-2, > which is pretty easy. And if you type cross-host email addresses at > all (since the 80s, anyway), @ should come naturally. :) > > So, to answer 'why': > > 1. Newer versions of portage have broader support for sets. Using @ > when talking about sets is useful for maintaining your understanding > that you're working with sets. > 2. While it may well never happen (unless portage drops support for > resolving 'world' to mean '@world'), if there is ever a package named > 'world', then "emerge world" when asking for the @world set will be > ambiguous, and lead to surprising results. > > If you use apostrophes and punctuation in normal writing, a single @ > in an infrequently-typed command shouldn't pose much of a problem. :) > >> More to the point, doing "emerge ... system" *after* "emerge ... >> world" seems pointless. World includes system so I would expect >> everything in system to already have been updated. It would make more >> sense to start with "emerge ... system" but even then: what is the >> advantage over simply (only) running "emerge ... world"? > That, I don't know. I usually just emerge -uDN @world, followed by > emerge --depclean, followed by revdep-rebuild. And if I'm writing a > script[1], I'll throw --resume in there somewhere. And maybe cycle it > until everything comes out clean > > [1] https://github.com/mikemol/gentoo-install > > -- > :wq > >
All I ever do is emerge -uvaDN world and it catches everything. If you use plain world, it includes the system set. If you use @world, then some things in the @system set may not be upgraded. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!

