1 |
Hi, |
2 |
Recently have problems with latest portage-2.1_pre6-r3, specially when using |
3 |
eix and now esearch too. |
4 |
In the former case (eix) it gives too little packages in the database: |
5 |
...BEGIN... |
6 |
# update-eix |
7 |
Reading Portage settings .. |
8 |
Building database (/var/cache/eix) from scratch .. |
9 |
[0] /var/portage/ (cache: backport) |
10 |
Reading 100% |
11 |
[1] /usr/local/portage (cache: none) |
12 |
Reading 100% |
13 |
Applying masks .. |
14 |
Database contains 20 packages in 146 categories. |
15 |
...END... |
16 |
PS:not using CDB etc., only had "backport" in '/etc/eixrc'. |
17 |
Removed any settings from: /etc/eixrc (previously it was set to "backport"). |
18 |
Next run 'eupdatedb": |
19 |
...BEGIN... |
20 |
# eupdatedb |
21 |
* indexing: 5271 ebuilds to goTraceback (most recent call last): |
22 |
File "/usr/sbin/eupdatedb", line 155, in ? |
23 |
pkgv = portage.portdb.xmatch("bestmatch-visible", pkg) |
24 |
File "/usr/lib/portage/pym/portage.py", line 5099, in xmatch |
25 |
myval=best(self.xmatch("match-visible",None,mydep=mydep,mykey=mykey)) |
26 |
File "/usr/lib/portage/pym/portage.py", line 5110, in xmatch |
27 |
|
28 |
myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep=mydep,mykey=mykey)) |
29 |
File "/usr/lib/portage/pym/portage.py", line 5096, in xmatch |
30 |
myval=self.gvisible(self.visible(self.cp_list(mykey))) |
31 |
File "/usr/lib/portage/pym/portage.py", line 5194, in gvisible |
32 |
keys, eapi = db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS", |
33 |
"EAPI"]) |
34 |
File "/usr/lib/portage/pym/portage.py", line 4850, in aux_get |
35 |
try: del self.auxdb[mylocation][mycpv] |
36 |
File "/usr/lib/portage/pym/cache/template.py", line 81, in __delitem__ |
37 |
self._delitem(cpv) |
38 |
File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 51, in _delitem |
39 |
value = self[cpv] # validates whiteout and/or raises a KeyError when |
40 |
necessary |
41 |
File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 28, in |
42 |
__getitem__ |
43 |
if self._is_whiteout(value): |
44 |
File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 76, in |
45 |
_is_whiteout |
46 |
return value["EAPI"] == "whiteout" |
47 |
File "/usr/lib/portage/pym/cache/mappings.py", line 32, in __getitem__ |
48 |
return self.orig[key] |
49 |
File "/usr/lib/portage/pym/cache/mappings.py", line 77, in __getitem__ |
50 |
self.d.update(self.pull()) |
51 |
File "/usr/lib/portage/pym/cache/flat_hash.py", line 29, in callit |
52 |
return args[0](*args[1:]+args2) |
53 |
File "/usr/lib/portage/pym/cache/flat_hash.py", line 47, in _pull |
54 |
raise cache_errors.CacheCorruption(cpv, e) |
55 |
cache.cache_errors.CacheCorruption: kde-base/kdelibs-3.5.1-r1 is corrupt: |
56 |
dictionary update sequence element #2 has length 1; 2 is required |
57 |
...END... |
58 |
Strange is that this happened just after i emerged qt-3.3.6 (which wanted me |
59 |
to rebuild kdelibs), and so i run: "eix kdelibs" getting nothing as result. |
60 |
Using "metadata_overlay patch" + FEATURES="... -metadata-transfer ...". |
61 |
Looked now but couldn't identify any "metadata-patch" (unless integrated) but |
62 |
it was on a mail two-three days ago (subj:"kudoos to all" on this ML). |
63 |
PS: will try "emerge --metadata". |
64 |
Didn't file a Bug as i think it might be some config/other error on my side. |
65 |
TIA.Rumen |