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 1H3Tzp-0004ml-Gv for garchives@archives.gentoo.org; Sun, 07 Jan 2007 09:07:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l07954C0000334; Sun, 7 Jan 2007 09:05:04 GMT Received: from ilievnet.com ([84.21.204.200]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l07931V2030905 for ; Sun, 7 Jan 2007 09:03:01 GMT Received: from localhost (localhost [127.0.0.1]) by ilievnet.com (Postfix) with ESMTP id 3519021A022 for ; Sun, 7 Jan 2007 11:02:59 +0200 (EET) X-Virus-Scanned: amavisd-new at ilievnet.com Received: from ilievnet.com ([127.0.0.1]) by localhost (ilievnet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x9W6KfJ7g-jR for ; Sun, 7 Jan 2007 11:02:57 +0200 (EET) Received: from [10.0.1.1] (mail.ilievnet.com [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ilievnet.com (Postfix) with ESMTP id 820CA20D01D for ; Sun, 7 Jan 2007 11:02:56 +0200 (EET) Message-ID: <45A0B73D.20605@ilievnet.com> Date: Sun, 07 Jan 2007 11:02:53 +0200 From: Daniel Iliev User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.8) Gecko/20061112 SeaMonkey/1.0.6 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] couple of newbie questions about emerge References: <17824.44410.827795.379755@ccs.covici.com> In-Reply-To: <17824.44410.827795.379755@ccs.covici.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3f322d00-b339-4312-8168-fcb6e8aa16bc X-Archives-Hash: aa85422c826d58f6187742eeb95c0316 John covici wrote: > Hi. I am new to gentoo -- I have used Debian and rpm type > distributions, but I have a fewquestions about emerge. > > 1) Any way to get a package list as one line per package like > debian's dpkg -l or rpm's rpm -qa ? The --info gives info about > the system, but does not seem to give a list of packages. > > 2) How do I ensure that all dependencies of a package are updated -- > does --update --deep do this and would --update --deep world or > system do this? > > 3) Where are the packages listed for system? For instance I > installed coldplug and it installed pciutils, but that package is > not listed in world -- should it be? Or is it a system package? > > OK, that's it for now -- thanks much in advance for your help. > > 1) "emerge -ep world" should list all currently installed packages 2) yes, "emerge -uD world" keeps your system up-todate 3) "emerge -ep system" gives you the base system packages. In the example you gave "pciutils" is installed as a depandecy. Following this case if yu decide to uninstall coldplug ( "emerge -C coldplug") then "pciutils" would remain in your system as an orphaned package. Use "emerge --depclean" to remove such packages. I'm kindly recommending you to read *"man emerge"*, "man portage", "man make.conf". -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list