public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How come my 'esearch' isn't updated when I emerge something until the next 'esync'?!
Date: Fri, 17 Nov 2006 16:35:28 +0100	[thread overview]
Message-ID: <200611171635.34134.bo.andresen@zlin.dk> (raw)
In-Reply-To: <1163746886.15826.39.camel@orpheus>

[-- Attachment #1: Type: text/plain, Size: 1521 bytes --]

On Friday 17 November 2006 08:01, Iain Buchanan wrote:
> On Thu, 2006-11-16 at 22:27 -0800, Daevid Vincent wrote:
> > I always found this annoying...
> >
> > How come when I emerge something, my 'esearch' isn't updated until the
> > next time I do an 'esync'?
>
> because esearch trawls through /usr/portage only when you tell it to,
> and stores it's info in a database somewhere.

As you may know installed packages aren't stored in /usr/portage. They are 
installed in the vdb (/var/db/pkg). Apparently esearch doesn't look there 
either. As an extra bonus eupdatedb (which does look go through the vdb too) 
is a *lot* slower that its eix equivalent (update-eix). ;) So can anyone 
mention any advantage of esearch compared to eix?

[SNIP]
> > Then if I do an 'esync'
[SNIP]
> you shouldn't have to re-emerge it.  portage knows about the most recent
> version all the time, regardless of what esearch shows you.
>
> > *  www-apps/trac
> >       Latest version available: 0.10.1
> >       Latest version installed: 0.9.6
>
> [snip]
>
> this doesn't mean that you will have to re-install.  (someone can
> correct me here, but) I think this means that 0.10.1 is available, but
> not installed on your system probably because of masking.

He said he ran `esync` rather than `eupdatedb` so yes it does seem to mean 
that a new version of trac has been stabilized since the last time he ran 
`esync`.

PS: And oh.. I do agree with the rest of what you said Iain. :)

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-11-17 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17  6:27 [gentoo-user] How come my 'esearch' isn't updated when I emerge something until the next 'esync'?! Daevid Vincent
2006-11-17  7:01 ` Iain Buchanan
2006-11-17 15:35   ` Bo Ørsted Andresen [this message]
2006-11-17 16:33     ` Neil Bothwick
2006-11-18 10:41     ` Robert Cernansky
2006-11-18 19:16       ` Richard Fish
2006-11-17  7:01 ` Pawel Kraszewski
2006-11-17 13:33 ` [gentoo-user] " James
2006-11-18  0:42 ` [gentoo-user] " Boyd Stephen Smith Jr.
     [not found] <7i5oL-sa-7@gated-at.bofh.it>
2006-11-17  6:52 ` Zack Elan

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=200611171635.34134.bo.andresen@zlin.dk \
    --to=bo.andresen@zlin.dk \
    --cc=gentoo-user@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