On 25/04/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Monday 24 April 2006 05:01 am, Mick wrote:
> On 23/04/06, Glenn Enright <[EMAIL PROTECTED]> wrote:
> > Before you do that try emerge metadata or emerge sync
>
> Thanks guys.  Emerge metadata creates multiple errors (here's an extract):
> =========================
> Failed cache update: dev-libs/gmime-2.1.14-r1 "Corruption detected
> when reading key 'gmime-2.1.14-r1': dictionary update sequence element
> #0 has length 1; 2 is required"
>
> Failed cache update: dev-libs/gmime-2.1.9-r3 "Corruption detected when
> reading key 'gmime-2.1.9-r3': dictionary update sequence element #0
> has length 1; 2 is required"
> =========================
>
> What now?  Shall I delete /var/cache/edb/dep/usr/portage, or some
> other file/directory too?

Because I said I think it might (major emphasis on might) help is no reason to
start deleting things.  DO NOT delete anything without knowing what you're
doing.  I just said I thought it might force a rebuild-from-scratch of the
cache, however, I have really no idea.  If I built the software, that's
what'd happen, but I didn't so that's where it is.  I said it mainly in hopes
that it might help someone more knowledgeable come to a real solution.

If you still want to delete it, just let me ask you one thing: is this a toy,
or a critical machine?  Is this your linux box that works as a learning
environment, or is this thing really part of a system that needs to be on?
If it's just your playground, back everything important (of YOUR data, not OS
settings and crap like that) to another computer and delete to your hearts
content.  You will most likely learn something.  If you're like me, and
really depend on the system, don't try such a step.

I thought of writing this for posterity.  The corruption was probably
caused because of a couple of forced reboots, when I was trying to
send this laptop to sleep and could not bring the screen back to life
- what? no backups? tut, tut!

I downloaded a fresh portage snapshot and replaced my corrupted
portage directory.  Before I did that I first moved and then restored
my /usr/portage/distfiles to save bandwidth.

Everything now works as it should.  Thanks for all the replies.
--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list

Reply via email to