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 1NKH7M-00016p-2X for garchives@archives.gentoo.org; Mon, 14 Dec 2009 20:02:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A942CE0BC3 for ; Mon, 14 Dec 2009 20:02:03 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by pigeon.gentoo.org (Postfix) with ESMTP id 2AD1AE0C4F for ; Mon, 14 Dec 2009 18:56:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NKG5O-0001F3-G1 for gentoo-amd64@lists.gentoo.org; Mon, 14 Dec 2009 19:55:58 +0100 Received: from athedsl-379032.home.otenet.gr ([79.131.32.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Dec 2009 19:55:58 +0100 Received: from realnc by athedsl-379032.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Dec 2009 19:55:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-amd64] Re: Portage Fails To Find Updates Date: Mon, 14 Dec 2009 20:55:36 +0200 Organization: Lucas Barks Message-ID: References: <20091214124309.fb40ca6e.frank.peters@comcast.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-379032.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Thunderbird/3.0 In-Reply-To: <20091214124309.fb40ca6e.frank.peters@comcast.net> Sender: news X-Archives-Salt: c04c89f4-5171-4a6e-8ae2-4207f93d3621 X-Archives-Hash: 11015aee6756c7868c0c63ad93a5a968 On 12/14/2009 07:43 PM, Frank Peters wrote: > Today, doing an "emerge -pvDu world" I get the report that no packages > need to be updated. > > But while checking the status of another package, I happen to execute > "emerge -pv rpm2targz." This then reports that the package rpm2targz > needs to be updated. > > Why didn't the "emerge -pvDu world" tell me about this? > > Further checking reveals that all packages that are installed on my > machine are contained in the /var/db/pkg directory. However, the "world" > file, which is located at /var/lib/portage/world, should contain the same > listing but it does not. I notice that some packages in /var/db/pkg > are not listed in /var/lib/portage/world. > > Actually, the "world" file has 257 entries, while the "/var/lib/portage/world" > directory contains 414 packages. > > Why has portage failed to add all packages to the "world" file? > Have I been doing something wrong? > > In any case, I can rebuild the world file manually to accurately > reflect the state my system, but, based upon this current observation, > portage may fail to keep it accurate in the future. > > What is going on here? What's going on is that you missed a few stuff about how Gentoo works :P The world file contains the packages you merged yourself, not dependencies of packages pulled-in automatically. Packages that are dependencies of other packages should never be in world. "emerge -pvDu world" will not update packages that are build-time dependencies of other packages (as opposed to run-time deps). If you want build-time deps updated too, you should also specify "--with-bdeps=y" in the emerge command. Hope that helps :)