public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Morgan Wesström" <gentoo-amd64@pp.dyndns.biz>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Portage Fails To Find Updates
Date: Mon, 14 Dec 2009 20:39:23 +0100	[thread overview]
Message-ID: <4B26946B.5020208@pp.dyndns.biz> (raw)
In-Reply-To: <20091214124309.fb40ca6e.frank.peters@comcast.net>

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?

Most likely rpm2targz is an orphaned package. Try "emerge -p --depclean"
and see if it's listed. Orphaned packages are not updated by an emerge
world update since nothing is using it.

> 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?

Your world file should only contain your top level applications. All the
other packages are dependencies and should not be listed there.
Dependencies can come and go as functionality is moved between packages
and by not listing them there they can easily be removed by an "emerge
--depclean". If you insist on listing every package in your world file
you will end up with a bloated system, full of packages that aren't used
for anything.

> 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?

Nothing is going on. Everything is perfectly fine and is working
according to its design. :-)

> 
> Frank Peters
> 

/Morgan
> 



      parent reply	other threads:[~2009-12-14 20:03 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
2009-12-14 19:39 ` Morgan Wesström [this message]

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=4B26946B.5020208@pp.dyndns.biz \
    --to=gentoo-amd64@pp.dyndns.biz \
    --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