From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3D7A6138637 for ; Thu, 24 Jan 2013 00:02:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08DAC21C10E; Thu, 24 Jan 2013 00:02:47 +0000 (UTC) Received: from mail-gh0-f176.google.com (mail-gh0-f176.google.com [209.85.160.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6BDC121C004 for ; Thu, 24 Jan 2013 00:02:45 +0000 (UTC) Received: by mail-gh0-f176.google.com with SMTP id f16so364409ghb.21 for ; Wed, 23 Jan 2013 16:02:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=3qY5aKg7ed4mZSCO8tJme21BDfhtFjnhTE0HFGoY20k=; b=nMhZ+NdYSDeuahveBrB08p4lpkoeSfpxqbU/PgToLY+ayujGQuVtXHHn2ksprPDqyl U8k3jaYGrmRJMDRT4SkqyVtoC0Mo1e1e/N1kZFW5uPfnR51vCEj2l7IycaKwpxzGLTOL 7xjVnLEI61V94MLbgRHd9OdQzIJlQldMpomVXszJy3+CJkOknH8FNyzS09DyoZW2LC9Y Uy60S3m5jWshuXTQwp9rloMQmiPXnWE1ujCgnfxsP3FEDMX2fJbioZPh0mnS/NGGy5BV GKM8RXFvhzC8lDCrFZo+PeFL41yTpCyaE6SM/OzIX+WIRFd24PNyMBOdeWZM+lv2CM+j y5Qw== X-Received: by 10.236.168.164 with SMTP id k24mr56734yhl.27.1358985764575; Wed, 23 Jan 2013 16:02:44 -0800 (PST) Received: from [192.168.2.5] (adsl-74-240-57-140.jan.bellsouth.net. [74.240.57.140]) by mx.google.com with ESMTPS id j8sm19238065ank.21.2013.01.23.16.02.41 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jan 2013 16:02:43 -0800 (PST) Message-ID: <51007A15.1080200@gmail.com> Date: Wed, 23 Jan 2013 18:02:29 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How can I update *every* ebuild? References: <51003E73.2080201@gmail.com> In-Reply-To: X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: a2ffeae5-29f4-4758-ad0c-52c4c8a9f8c9 X-Archives-Hash: 9c6ee5e20e1b1c14c5395d15dbdceb6d Michael Mol wrote: > On Wed, Jan 23, 2013 at 3:07 PM, Hilco Wijbenga > wrote: >> On 23 January 2013 11:53, Michael Mol wrote: >>> On Wed, Jan 23, 2013 at 2:48 PM, Jarry wrote: >> >>>> emerge --update --deep --newuse world >>>> emerge --update --deep --newuse system >> >>>> 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!