From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-43120-garchives=archives.gentoo.org@gentoo.org>) id 1Fmny1-0004Jo-HJ for garchives@archives.gentoo.org; Sun, 04 Jun 2006 08:28:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k548QtAK006695; Sun, 4 Jun 2006 08:26:55 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k548JZNZ027181 for <gentoo-user@lists.gentoo.org>; Sun, 4 Jun 2006 08:19:36 GMT Received: by wr-out-0506.google.com with SMTP id 69so1137838wri for <gentoo-user@lists.gentoo.org>; Sun, 04 Jun 2006 01:19:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DnxuJM51ntmXM0srVDcH1MHtFYOk+LCIFc6qqA9G4JErAW8hSAznmywO391+zqREl9jhbVrRsbV4ydE/xFEGcoGpaPMGyUOYAsgXfltj0w1vNXZojDPnXQHa/DZWxyPAthEo0OR9EvtxG8AIOMUvm9xV0ickC8Dg/FbR5PMLPVc= Received: by 10.65.38.18 with SMTP id q18mr2767113qbj; Sun, 04 Jun 2006 01:19:35 -0700 (PDT) Received: by 10.65.53.5 with HTTP; Sun, 4 Jun 2006 01:19:35 -0700 (PDT) Message-ID: <7797aa370606040119q271f6f39oe83101d2989a0d7d@mail.gmail.com> Date: Sun, 4 Jun 2006 08:19:35 +0000 From: "Chuanwen Wu" <wcw8410@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: dangerous to emerge --depclean In-Reply-To: <e5scen$2d7$1@sea.gmane.org> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Disposition: inline References: <7797aa370606030741o644f7c82nbf3f9747d1549454@mail.gmail.com> <e5scen$2d7$1@sea.gmane.org> X-MIME-Autoconverted: from base64 to 8bit by robin.gentoo.org id k548JZNZ027181 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k548QtAc006695 X-Archives-Salt: ffed6e91-fa0f-4570-9c1b-5192b37aa7c4 X-Archives-Hash: cb7dbf7ffc2c7b8715716267cb39818c 2006/6/3, Sven K=C3=B6hler <skoehler@upb.de>: > > I just can't understand why "emerge -- depclean" such a dangerous > > command can exist or i do it in a wrong way(although i think i am > > right). > > Have you seen the big fat warning that says "emerge --depclean may > damage your system" ? > > "--depclean" is a nice service for advanced users. It's nothing for > beginners. You should know, why it does - and how it does what it does. > > Well, --depclean start with all the packages in your world-file > (/var/lib/portage/world) and then it visits all the dependencies and th= e > dependencies of the dependencies of the packages. > > All the packages, that are installed but that are not in the world file > or not a dependency, these packages are removed. Thanks for your advices!I have learned a lot! > > > --=20 wcw --=20 gentoo-user@gentoo.org mailing list