Gentoo Archives: gentoo-user

From: Vaeth <vaeth@××××××××××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eix-test-obsolete problem
Date: Fri, 07 Mar 2008 17:06:05
Message-Id: Pine.LNX.4.64.0803071735560.5324@wmax001.mathematik.uni-wuerzburg.de
1 > Installed packages with a version not in the database (or masked):
2 >
3 > [I] app-misc/beagle (0.3.3[?]@02/27/08)
4 ^
5 This is your problem: eix is not able to detect from which repository
6 this version was installed. The reason is that you have not given your
7 overlay a name.
8
9 Some time ago, eix was able to guess the repository by means of the
10 information in /var/db/*/*/environment.bz2, but new portage versions
11 do not store that information in this file anymore.
12
13 The clean solution of your problem is to give your overlay a name
14 (i.e. to create a "profile" subdirectory in your overlay and store
15 your name in a new file "profile/repo_name") and then to reemerge
16 all packages from the overlay so that the name is also stored in
17 the /var/db database. (Instead of reemerging you can also hack
18 the database manually and create the files /var/db/*/*/repository
19 with the corresponding overlay name in it; however, I give no
20 guarantee that this will not have unexpected side effects...).
21
22 If you want that eix-test-obsolete just ignores the repository
23 (i.e. that 0.3.3[?] is "found" in the database even if the version
24 in the database is from a possibly different overlay), set
25 NONEXISTENT_IF_OTHER_OVERLAY='false'
26 in /etc/eixrc. However, I would not recommend this.
27
28 The output of update-eix is as expected:
29
30 > [3] "" /usr/local/portage (cache: none)
31 ^^ ^^^^
32 This is empty, because you have not ^^^^
33 named your overlay yet ^^^^
34 ^^^^
35 This means that the cache method "none" is used
36 (man eix for details) which is the default for
37 overlays unless you set something special.[*]
38
39 [*] With eix-0.12.0 the default has changed to a new cache method
40 which appears superior (but has some security risks).
41 The previous cache method "none" was renamed.
42 --
43 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] eix-test-obsolete problem Shaochun Wang <scwang@××××××.cn>