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 1G3eon-0007Lv-RE for garchives@archives.gentoo.org; Thu, 20 Jul 2006 20:08:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6KK72eJ022479; Thu, 20 Jul 2006 20:07:02 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6KJubUx010336 for ; Thu, 20 Jul 2006 19:56:37 GMT Received: by nf-out-0910.google.com with SMTP id m19so619736nfc for ; Thu, 20 Jul 2006 12:56:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=RJavCGNXCqdY+MuBapW9hJjxxnijwi4fI/eJdmT7bnz9r4sRuCv3hiQgZrSnPYNm52sdl6RL0mEZjUb0vZqER0psuNhd6M+ugM+t9Fwg3+uRRIC8l8wr09BCyRB2umzaqjNjeYGf3gNZCHHnbhghfl7gGv61gkGjQxiwDJOAJhc= Received: by 10.78.165.16 with SMTP id n16mr877946hue; Thu, 20 Jul 2006 12:55:02 -0700 (PDT) Received: by 10.78.16.7 with HTTP; Thu, 20 Jul 2006 12:55:02 -0700 (PDT) Message-ID: <7573e9640607201255y51beab1ai94c3cefb402aa529@mail.gmail.com> Date: Thu, 20 Jul 2006 12:55:02 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Questions on the number of packages listed by 'emerge --depclean' In-Reply-To: <1153421754.13426.17.camel@scarlatti.leonora.org> 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; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1153421754.13426.17.camel@scarlatti.leonora.org> X-Google-Sender-Auth: 8a04784298cbb10c X-Archives-Salt: 3657c9fb-91a9-4d0d-90d0-5b6db07375c8 X-Archives-Hash: bb8611ce31100efb16a0ee9b86bb1620 On 7/20/06, Vladimir G. Ivanovic wrote: > When I run 'emerge --depclean' I get this at the end as output: > > Packages installed: 2305 > Packages in world: 1762 WOW! That is a *huge* number of packages in world! > 1. It seems I'm missing 17 (2322 - 2305 = 17) packages. How can > find out the names of these packages? They are in the depclean output. If it shows up in depclean, it is not in world or system, nor a dependancy of something in world or system. > 2. It seems that I have 479 (2305 - 1762 - 64 = 479) packages that > are in neither world nor system. > A. What are the names of these packages? emerge -Devp system | awk -F'] ' '{ print $2 }' | awk '{ print $1 }' > ~/system_pkgs.txt equery -i list | grep "/" | while read pkg; do pkg="${pkg%-[0-9]*}" grep "$pkg" /var/lib/portager/world >/dev/null && continue grep "$pkg" ~/system_pkgs.txt >/dev/null && continue echo $pkg done > B. How did they get onto my system? They are dependancies of something in world or system. "equery depends ". > 3. It seems that I have 22 (2305 - 2283 = 22) packages that are > slotted. How can I check this? "emerge --prune --pretend world" Do *NOT* run this command without the --pretend option. -Richard -- gentoo-user@gentoo.org mailing list