From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L0hsi-0003fO-Jn for garchives@archives.gentoo.org; Thu, 13 Nov 2008 19:29:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1F06E048B; Thu, 13 Nov 2008 19:29:32 +0000 (UTC) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.148]) by pigeon.gentoo.org (Postfix) with ESMTP id 783DCE048B for ; Thu, 13 Nov 2008 19:29:32 +0000 (UTC) Received: by ey-out-1920.google.com with SMTP id 4so413082eyk.10 for ; Thu, 13 Nov 2008 11:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=v5Is8EMHTUfYU8+kev254j4tndUOngkEv2XQV+xsGKA=; b=e1hyI9tg1U77SRdXh3cvDVtPLO9P3IhYgTAiwj/I6Vc3nbO0pzj58BLMDzI+nfB4QF AAWCX4gT30+C87HFAs8owvDy40WXlEo/t+JR0s+3vegaiQB0PnSKJjaihbmL//VTNMTu Nq9Ncg2uRQxKEKkGT5uMbkbwx5C8/cYcaNjIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=NOAffuGTukVwRE2+5eLVPGVxZonsvOrK2VPkMUnF7lNqQJLG3zeTyQi9Q028LrDhIL 9cY3pcXDGJYNpNsozp5PA6YosvVwH5XoEdLuX7oOa+N93IxRD0gvi1EFPhBqy/fhyalf e0CHqCaSE9SVvSgJEWNvS4o6fPegeROgj6yr8= Received: by 10.210.65.2 with SMTP id n2mr114130eba.36.1226604570275; Thu, 13 Nov 2008 11:29:30 -0800 (PST) Received: from ?4.230.117.200? (dialup-4.230.117.200.Dial1.Houston1.Level3.net [4.230.117.200]) by mx.google.com with ESMTPS id c24sm3223424ika.16.2008.11.13.11.29.25 (version=SSLv3 cipher=RC4-MD5); Thu, 13 Nov 2008 11:29:29 -0800 (PST) Message-ID: <491C8012.9000106@gmail.com> Date: Thu, 13 Nov 2008 13:29:22 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17) Gecko/20081110 SeaMonkey/1.1.12 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] understanding --depclean References: <20081112044126.GA4995@anton.digitaltorque.ca> <491A62D8.4030300@gmail.com> <20081112090853.714c7933@digimed.co.uk> <491B0E9C.5050809@gmail.com> <20081112211209.5cb0f8c4@zaphod.digimed.co.uk> In-Reply-To: <20081112211209.5cb0f8c4@zaphod.digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: dd364c02-8ec5-4e6d-b98b-14dc3008985c X-Archives-Hash: 34c68b3510e00418c45e7a2514dc4919 Neil Bothwick wrote: > On Wed, 12 Nov 2008 11:13:00 -0600, Dale wrote: > > >>> That may have been the case some time ago, but depclean is much safer >>> now. Notice that the warning at the start of its output has >>> disappeared now? >>> > > > >> That is true but let's say a person updates python but forgets or >> doesn't know, to run python-updater, will --depclean know that? >> > > If packages depnd on the older version of python, depclean won't remove > them. If it's just a matter of depending on the correct modules, > python-updater will fix that after the older python has been removed. > It seems portage has changed a lot in how it tracks things. > >> What if emerge doesn't work and they don't have buildpkg of some sort in >> make.conf? >> > > Why would emerge stop itself working? > >From my unerstanding, if it can't find python, no worky. See above tho. > >> I agree that --depclean is a LOT better but there are still situations >> where it can mess up a system. It is best to be careful and really >> look at that list before letting it remove a package. Basically, don't >> type it in and walk off to let it do whatever it wants. >> > > While I always run it with --pretend first, that's because I'm more > curious than paranoid. What are these situations in which it can really > mess up a system and are they situations that any sensible user would put > themselves in? > > >> I also seem to remember that big warning when --depclean runs. I think >> that may still be there for a reason. ;-) >> > > See above, that warning has been gone for some time. The preamble now > contains this indication that depclean is a lot more cautious. > > * As a safety measure, depclean will not remove any packages > * unless *all* required dependencies have been resolved. As a > * consequence, it is often necessary to run `emerge --update > * --newuse --deep @system @world` prior to depclean. > > > I haven't used it in a while so I was not aware that it was changed. Looks like there as been some new code added here as well. I still think it reasonable to say that a person should be careful. Nothing is perfect. I know I watch it when I am doing some house cleaning. Dale :-) :-)