From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JSsUn-000285-95 for garchives@archives.gentoo.org; Sat, 23 Feb 2008 11:24:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AF40E0483; Sat, 23 Feb 2008 11:24:43 +0000 (UTC) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 3BB97E0483 for ; Sat, 23 Feb 2008 11:24:43 +0000 (UTC) Received: by py-out-1112.google.com with SMTP id w53so940286pyg.25 for ; Sat, 23 Feb 2008 03:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=zQpTOWFxWbBHixplmn7qEWa9hceVZ1Lnj7guHsEVUZ0=; b=IpKWgofFnJfrHWdXeRIUR7DWq+RfdBfJOGnki5N7JTGNLfzRnQkN1R7AXVR/QHx+enTkQ83jNupWJtX/vgfNaSuzywtGxZK5MFM2nnYwzV1lj6624sx8aTVRKZVFlRJObN+6+Bok7s7vNiZdhIYWH39PXhhYiCHZuFYZXpCPsMA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=ZdlbcwG+B7iMbh+r5d0q0x2hUq8NsNHMnBKyqvR3Y7hlQlVN53SerKNjFviiNUaCV2qztNh2cPVNGNRyd/9neQ3N05JkO0AQOEmy/xMrhn7tzXms7hGV/yAqpN5/cXy1aIQRt4yPe3Nx/s4jIdEBfoauezZo4gN5RFBXSBqFTe8= Received: by 10.65.192.19 with SMTP id u19mr703540qbp.81.1203765881683; Sat, 23 Feb 2008 03:24:41 -0800 (PST) Received: from ?10.0.0.3? ( [41.243.209.57]) by mx.google.com with ESMTPS id d24sm1559078nfh.22.2008.02.23.03.24.38 (version=SSLv3 cipher=OTHER); Sat, 23 Feb 2008 03:24:40 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] "emerge -ef world" and "eclean =?iso-8859-1?q?--destructive=09distfiles?=" do not agree Date: Sat, 23 Feb 2008 13:20:58 +0200 User-Agent: KMail/1.9.7 References: <47BF69A3.8050302@gmail.com> <20080223031858.GA9251@localhost> <47BFEF24.7030703@gmail.com> In-Reply-To: <47BFEF24.7030703@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="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802231320.58781.alan.mckinnon@gmail.com> X-Archives-Salt: 0913bf03-3746-4b5b-8920-c9a52c249bca X-Archives-Hash: 0af3e33f6543cbf08dff597eee7ffb2e On Saturday 23 February 2008, Erik wrote: > I check with the file klibc-1.5.8.tar.bz2. > # emerge -up klibc > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild U ] dev-libs/klibc-1.5.8 [1.5] > > So it seems like klibc is outdated but "emerge -uDNav world" does not > want want to update it! > # equery d klibc > [ Searching for packages depending on klibc... ] > sys-apps/v86d-0.1.3 (dev-libs/klibc) > localhost ~ # grep sys-apps/v86d /var/lib/portage/world > sys-apps/v86d > > So sys-apps/v86d is in world and depends dev-libs/klibc, but yet > "emerge -uDNp world" does not want to update dev-libs/klibc, like > "emerge -up dev-libs/klibc" wants to! This looks like a --bdeps situation. v86D DEPENDS on klibc, it does not RDEPEND on it, meaning that klibc does not need to be updated to *build* a new v86d. v86d is in world so it will be updated because you told portage to always keep it up to date. klibc is not in world and a new updated klibc is not required to accomplish what you have asked to for - a complete update of every package that world expands to with dependencies taken into account. Remember what "world" is - it's a list of packages that you have explicitly asked to be there. It is NOT a list of everything you have installed. I can think of two ways to accomplish what you are asking for - use "--with-bdeps y" or include it in EMERGE_DEFAULT_OPTS - put klibc in world -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list