From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QLFeN-0003rJ-0C for garchives@archives.gentoo.org; Sat, 14 May 2011 14:16:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B4E81C056; Sat, 14 May 2011 14:13:10 +0000 (UTC) Received: from mail.muc.de (colin.muc.de [193.149.48.1]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F4D41C056 for ; Sat, 14 May 2011 14:13:04 +0000 (UTC) Received: (qmail 22285 invoked by uid 3782); 14 May 2011 14:12:59 -0000 Received: from acm.muc.de (pD9519D9C.dip.t-dialin.net [217.81.157.156]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 14 May 2011 16:12:57 +0200 Received: (qmail 16713 invoked by uid 1000); 14 May 2011 14:12:23 -0000 Date: Sat, 14 May 2011 14:12:23 +0000 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Two portage questions Message-ID: <20110514141223.GB3053@acm.acm> References: <20110514103109.GA3053@acm.acm> <201105141251.14810.alan.mckinnon@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201105141251.14810.alan.mckinnon@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Archives-Salt: X-Archives-Hash: f028fc99cb07f3f4c6936a8ed9a7c6d5 Hi, Alan. On Sat, May 14, 2011 at 12:51:14PM +0200, Alan McKinnon wrote: > Apparently, though unproven, at 12:31 on Saturday 14 May 2011, Alan Mackenzie > did opine thusly: > > 1. Where is it specified what is in "system" in the same way that > > "world" is in the file /var/lib/portage/world? > That is defined in your system profile, not by you. > /etc/make.profile is a symlink to something in $PORTDIR/profiles/ and that > defines the profile you are using. A profile is nothing more than a bunch of > files that define what your basic system consists of - things like minimum > packages to install, things that must not be installed, starting point for USE > flags, etc etc. > Profiles are cascading, meaning that more specific profiles can include other > more general ones, defined in files called "parent". These contain paths to > other directories (which themselves can have parents), and the whole lots os > recursively traversed from the bottom up till all the branches dead-end. The > full complete set of data you get out of all that is your complete profile. > The specific files that define the system set are called "packages" OK. Some of these directories have got three parents. ;-) The people deciding what goes into the "packages"es must have very steady hands. > > 2. How does emerge know which mutt to build when I do "emerge mutt"? > > There are three candidate files in /usr/portage/mail-client/mutt, e.g. > > mutt-1.5.21-r1.ebuild. > It will pick the ebuild with the highest version number, modified by your > rules concerning ACCEPT_KEYWORDS=, unmasked and masked packages. > If your system is set to stable (ACCEPT_KEYOWRDS=amd64 for example), it will > pick between mutt-1.5.20-r18 and mutt-1.5.21-r1 as those are both stable. > Usually it will be 1.5.21-r1 as that is the most recent version. Normally you > will find two or more stable versions for most packages. This is by design so > that if an update on a stable system by chance breaks something, you still > have an earlier version to fall back on should the need arise. OK, I get it. > If your system is set to unstable (ACCEPT_KEYOWRDS=~amd64 for example), it > will pick mutt-1.5.21-r2 as that version is unstable (displayed with a > ~ symbol next to it in output). I think I'll leave the unstable stuff alone. > Sometimes you get packages that are masked, indicated with [m] or [M]. These > are for lunatics to test, and there are rules concerning masking that you can > use to free these up for use (it's all in the man pages). Mutt does not have > any such packages but nvidia-drivers for example does. You must take explicit > steps to obtain the latest version. This is so that the odds of validly being > able to blame anyone at all when nvidia trashes your system are reduced to > exactly zero. > Do you have eix installed? You should, great tool, and makes figuring all this > out a whole lot easier. I've got it now. I'll go and have a look at it's /usr/share/doc / man page. Thanks! > -- > alan dot mckinnon at gmail dot com -- Alan Mackenzie (Nuremberg, Germany).