Gentoo Archives: gentoo-user

From: Harm Geerts <harmgeerts@××××.nl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Corrupt portage cache
Date: Sun, 26 Nov 2006 12:46:19
Message-Id: 200611261341.56755.harmgeerts@home.nl
In Reply to: Re: [gentoo-user] Corrupt portage cache by Fabrice Delliaux
1 On Sunday 26 November 2006 13:20, Fabrice Delliaux wrote:
2 > Le Sun, 26 Nov 2006 11:56:43 +0000,
3 > > Any idea how to fix it?
4 >
5 > Try :
6 >
7 > # rm -rf /usr/portage/metadata/cache/* && emerge --sync
8 >
9 > Assumed that /usr/portage is the current location of your portage tree.
10
11 This is not the way to fix it.
12 This only forces portage to retrieve *all* of portage's metadata from the
13 server *again*. If the corruption is local, a normal rsync will fix this. If
14 the corruption is on the upstream rsync mirror, you will retrieve the same
15 corrupt metadata again.
16
17 removing the metadata from the portage tree only results in more data
18 transfers from the rsync mirror.
19
20 This error will resolve itself when the corruption is synced out, upstream or
21 local. To speed that process up, you can switch to a different rsync mirror
22 and sync against that. That will eliminate both possible corruptions.
23 --
24 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: Corrupt portage cache Fabrice Delliaux <netfab@×××××.com>