public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Corrupt portage cache
@ 2006-11-26 11:56 Mick
  2006-11-26 12:20 ` Fabrice Delliaux
  0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2006-11-26 11:56 UTC (permalink / raw
  To: gentoo-user

Hi All,

I am trying to update/upgrade a box that has been standing for the
last year or so and this is what I have up to:
====================================
# emerge --metadata -v

>>> Updating Portage cache:      Traceback (most recent call last):
  File "/usr/bin/emerge", line 4049, in ?
    emerge_main()
  File "/usr/bin/emerge", line 4008, in emerge_main
    action_metadata(settings, portdb, myopts)
  File "/usr/bin/emerge", line 3019, in action_metadata
    eclass_cache=ec, verbose_instance=noise_maker)
  File "/usr/lib/portage/pym/cache/util.py", line 47, in mirror_cache
    if trg and not write_it:
  File "/usr/lib/python2.4/UserDict.py", line 170, in __len__
    return len(self.keys())
  File "/usr/lib/portage/pym/cache/mappings.py", line 54, in keys
    return list(self.__iter__())
  File "/usr/lib/portage/pym/cache/mappings.py", line 48, in __iter__
    for k in self.orig.iterkeys():
  File "/usr/lib/python2.4/UserDict.py", line 103, in iterkeys
    return self.__iter__()
  File "/usr/lib/portage/pym/cache/mappings.py", line 83, in __iter__
    return iter(self.keys())
  File "/usr/lib/portage/pym/cache/mappings.py", line 87, in keys
    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:
app-accessibility/SphinxTrain-0.9.1-r1 is corrupt: dictionary update
sequence element #0 has length 1; 2 is required
====================================

Any idea how to fix it?
-- 
Regards,
Mick
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-29 23:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-26 11:56 [gentoo-user] Corrupt portage cache Mick
2006-11-26 12:20 ` Fabrice Delliaux
2006-11-26 12:27   ` Mick
2006-11-26 12:41   ` [gentoo-user] " Harm Geerts
2006-11-26 13:33     ` Fabrice Delliaux
2006-11-29 23:02       ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox