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 1GmI0b-0006oX-UM for garchives@archives.gentoo.org; Mon, 20 Nov 2006 22:53:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAKMnY40020458; Mon, 20 Nov 2006 22:49:34 GMT Received: from gabriel.sub.uni-goettingen.de (gabriel.sub.uni-goettingen.de [134.76.163.126]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAKMkkdr032686 for ; Mon, 20 Nov 2006 22:46:46 GMT Received: by gabriel.sub.uni-goettingen.de (Postfix, from userid 8) id 3BEEC10809B; Mon, 20 Nov 2006 23:46:46 +0100 (CET) Received: from localhost (dslb-082-083-050-014.pools.arcor-ip.net [82.83.50.14]) by gabriel.sub.uni-goettingen.de (Postfix) with ESMTP id 72697108097 for ; Mon, 20 Nov 2006 23:46:44 +0100 (CET) Date: Mon, 20 Nov 2006 23:50:55 +0100 From: Hans-Werner Hilse 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" Message-Id: <20061120235055.47772361.hilse@web.de> In-Reply-To: <200611202216.kAKMGmgI026425@robin.gentoo.org> References: <7573e9640611201259y2e557a6fv67f0f06ff1c0b40c@mail.gmail.com> <200611202216.kAKMGmgI026425@robin.gentoo.org> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i586-pc-linux-gnu) 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 Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Details: No, hits=2.3 required=5.0 tests=AWL,RCVD_IN_DSBL, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on gabriel.sub.uni-goettingen.de X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id kAKMkkdr032686 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id kAKMnY4S020458 X-Archives-Salt: 2913635e-a861-487a-9dff-61a72ab52633 X-Archives-Hash: 61503c172654e7a272c9fa009166ca4e Hi, On Mon, 20 Nov 2006 14:18:39 -0800 "Daevid Vincent" wrote: > > This script doesn't use the --oneshot option when merging, so it will > > add all updating packages to your world file. I hope you haven't use= d > > this... :-( >=20 > I don=92t understand this --oneshot option? I've never used it in all m= y > gentoo years. Why wouldn't I want packages in my world file? Isn't that= how > they get updated when new ones come out? Anything in my 'emerge -avu wo= rld', > I would not have a --oneshot for, so why would I do it any different if= I > manually did 'emerge -av pkg1 pkg2 pkg3 ...'? An "emerge -uD" will check all dependencies for updates. So that's how one is supposed to make a full update. You most certainly don't want all packages in your world file. This would include dependency packages (e.g. libraries), which might not be dependencies tomorrow (changed software, changed USE flags, etc.pp.). And when you do the occasional "emerge --depclean", it can't take those "stale dependencies" into account, because they are in the world file. So e.g. libraries not linked anymore to anything would still be left on the precious disc space, because they're in the world file. I regularly take an editor and trim down my world file (I forget about --oneshot very often) to the packages I want to use. Then I run "emerge --depclean" to get rid of old cruft (to be sure, I could have done a "emerge -pvDn world" before, but I trust myself enough not to shoot myself in the foot). -hwh --=20 gentoo-user@gentoo.org mailing list