public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64]  Re: Portage Fails To Find Updates
Date: Mon, 14 Dec 2009 20:55:36 +0200	[thread overview]
Message-ID: <hg61mu$lsh$1@ger.gmane.org> (raw)
In-Reply-To: <20091214124309.fb40ca6e.frank.peters@comcast.net>

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 :)




  parent reply	other threads:[~2009-12-14 20:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-14 17:43 [gentoo-amd64] Portage Fails To Find Updates Frank Peters
2009-12-14 18:01 ` [gentoo-amd64] " Frank Peters
2009-12-14 20:21   ` Barry Schwartz
2009-12-14 18:55 ` Nikos Chantziaras [this message]
2009-12-14 19:39 ` [gentoo-amd64] " Morgan Wesström

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hg61mu$lsh$1@ger.gmane.org' \
    --to=realnc@arcor.de \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox