From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-55338-garchives=archives.gentoo.org@gentoo.org>)
	id 1GoIh4-00023m-5U
	for garchives@archives.gentoo.org; Sun, 26 Nov 2006 12:01:10 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAQBwk8R012340;
	Sun, 26 Nov 2006 11:58:46 GMT
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAQBuhST001486
	for <gentoo-user@lists.gentoo.org>; Sun, 26 Nov 2006 11:56:44 GMT
Received: by wx-out-0506.google.com with SMTP id i30so1829689wxd
        for <gentoo-user@lists.gentoo.org>; Sun, 26 Nov 2006 03:56:43 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=nhvovnnlH3u3RqkBPkALlBLjU9lKVPSnXXD7gMWvmWj+FBcjiwOI45KhRwEceze7NBUQesG0SZ+Tdk777TnKPa23mJr3AhOXUAp1V4/yQdc91cFS2QYA9yZBywvD3a4eJnSQdM7JXjw8mz6oB1/R755WRQmk+HfG4RuJK7PfW2E=
Received: by 10.70.113.5 with SMTP id l5mr5031160wxc.1164542203303;
        Sun, 26 Nov 2006 03:56:43 -0800 (PST)
Received: by 10.70.124.6 with HTTP; Sun, 26 Nov 2006 03:56:43 -0800 (PST)
Message-ID: <358eca8f0611260356m3c9cd059ic792e8fb2f0d4c80@mail.gmail.com>
Date: Sun, 26 Nov 2006 11:56:43 +0000
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Corrupt portage cache
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Archives-Salt: e16b410b-db1b-42b5-b9c0-4da567aaa873
X-Archives-Hash: 41ad9c18962d0d59bed8327659e8a26b

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