From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-143081-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 8BAD51381F3
	for <garchives@archives.gentoo.org>; Wed,  5 Dec 2012 10:10:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 225A321C014;
	Wed,  5 Dec 2012 10:10:27 +0000 (UTC)
Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7399F21C005
	for <gentoo-user@lists.gentoo.org>; Wed,  5 Dec 2012 10:09:03 +0000 (UTC)
Received: by mail-bk0-f53.google.com with SMTP id j5so2043039bkw.40
        for <gentoo-user@lists.gentoo.org>; Wed, 05 Dec 2012 02:09:02 -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=5mgAuMEXRBj3GMbCjVUcY901mrXiywWNliUz+kP5N1w=;
        b=zsFJZRsmOhz0KSlqKQJkDbdFa7tFe2lYYCMnpcCdI4kYQexwRS8TFg81rvEJ7Q1y9H
         4Ud3NCziXwc6AvNHnq58jwkPAjhFtCUg4aPq0i5Bok61boayF9rY2Ax36mpmFJoBv3B5
         cdl6uitRSWbnn8S7g/BYkUSWQZPexUiF3ql+ZFQb48+44FzZpA5Bu+OfwrdwP4lhafwg
         wDa9iPWFGpCXRV+4AGEXVtB1Kc/XVMkOdHpXL+z/PzsUwvKrj68kbRoAvGV40IunpBpW
         WHdSNLUVirbX5xvkcbxI2LORNzZzPDc7rybD0eqBJG0xel6KbKb9zZv2PJwdcVNuqh0j
         2WEg==
Received: by 10.204.147.78 with SMTP id k14mr5042132bkv.7.1354702142731;
        Wed, 05 Dec 2012 02:09:02 -0800 (PST)
Received: from khamul.example.com (196-215-205-177.dynamic.isadsl.co.za. [196.215.205.177])
        by mx.google.com with ESMTPS id q22sm3203144bkv.16.2012.12.05.02.08.58
        (version=SSLv3 cipher=OTHER);
        Wed, 05 Dec 2012 02:09:00 -0800 (PST)
Date: Wed, 5 Dec 2012 12:05:50 +0200
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] System maintenance procedure?
Message-ID: <20121205120550.2bc346bf@khamul.example.com>
In-Reply-To: <CAN0CFw34hfSmjeBiAXDNEczaOaFhcdP5rybwg+DKOOzn+iHSkA@mail.gmail.com>
References: <CAN0CFw34hfSmjeBiAXDNEczaOaFhcdP5rybwg+DKOOzn+iHSkA@mail.gmail.com>
Organization: Internet Solutions
X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-pc-linux-gnu)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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: b94d25cc-4ccc-4151-89c9-8905b3b5f3e0
X-Archives-Hash: 7b749844c22adcf29b983a834af1cb76

On Tue, 4 Dec 2012 16:30:33 -0800
Grant <emailgrant@gmail.com> wrote:

> My unattended daily system maintenance procedure is like this:
> 
> layman -S
> emerge --sync
> emerge -pvDuN world
> emerge -pv --depclean
> eclean -p distfiles
> eclean -p packages
> 
> And then attended like this:
> 
> 
> revdep-rebuild
> etc-update
> elogv
> emerge --depclean
> eclean distfiles
> eclean packages
> 
> Am I missing any good stuff?
> 
> - Grant


I'd tweak the order of your attended run:

emerge -DuN world
emerge @preserved-rebuild
emerge --depclean
revdep-rebuild


The logic is:

Rebuild busted packages that portage already knows about
(@preserved-rebuild), then get rid of oudated packages and finally
revdep-rebuild to fix anything that --depclean broke.

@preserved-rebuild is getting very good at what it does lately
(supported in all recent portage version including stable IIRC), as is
--depclean, so revdep-rebuild seldom finds anything to do these days.

-- 
Alan McKinnon
alan.mckinnon@gmail.com