* [gentoo-user] equery caching?
@ 2005-07-07 15:40 Catalin Grigoroscuta
2005-07-07 22:43 ` Wade Brown
0 siblings, 1 reply; 6+ messages in thread
From: Catalin Grigoroscuta @ 2005-07-07 15:40 UTC (permalink / raw
To: gentoo-user
Hello,
I've just rebuilt my system without "motif" use flag (with emerge
--newuse, etc).
Everything works fine, except that equery shows stale data.
For example:
1. "equery depends emacs" shows openmotif as dependency, but emacs is
rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
2. "equery hasuse motif" also shows emacs
Is there any caching done by equery? How can I invalidate it?
Thank you,
Catalin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] equery caching?
2005-07-07 15:40 [gentoo-user] equery caching? Catalin Grigoroscuta
@ 2005-07-07 22:43 ` Wade Brown
2005-07-08 6:26 ` Catalin Grigoroscuta
2005-07-08 6:41 ` Catalin Grigoroscuta
0 siblings, 2 replies; 6+ messages in thread
From: Wade Brown @ 2005-07-07 22:43 UTC (permalink / raw
To: gentoo-user
Equery, esearch, and einfo (I think) are from an index built by
running eupdatedb. I'd imagine you're using esync which is just a
very small script that does emerge sync && eupdatedb, so doing a fresh
esync would alleviate the problem you seem to be having, albeit with a
bit of overkill. Just run eupdatedb as root and see if everything
updates properly.
On 7/7/05, Catalin Grigoroscuta <c.grigoroscuta@moodmedia.ro> wrote:
> Hello,
>
> I've just rebuilt my system without "motif" use flag (with emerge
> --newuse, etc).
> Everything works fine, except that equery shows stale data.
>
> For example:
> 1. "equery depends emacs" shows openmotif as dependency, but emacs is
> rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
> 2. "equery hasuse motif" also shows emacs
>
> Is there any caching done by equery? How can I invalidate it?
>
> Thank you,
> Catalin
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] equery caching?
2005-07-07 22:43 ` Wade Brown
@ 2005-07-08 6:26 ` Catalin Grigoroscuta
2005-07-08 7:06 ` Zac Medico
2005-07-08 6:41 ` Catalin Grigoroscuta
1 sibling, 1 reply; 6+ messages in thread
From: Catalin Grigoroscuta @ 2005-07-08 6:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1489 bytes --]
Hi,
I did not use esync, I did not even know about it, and I do not recall
seeing it in install docs...
It is quite strange why equery (which is in gentoolkit package) relies
on eupdatedb (which is in esearch package), and gentoolkit does not
depend on esearch.
If it were not for your answer, I wouldn't have known about esync and
eupdatedb.
I think maybe the install docs should be updated, or at least put
esearch as a dependency of gentoolkit.
Regards, and thanks for your answer,
Catalin
Wade Brown wrote:
>Equery, esearch, and einfo (I think) are from an index built by
>running eupdatedb. I'd imagine you're using esync which is just a
>very small script that does emerge sync && eupdatedb, so doing a fresh
>esync would alleviate the problem you seem to be having, albeit with a
>bit of overkill. Just run eupdatedb as root and see if everything
>updates properly.
>
>On 7/7/05, Catalin Grigoroscuta <c.grigoroscuta@moodmedia.ro> wrote:
>
>
>>Hello,
>>
>>I've just rebuilt my system without "motif" use flag (with emerge
>>--newuse, etc).
>>Everything works fine, except that equery shows stale data.
>>
>>For example:
>>1. "equery depends emacs" shows openmotif as dependency, but emacs is
>>rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
>>2. "equery hasuse motif" also shows emacs
>>
>>Is there any caching done by equery? How can I invalidate it?
>>
>>Thank you,
>>Catalin
>>
>>--
>>gentoo-user@gentoo.org mailing list
>>
>>
>>
>>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2082 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] equery caching?
2005-07-07 22:43 ` Wade Brown
2005-07-08 6:26 ` Catalin Grigoroscuta
@ 2005-07-08 6:41 ` Catalin Grigoroscuta
1 sibling, 0 replies; 6+ messages in thread
From: Catalin Grigoroscuta @ 2005-07-08 6:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2224 bytes --]
Hi again,
Even with eupdtaedb, same result.
I think this might be a bug in equery. Should I put it in bugzilla?
Here is the proof for what I think is a bug: see the output of "equery
hasuse motif" and "equery uses emacs". The results are contradictory.
catalin ~ # equery hasuse motif
[ Searching for USE flag motif in all categories among: ]
* installed packages
[I--] [ ] app-editors/emacs-21.4-r1 (21)
[I--] [ ] app-text/xpdf-3.00-r8 (0)
[I--] [ ] x11-terms/rxvt-2.7.10-r2 (0)
catalin ~ # equery uses emacs
[ Searching for packages matching emacs... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for app-editors/emacs-21.4-r1 ]
U I
+ + X : Adds support for X11
- - Xaw3d : Adds support of the 3d athena widget set
- - gnome : Adds GNOME support
+ + leim : Adds input methods support to Emacs
- - lesstif : Use lesstif over openmotif in cases where a program
supports both
- - motif : Adds motif support (x11-libs/openmotif x11-libs/lesstif)
+ + nls : <unknown>
- - nosendmail : If you do not want to install any MTA
Wade Brown wrote:
>Equery, esearch, and einfo (I think) are from an index built by
>running eupdatedb. I'd imagine you're using esync which is just a
>very small script that does emerge sync && eupdatedb, so doing a fresh
>esync would alleviate the problem you seem to be having, albeit with a
>bit of overkill. Just run eupdatedb as root and see if everything
>updates properly.
>
>On 7/7/05, Catalin Grigoroscuta <c.grigoroscuta@moodmedia.ro> wrote:
>
>
>>Hello,
>>
>>I've just rebuilt my system without "motif" use flag (with emerge
>>--newuse, etc).
>>Everything works fine, except that equery shows stale data.
>>
>>For example:
>>1. "equery depends emacs" shows openmotif as dependency, but emacs is
>>rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
>>2. "equery hasuse motif" also shows emacs
>>
>>Is there any caching done by equery? How can I invalidate it?
>>
>>Thank you,
>>Catalin
>>
>>--
>>gentoo-user@gentoo.org mailing list
>>
>>
>>
>>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3309 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] equery caching?
2005-07-08 6:26 ` Catalin Grigoroscuta
@ 2005-07-08 7:06 ` Zac Medico
2005-07-08 14:29 ` Wade Brown
0 siblings, 1 reply; 6+ messages in thread
From: Zac Medico @ 2005-07-08 7:06 UTC (permalink / raw
To: gentoo-user
Catalin Grigoroscuta wrote:
>> I've just rebuilt my system without "motif" use flag (with emerge
>> --newuse, etc).
>> Everything works fine, except that equery shows stale data.
>> For example:
>> 1. "equery depends emacs" shows openmotif as dependency, but emacs is
>> rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
The depends query shows all depends regardless of whether they are enabled or not (by USE flags).
>> 2. "equery hasuse motif" also shows emacs
>> Is there any caching done by equery? How can I invalidate it?
The hasuse query shows all USE flags regardless of whether they are enabled or not.
There is no cache, it queries the database directly.
> I did not use esync, I did not even know about it, and I do not recall
> seeing it in install docs...
> It is quite strange why equery (which is in gentoolkit package) relies
> on eupdatedb (which is in esearch package), and gentoolkit does not
> depend on esearch.
> If it were not for your answer, I wouldn't have known about esync and
> eupdatedb.
> I think maybe the install docs should be updated, or at least put
> esearch as a dependency of gentoolkit.
Gentoolkit and equery do not depend on esearch.
> Even with eupdtaedb, same result.
> I think this might be a bug in equery. Should I put it in bugzilla?
> Here is the proof for what I think is a bug: see the output of "equery
> hasuse motif" and "equery uses emacs". The results are contradictory.
I explained this above. If you file a bug then AFAIKT it's a feature request.
Zac
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] equery caching?
2005-07-08 7:06 ` Zac Medico
@ 2005-07-08 14:29 ` Wade Brown
0 siblings, 0 replies; 6+ messages in thread
From: Wade Brown @ 2005-07-08 14:29 UTC (permalink / raw
To: gentoo-user
Whoops, you're right, I thought that equery was part of the other
etools just because of the naming convention. Pity what not having
access to a gentoo box at work anymore will do to a man.
On 7/8/05, Zac Medico <zmedico@gmail.com> wrote:
> Catalin Grigoroscuta wrote:
>
> >> I've just rebuilt my system without "motif" use flag (with emerge
> >> --newuse, etc).
> >> Everything works fine, except that equery shows stale data.
> >> For example:
> >> 1. "equery depends emacs" shows openmotif as dependency, but emacs is
> >> rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
>
> The depends query shows all depends regardless of whether they are enabled or not (by USE flags).
>
> >> 2. "equery hasuse motif" also shows emacs
> >> Is there any caching done by equery? How can I invalidate it?
>
> The hasuse query shows all USE flags regardless of whether they are enabled or not.
>
> There is no cache, it queries the database directly.
>
> > I did not use esync, I did not even know about it, and I do not recall
> > seeing it in install docs...
> > It is quite strange why equery (which is in gentoolkit package) relies
> > on eupdatedb (which is in esearch package), and gentoolkit does not
> > depend on esearch.
> > If it were not for your answer, I wouldn't have known about esync and
> > eupdatedb.
> > I think maybe the install docs should be updated, or at least put
> > esearch as a dependency of gentoolkit.
>
> Gentoolkit and equery do not depend on esearch.
>
> > Even with eupdtaedb, same result.
> > I think this might be a bug in equery. Should I put it in bugzilla?
> > Here is the proof for what I think is a bug: see the output of "equery
> > hasuse motif" and "equery uses emacs". The results are contradictory.
>
> I explained this above. If you file a bug then AFAIKT it's a feature request.
>
> Zac
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-08 14:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07 15:40 [gentoo-user] equery caching? Catalin Grigoroscuta
2005-07-07 22:43 ` Wade Brown
2005-07-08 6:26 ` Catalin Grigoroscuta
2005-07-08 7:06 ` Zac Medico
2005-07-08 14:29 ` Wade Brown
2005-07-08 6:41 ` Catalin Grigoroscuta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox