Re: [gentoo-user] equery caching?

2005-07-08 Thread Catalin Grigoroscuta




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 [EMAIL PROTECTED] 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



  
  
  






Re: [gentoo-user] equery caching?

2005-07-08 Thread Catalin Grigoroscuta




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 [EMAIL PROTECTED] 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



  
  
  






Re: [gentoo-user] equery caching?

2005-07-08 Thread Zac Medico
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] equery caching?

2005-07-07 Thread Catalin Grigoroscuta

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



Re: [gentoo-user] equery caching?

2005-07-07 Thread Wade Brown
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 [EMAIL PROTECTED] 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



RE: [gentoo-user] equery caching

2005-07-07 Thread Zac Medico
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.

Zac
-- 
gentoo-user@gentoo.org mailing list