From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1On78c-0001QL-0t for garchives@archives.gentoo.org; Sun, 22 Aug 2010 09:46:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0A6BE07A1; Sun, 22 Aug 2010 09:45:54 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id B9BA9E07A1 for ; Sun, 22 Aug 2010 09:45:54 +0000 (UTC) Received: by wyf28 with SMTP id 28so6589016wyf.40 for ; Sun, 22 Aug 2010 02:45:54 -0700 (PDT) Received: by 10.216.54.73 with SMTP id h51mr1282692wec.100.1282470353997; Sun, 22 Aug 2010 02:45:53 -0700 (PDT) Received: from aemaeth.localnet (93-34-52-37.ip48.fastwebnet.it [93.34.52.37]) by mx.google.com with ESMTPS id h37sm2890352wej.47.2010.08.22.02.45.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Aug 2010 02:45:52 -0700 (PDT) From: Francesco Talamona Organization: i.Know To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: autodepclean script (was "how to remove HAL") Date: Sun, 22 Aug 2010 11:45:49 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-gentoo-r1; KDE/4.4.5; x86_64; ; ) References: <201008211207.40833.francesco.talamona@know.eu> <20100821233205.GA7609@waltdnes.org> In-Reply-To: <20100821233205.GA7609@waltdnes.org> 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="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008221145.49816.francesco.talamona@know.eu> X-Archives-Salt: 603854f2-3b3c-4eec-a14a-17d37a24f75d X-Archives-Hash: cbe68c463c173310df190a48212439cc On Sunday 22 August 2010, Walter Dnes wrote: > On Sat, Aug 21, 2010 at 12:07:40PM +0200, Francesco Talamona wrote > > > I'm unclear about the aim of your script, what does different from > > "emerge -a --depclean" followed by "revdep-rebuild -- -a"? > > The autodepclean script automatically generates a list of of target > ebuuilds to clean out (i.e. "cleanscript"). This gives you the > opportunity to review it and delete items from the list before going > ahead. Does "emerge -a --depclean" allow you to skip individual > items? Ah ok, now i see the point. Usually I prefer to stop depclean (answering no) and specify the exceptions with emerge --noreplace. This is because the exclusion of some packages from depclean can affect the following result of it. If you install a package having many dependencies, with emerge --oneshot and then run emerge --depclean you'll see that is easier to run two times depclean than edit the generated list :) Cheers Francesco -- Linux Version 2.6.35-gentoo-r1, Compiled #1 SMP PREEMPT Wed Aug 11 07:11:30 CEST 2010 Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11657 Bogomips Total aemaeth