Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Regenerate portage cache from scratch following a big toe crash?
Date: Wed, 18 Aug 2010 17:13:38
Message-Id: AANLkTikSnDuayjUAbGgrfWrjcx66ceJ3UPDHQQ1Cq48c@mail.gmail.com
In Reply to: Re: [gentoo-user] Regenerate portage cache from scratch following a big toe crash? by Dale
1 On Tue, Aug 17, 2010 at 9:17 PM, Dale <rdalek1967@×××××.com> wrote:
2 > Mark Knecht wrote:
3 >>
4 >> OK, this is too funny. I'm sitting here in the dark browsing around on
5 >> my home machine while I'm doing an eix-sync. I have my legs crossed,
6 >> sitting in my chair that swivels, and guess what...my big toe is at
7 >> __exactly__ the height of the main power button on my APC UPS, and
8 >> darn if I don't hit it and power is gone!
9 >>
10 >> The machine booted and came back up with no obvious problems but when
11 >> I tried to continue with the eix-sync I get some pretty messed up
12 >> messages, ala:
13 >>
14 >> Can't read cache file
15 >> /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
16 >>      Reading category 146|154 ( 94%): x11-libs ..
17 >> Can't read cache file
18 >> /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
19 >>      Reading category 146|154 ( 94%): x11-libs ..
20 >> Can't read cache file
21 >> /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
22 >>      Reading category 146|154 ( 94%): x11-libs ..
23 >> Can't read cache file
24 >> /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
25 >>      Reading category 146|154 ( 94%): x11-libs ..
26 >> Can't read cache file
27 >> /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
28 >>      Reading category 154|154 (100%) Finished
29 >>
30 >> I tried removing the timestamp file to get it to sync again but that
31 >> didn't fix it.
32 >>
33 >> How does a big-toe guy regenerate the database emerge --sync normally
34 >> keeps for my machine?
35 >>
36 >> Too funny! (Hey - at least I provided a laugh I hope!) :-)))
37 >>
38 >> - Mark
39 >>
40 >>
41 >
42 > I think this will help:
43 >
44 > emerge-webrsync
45 >
46 > That should download the complete tree.  It will be a pretty good size file
47 > tho just in case you have dial-up or some other slow connection.
48 >
49 > Dale
50 >
51 > :-)  :-)
52 >
53 > P. S.  Careful with the toe next time.  lol
54
55 Thanks Dale, and to Andrea also.
56
57 On my machine I'm not finding a man page on emerge-webrsync so I'm a
58 bit hesitant to run it until I find maybe some information on line.
59
60 Andrea's emerge --metadata command is one thing I thought about last
61 night, along with maybe --regen, but decided it wasn't worth messing
62 things up. I think maybe the removal of eix completely, then removal
63 of the cache database, and then re-emerging eix and starting clean
64 with that program might be the safest first step, assuming that I
65 don't find a problem with emerge itself this evening.
66
67 Thanks for the ideas.
68
69 Cheers,
70 Mark

Replies