Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Corrupted Cache w/ portage
Date: Thu, 08 Feb 2007 19:25:42
Message-Id: 200702082017.41030.bo.andresen@zlin.dk
In Reply to: [gentoo-user] Corrupted Cache w/ portage by Mike Edenfield
1 On Thursday 08 February 2007 20:08:58 Mike Edenfield wrote:
2 > For the past several weeks I have been having a recurring problem with
3 > portage's metadata cache after a sync. The problem is reproduceable
4 > 100% of the time now, so either I have something configured wrong or
5 > there's actually a problem with the portage mirrors:
6 >
7 > The problem is easily fixed by removing the cache and forcing emerge to
8 > rebuild it, but the next time I sync the corruption returns:
9 >
10 > gentoo portage # emerge --sync
11 [SNIP]
12 > File "/usr/lib/portage/pym/cache/flat_hash.py", line 47, in _pull
13 > raise cache_errors.CacheCorruption(cpv, e)
14 > cache.cache_errors.CacheCorruption:
15 > app-accessibility/SphinxTrain-0.9.1-r1 is corrupt: dictionary update
16 > sequence element #0 has length 1; 2 is required
17 >
18 > gentoo portage # rm -rf /usr/portage/metadata/cache/
19 > gentoo portage # emerge --metadata
20
21 # rm -rf /var/cache/edb/dep && emerge --metadata
22
23 http://bugs.gentoo.org/show_bug.cgi?id=156374
24
25 --
26 Bo Andresen