1 |
On Saturday 18 March 2006 10:14, Rumen Yotov wrote: |
2 |
> Hi, |
3 |
> Recently have problems with latest portage-2.1_pre6-r3, specially when |
4 |
> using eix and now esearch too. |
5 |
...SKIP... |
6 |
> Strange is that this happened just after i emerged qt-3.3.6 (which wanted |
7 |
> me to rebuild kdelibs), and so i run: "eix kdelibs" getting nothing as |
8 |
> result. Using "metadata_overlay patch" + FEATURES="... -metadata-transfer |
9 |
> ...". Looked now but couldn't identify any "metadata-patch" (unless |
10 |
> integrated) but it was on a mail two-three days ago (subj:"kudoos to all" |
11 |
> on this ML). PS: will try "emerge --metadata". |
12 |
> Didn't file a Bug as i think it might be some config/other error on my |
13 |
> side. TIA.Rumen |
14 |
A continuation: |
15 |
First 'emerge --metadata' gave: |
16 |
...BEGIN... |
17 |
# emerge --metadata |
18 |
>>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum index |
19 |
OK... |
20 |
skipping sync |
21 |
|
22 |
>>> Updating Portage cache: |
23 |
Traceback (most recent call last): |
24 |
File "/usr/bin/emerge", line 2828, in ? |
25 |
cache.util.mirror_cache(source, cm, pdb.auxdb[porttree_root], |
26 |
eclass_cache=ec, verbose_instance=noise_maker) |
27 |
File "/usr/lib/portage/pym/cache/util.py", line 19, in mirror_cache |
28 |
dead_nodes = dict.fromkeys(trg_cache.keys()) |
29 |
File "/usr/lib/portage/pym/cache/template.py", line 94, in keys |
30 |
return tuple(self.iterkeys()) |
31 |
File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 67, in iterkeys |
32 |
if self.has_key(cpv): # validates whiteout when necessary |
33 |
File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 59, in has_key |
34 |
self[cpv] # validates whiteout when necessary |
35 |
File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 28, in |
36 |
__getitem__ |
37 |
if self._is_whiteout(value): |
38 |
File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 76, in |
39 |
_is_whiteout |
40 |
return value["EAPI"] == "whiteout" |
41 |
File "/usr/lib/portage/pym/cache/mappings.py", line 32, in __getitem__ |
42 |
return self.orig[key] |
43 |
File "/usr/lib/portage/pym/cache/mappings.py", line 77, in __getitem__ |
44 |
self.d.update(self.pull()) |
45 |
File "/usr/lib/portage/pym/cache/flat_hash.py", line 29, in callit |
46 |
return args[0](*args[1:]+args2) |
47 |
File "/usr/lib/portage/pym/cache/flat_hash.py", line 47, in _pull |
48 |
raise cache_errors.CacheCorruption(cpv, e) |
49 |
cache.cache_errors.CacheCorruption: x11-libs/qt-3.3.6 is corrupt: dictionary |
50 |
update sequence element #2 has length 1; 2 is required |
51 |
...END... |
52 |
So commented "/etc/portage/modules" & removed "metadata_overlay.py*" |
53 |
Seems things are back to normal: |
54 |
=== |
55 |
# emerge --metadata |
56 |
>>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum index |
57 |
OK... |
58 |
skipping sync |
59 |
|
60 |
>>> Updating Portage cache: 100% |
61 |
=== |
62 |
# update-eix |
63 |
Reading Portage settings .. |
64 |
Building database (/var/cache/eix) from scratch .. |
65 |
[0] /var/portage/ (cache: backport) |
66 |
Reading 100% |
67 |
[1] /usr/local/portage (cache: none) |
68 |
Reading 100% |
69 |
Applying masks .. |
70 |
Database contains 10786 packages in 146 categories. |
71 |
===# eupdatedb |
72 |
* indexing: 0 ebuilds to go |
73 |
* esearch-index generated in 18 minute(s) and 10 second(s) |
74 |
* indexed 10786 ebuilds |
75 |
* size of esearch-index: 1711 kB |
76 |
=== |
77 |
Thanks.Rumen |