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 10B8A1381F3 for ; Wed, 12 Dec 2012 06:10:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80A2D21C039; Wed, 12 Dec 2012 06:10:08 +0000 (UTC) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08FCE21C04F for ; Wed, 12 Dec 2012 06:08:50 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id e12so105742wge.10 for ; Tue, 11 Dec 2012 22:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=mzO0ZPojaL7p1zLLB5WkFNQ36/BVzjLgGlpxxWIJRxg=; b=JrRyF+BWMdGtoaepFkmhMlSEMV5XuV4RPnJPwOs3do7pZocAHlBUt9xbiKm+Kpvw7p FMKbZcG7S0HJQZI4kHtZnVAQH5PIY95byBlDY8O8p9NL5153+/KDexIdKN919FUk50lx ZqEp6ESxQU7EGUyiXHMDOmSSe16PYx9NxsJBytGywflSPLJaFYpmcd5VyOnAFGxgUOs5 ge1xlA4Oxen52Kr1w885VAVnqYxkldHfDc/k1XjY2Sc2pO2epGKHv6fGeOgYwlDOLSv0 M2ZMrZ4ckMYLkyjgIJP0JhpHWwpc5FoGoPbsBhmP5w7w/O9xojoxH+ybtCNjXfEYFjrP Ussw== Received: by 10.180.81.41 with SMTP id w9mr10852742wix.18.1355292529736; Tue, 11 Dec 2012 22:08:49 -0800 (PST) Received: from khamul.example.com (196-215-209-117.dynamic.isadsl.co.za. [196.215.209.117]) by mx.google.com with ESMTPS id hg17sm1766831wib.1.2012.12.11.22.08.47 (version=SSLv3 cipher=OTHER); Tue, 11 Dec 2012 22:08:48 -0800 (PST) Date: Wed, 12 Dec 2012 08:05:24 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] System maintenance procedure? Message-ID: <20121212080524.2364bbed@khamul.example.com> In-Reply-To: <20121211133610.GL8486@server> References: <20121205120550.2bc346bf@khamul.example.com> <20121208220616.44fb92ae@khamul.example.com> <20121208232507.6f348f86@khamul.example.com> <20121208224950.40759f8e@digimed.co.uk> <50C3CB44.7070307@gmail.com> <20121209131841.GX23914@server> <20121209164824.18b9f563@digimed.co.uk> <20121211133610.GL8486@server> Organization: Internet Solutions X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-pc-linux-gnu) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: d21e852b-85c0-41cb-807b-664bee75419d X-Archives-Hash: a379f096ec73b71a553bd40a098c6ee3 On Tue, 11 Dec 2012 07:36:10 -0600 Bruce Hill wrote: > On Sun, Dec 09, 2012 at 04:48:24PM +0000, Neil Bothwick wrote: > > > > > workstation ~ # emerge -a @preserved-rebuild > > > emerge: 'preserved-rebuild' is an empty set > > > emerge: no targets left after set expansion > > > > So you have nothing that needs rebuilding. Portage will warn you > > when the set it non-empty, telling you to run emerge > > @preserved-rebuild. There is no need to run it at any other time. > > After using Gentoo for close to two years, the only time/place I've > ever even seen @preserved-rebuild is in this thread. Yet you say, > "Portage will warn you when the set is [it] non-empty, telling you to > run emerge @preserved-rebuild." > > How will portage do this? An alias 'ud' > > alias ud='eix-sync && emerge -aDjNuv @world && dispatch-conf && > emerge -a --depclean && revdep-rebuild -i && clear && exit' > > is run every morning with my first cup of coffee. If something were > changed or left off that alias do you suppose this mysterious > @preserved-rebuild would be run? No, you would likely never see it. Your alias runs revdep-rebuild, which would inelegantly fix the very problem that @preserved-rebuild elegantly fixes. Of course, all this assumes that your version of portage supports @preserved-rebuild To use it, you simply notice the portage message right at the end of an emerge and run "emerge @preserved-rebuild" - it's just a regular emerge using a particular built-in set that has a defined purpose -- Alan McKinnon alan.mckinnon@gmail.com