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 ) id 1GmdZ7-0000uI-Ms for garchives@archives.gentoo.org; Tue, 21 Nov 2006 21:54:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kALLptkS022574; Tue, 21 Nov 2006 21:51:55 GMT Received: from aa013msr.fastwebnet.it (aa013msr.fastwebnet.it [85.18.95.73]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kALLnjF0007395 for ; Tue, 21 Nov 2006 21:49:45 GMT Received: from [37.1.3.90] (37.1.3.90) by aa013msr.fastwebnet.it (7.3.105.6) (authenticated as cyclopia) id 452E074A01A7D953 for gentoo-user@lists.gentoo.org; Tue, 21 Nov 2006 22:49:45 +0100 Message-ID: <456384DF.8010108@gmail.com> Date: Tue, 21 Nov 2006 22:59:43 +0000 From: "b.n." User-Agent: Mozilla Thunderbird 1.5.0.8 (X11/20061117) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] In need of script/command that will parse out all the packages from "emerge -avu world" References: <7573e9640611201259y2e557a6fv67f0f06ff1c0b40c@mail.gmail.com> <200611202216.kAKMGmgI026425@robin.gentoo.org> <97c95c3d0611201436k67100963of5378905d69fe65c@mail.gmail.com> <45624518.40406@gmail.com> <7573e9640611201741l8234439gb9ac1824a0f9efb3@mail.gmail.com> In-Reply-To: <7573e9640611201741l8234439gb9ac1824a0f9efb3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ff4d24bd-1ccb-4051-873c-750258792d34 X-Archives-Hash: ab7624de0b6075b4aaf85b5db3a900f8 > Boris has the right answer, but skipped a step or two in his > explanation. You are correct that "emerge -C" will not remove > dependant packages. But emerge --depclean never removes anything that > is in your world file. >[snip] > Some more time passes, you realize you have a lot of crap you are not > using installed, and decide to cleanup a bit, starting with "emerge -C > xfce4". xfce4 is a metabuild that has no files, so that goes really > quick, and doesn't really get rid of anything. Now you do "emerge > --depclean world", figuring that will clean out dependancies. But > because you have all of those xfce4 > packages in your world file, depclean doesn't want to remove any of them. OK, now I understand. Thanks a lot. I always thought that world was just "the set of all packages installed in my system" and that --oneshot was just a way to override updates. Probably I didn't read the gentoo manual very well :) m. -- gentoo-user@gentoo.org mailing list