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.50) id 1EXQgu-0000N6-PE for garchives@archives.gentoo.org; Wed, 02 Nov 2005 22:02:45 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jA2Lxkju029520; Wed, 2 Nov 2005 21:59:46 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jA2LxjDN004591 for ; Wed, 2 Nov 2005 21:59:45 GMT Received: from smtpq1.groni1.gr.home.nl ([213.51.130.200]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EXQe1-0005ud-4J for gentoo-amd64@lists.gentoo.org; Wed, 02 Nov 2005 21:59:45 +0000 Received: from [213.51.130.189] (port=46499 helo=smtp2.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.30) id 1EXQe0-0005M7-L8 for gentoo-amd64@gentoo.org; Wed, 02 Nov 2005 22:59:44 +0100 Received: from cc117081-a.gorre1.fr.home.nl ([217.120.139.9]:35365 helo=manuel.basil.mine.nu) by smtp2.groni1.gr.home.nl with esmtp (Exim 4.30) id 1EXQdz-0004Eu-IW for gentoo-amd64@gentoo.org; Wed, 02 Nov 2005 22:59:43 +0100 From: Harm Geerts To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Re: Re: Re: libungif and giflib conflict. Date: Wed, 2 Nov 2005 22:59:51 +0100 User-Agent: KMail/1.8.3 References: <3ab1ed150510312136j4ea70304g81186f14c5cab492@mail.gmail.com> <200511021409.38666.harmgeerts@home.nl> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511022259.51970.harmgeerts@home.nl> X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean X-Archives-Salt: 23c2b3a0-edab-4669-9494-12e1b68187b5 X-Archives-Hash: 5d592219789129dc8193e22899626314 On Wednesday 02 November 2005 21:54, Duncan wrote: > Hmm... That --noreplace is a new one on me. I normally simply > > echo >> /var/lib/portage/world > > That appends the echoed cat/package to the end of the named file, > accomplishing what we are after. The only down side to doing it manually > (using echo) is if you typo. Still, that's not hard to catch and fix, if > depclean still wants to remove the package you (thought you) just added. > Newer versions of portage (don't believe it's in stable portage yet) even > have an emaint command that removes the bad lines for you. So did I, but now the warning `emerge depclean` produces tells me I can use this. I find this rather nice as it is a lot safer and keeps the world file free from user errors. For example replacing >> with > would be the most destructive user error :P I have portage 2.0.53_rc7 installed and I'm not sure which version introduced --noreplace so it might not be available for everyone yet. > 2. All this should reemphasize the role of the world file. It should > list all your "leaf" packages, for the most part, executables. It should > NOT list "trunk and branch" packages, dependencies of the leaves, for the > most part, libraries and the like. Ed Catmur has written a script that prunes the world file. http://home.jesus.ox.ac.uk/~ecatmur/my-bin/dep This will tune your world to only list leaf packages. But this may not always be desired, use at your own discretion. I've got nothing else to add so I guess this concludes the course "Maintaining Gentoo in a nutshell" by Duncan and Harm Geerts :) -- gentoo-amd64@gentoo.org mailing list