Gentoo Archives: gentoo-user

From: Catalin Grigoroscuta <c.grigoroscuta@×××××××××.ro>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] equery caching?
Date: Fri, 08 Jul 2005 07:01:02
Message-Id: 42CE2024.6070003@moodmedia.ro
In Reply to: Re: [gentoo-user] equery caching? by Wade Brown
1 Hi again,
2
3 Even with eupdtaedb, same result.
4 I think this might be a bug in equery. Should I put it in bugzilla?
5 Here is the proof for what I think is a bug: see the output of "equery
6 hasuse motif" and "equery uses emacs". The results are contradictory.
7
8 catalin ~ # equery hasuse motif
9 [ Searching for USE flag motif in all categories among: ]
10 * installed packages
11 [I--] [ ] app-editors/emacs-21.4-r1 (21)
12 [I--] [ ] app-text/xpdf-3.00-r8 (0)
13 [I--] [ ] x11-terms/rxvt-2.7.10-r2 (0)
14 catalin ~ # equery uses emacs
15 [ Searching for packages matching emacs... ]
16 [ Colour Code : set unset ]
17 [ Legend : Left column (U) - USE flags from make.conf ]
18 [ : Right column (I) - USE flags packages was installed with ]
19 [ Found these USE variables for app-editors/emacs-21.4-r1 ]
20 U I
21 + + X : Adds support for X11
22 - - Xaw3d : Adds support of the 3d athena widget set
23 - - gnome : Adds GNOME support
24 + + leim : Adds input methods support to Emacs
25 - - lesstif : Use lesstif over openmotif in cases where a program
26 supports both
27 - - motif : Adds motif support (x11-libs/openmotif x11-libs/lesstif)
28 + + nls : <unknown>
29 - - nosendmail : If you do not want to install any MTA
30
31
32 Wade Brown wrote:
33
34 >Equery, esearch, and einfo (I think) are from an index built by
35 >running eupdatedb. I'd imagine you're using esync which is just a
36 >very small script that does emerge sync && eupdatedb, so doing a fresh
37 >esync would alleviate the problem you seem to be having, albeit with a
38 >bit of overkill. Just run eupdatedb as root and see if everything
39 >updates properly.
40 >
41 >On 7/7/05, Catalin Grigoroscuta <c.grigoroscuta@×××××××××.ro> wrote:
42 >
43 >
44 >>Hello,
45 >>
46 >>I've just rebuilt my system without "motif" use flag (with emerge
47 >>--newuse, etc).
48 >>Everything works fine, except that equery shows stale data.
49 >>
50 >>For example:
51 >>1. "equery depends emacs" shows openmotif as dependency, but emacs is
52 >>rebuilt without motif USE ("emerge -pv emacs" clearly shows this).
53 >>2. "equery hasuse motif" also shows emacs
54 >>
55 >>Is there any caching done by equery? How can I invalidate it?
56 >>
57 >>Thank you,
58 >>Catalin
59 >>
60 >>--
61 >>gentoo-user@g.o mailing list
62 >>
63 >>
64 >>
65 >>
66 >
67 >
68 >