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.62) (envelope-from ) id 1HU63x-0005Su-8c for garchives@archives.gentoo.org; Wed, 21 Mar 2007 19:01:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l2LIxeEj013086; Wed, 21 Mar 2007 18:59:40 GMT Received: from relay04.roc.ny.frontiernet.net (relay04.roc.ny.frontiernet.net [66.133.182.167]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l2LIxdvj013081 for ; Wed, 21 Mar 2007 18:59:40 GMT X-Virus-Scanned: by amavisd-new-2.4.1 at filter03.int.roc.ny.frontiernet.net Received: from relay04.roc.ny.frontiernet.net ([66.133.182.167]) by localhost (filter03.int.roc.ny.frontiernet.net [66.133.183.70]) (amavisd-new, port 10024) with LMTP id ccX0vqswgVLn for ; Wed, 21 Mar 2007 18:59:13 +0000 (UTC) X-Trace: 53616c7465645f5fd62a0e3f991d54df9761bf935eeff4a000f76317b22a5ee871cbe4ea10fe1b3b50306ad18c4adac5173df7498197dce20822605aeab42c8531c1872a80e4a6747cd5ea81cca74a3cf50c2b107b05151b007cc3e06a26c8a5 Received: from [192.168.1.101] (70-101-72-254.dsl1-field.roc.ny.frontiernet.net [70.101.72.254]) by relay04.roc.ny.frontiernet.net (Postfix) with ESMTP id 6AC7010067A for ; Wed, 21 Mar 2007 18:59:36 +0000 (UTC) Message-ID: <46018097.20403@frontiernet.net> Date: Wed, 21 Mar 2007 14:59:35 -0400 From: Bob Slawson User-Agent: Thunderbird 1.5.0.10 (X11/20070304) 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 To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Quick Portage How to References: <46017D53.2060805@ercbroadband.org> In-Reply-To: <46017D53.2060805@ercbroadband.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 1c7f2831-fdbd-4dc5-821f-6b6b6cdb6040 X-Archives-Hash: 02dafc24cfbbec3bea79d25ff20fa473 Mark Haney wrote: > Is there a way I can get portage to show me all the listed kernel > sources I've installed? When I've removed kernel sources I no longer > need because of upgrades I've just rm -rf the kernel directory. Since > I've done that, I've realized that portage is probably keeping that in > in world as installed and I would like to keep the portage db as clean > as possible. > > Does that make sense? > Sure, I've worked that way as well. A great addition is: emerge eix and run 'update-eix'. This builds a database of installed packages. Then % eix gentoo-sources (or vanilla-sources or whatever) will list all the available ebuilds for gentoo-sources and highlight those that portage thinks are installed. 'unmerge'ing those you don't want will clean up portage's database of installed packages. Doesn't remove /lib/modules// though or old kernels from /boot/. Seems that manual deletion is required here. HTH BobS -- gentoo-amd64@gentoo.org mailing list