On Saturday 18 March 2006 10:14, Rumen Yotov wrote:
> Hi,
> Recently have problems with latest portage-2.1_pre6-r3, specially when
> using eix and now esearch too.
...SKIP...
> Strange is that this happened just after i emerged qt-3.3.6 (which wanted
> me to rebuild kdelibs), and so i run: "eix kdelibs" getting nothing as
> result. Using "metadata_overlay patch" + FEATURES="... -metadata-transfer
> ...". Looked now but couldn't identify any "metadata-patch" (unless
> integrated) but it was on a mail two-three days ago (subj:"kudoos to all"
> on this ML). PS: will try "emerge --metadata".
> Didn't file a Bug as i think it might be some config/other error on my
> side. TIA.Rumen
A continuation:
First 'emerge --metadata' gave:
...BEGIN...
# emerge --metadata
>>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum index 
OK...
skipping sync

>>> Updating Portage cache:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2828, in ?
    cache.util.mirror_cache(source, cm, pdb.auxdb[porttree_root], 
eclass_cache=ec, verbose_instance=noise_maker)
  File "/usr/lib/portage/pym/cache/util.py", line 19, in mirror_cache
    dead_nodes = dict.fromkeys(trg_cache.keys())
  File "/usr/lib/portage/pym/cache/template.py", line 94, in keys
    return tuple(self.iterkeys())
  File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 67, in iterkeys
    if self.has_key(cpv): # validates whiteout when necessary
  File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 59, in has_key
    self[cpv] # validates whiteout when necessary
  File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 28, in 
__getitem__
    if self._is_whiteout(value):
  File "/usr/lib/portage/pym/cache/metadata_overlay.py", line 76, in 
_is_whiteout
    return value["EAPI"] == "whiteout"
  File "/usr/lib/portage/pym/cache/mappings.py", line 32, in __getitem__
    return self.orig[key]
  File "/usr/lib/portage/pym/cache/mappings.py", line 77, in __getitem__
    self.d.update(self.pull())
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 29, in callit
    return args[0](*args[1:]+args2)
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 47, in _pull
    raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: x11-libs/qt-3.3.6 is corrupt: dictionary 
update sequence element #2 has length 1; 2 is required
...END...
So commented "/etc/portage/modules" & removed "metadata_overlay.py*"
Seems things are back to normal:
===
# emerge --metadata
>>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum index 
OK...
skipping sync

>>> Updating Portage cache:  100%
===
# update-eix
Reading Portage settings ..
Building database (/var/cache/eix) from scratch ..
[0] /var/portage/ (cache: backport)
     Reading 100%
[1] /usr/local/portage (cache: none)
     Reading 100%
Applying masks ..
Database contains 10786 packages in 146 categories.
===# eupdatedb
 * indexing: 0 ebuilds to go
 * esearch-index generated in 18 minute(s) and 10 second(s)
 * indexed 10786 ebuilds
 * size of esearch-index: 1711 kB
===
Thanks.Rumen

Attachment: pgpqDhjulyqVe.pgp
Description: PGP signature

Reply via email to