1 |
Thanks for the complete answer Duncan, there is matter to try things |
2 |
out. I think I'll learn a lot in recovering my system :) |
3 |
|
4 |
I'll try those things out and if I'm unlucky, I'll consider |
5 |
reinstalling from scratch. |
6 |
|
7 |
2006/5/16, Duncan <1i5t5.duncan@×××.net>: |
8 |
> "Jonathan Schaeffer" <joschaeffer@×××××.com> posted |
9 |
> d60596f50605152339u5a5173c6s7659c73403a95308@××××××××××.com, excerpted |
10 |
> below, on Tue, 16 May 2006 08:39:10 +0200: |
11 |
> |
12 |
> > just for improving my knowledge of the Gentoo system, I tried out the |
13 |
> > emerge -P option (... well one would say reading the man page is a |
14 |
> > good way to learn too) |
15 |
> |
16 |
> Yeah... that's a mistake I don't believe you'll do again! How many times |
17 |
> does it have to be said, use --pretend on any emerge operation, |
18 |
> PARTICULARLY when unmerging, and check for sanity before actually doing it!? |
19 |
> |
20 |
> Hopefully, your post averts someone else's mistake. =8^) |
21 |
> |
22 |
> > Allwright, the system is broken but it seems that it is recoverable. |
23 |
> > emerge -uDN world will recompile the libraries I've lost. |
24 |
> |
25 |
> Right. Of course, if you were using FEATURES=buildpkg, you'd have binary |
26 |
> versions of everything, so it'd likely be a matter of half an hour's work |
27 |
> to remerge them. Features=buildpkg is my favorite under-publicised portage |
28 |
> feature! =8^) It's saved my butt several times, now! You may wish to |
29 |
> read up on it right away, and consider turning it on before you start |
30 |
> rebuilding things. That'll give you a head-start at getting all your |
31 |
> packages backed up in binary package format, and you'll be better prepared |
32 |
> the next time something goes wrong. (If you are worried about space, |
33 |
> you'll need 2 gig minimum for binary copies of all packages in a full |
34 |
> desktop system. It won't take quite that much, but you do want to be able |
35 |
> to upgrade stuff and have both copies on hand for awhile, in case you need |
36 |
> to revert to the old version. 4 gigs is better -- you won't have to |
37 |
> clean out old packages as often.) |
38 |
> |
39 |
> > While doing this, an error occured in emerging grub. This is what |
40 |
> > shows up in the config.log |
41 |
> |
42 |
> Unfortunately, I can't help you there. I might be able to trial and error |
43 |
> my way thru fixing it if it occurred here, but I see anything I'm familiar |
44 |
> enough with to dare trying to explain. |
45 |
> |
46 |
> One thing you might try... emerge grub-static for the time being. That's |
47 |
> a binary no-compile version. If you want the self-compiled one later, try |
48 |
> grub again, after everything else is merged. That might well cure the |
49 |
> problem, and is what I'd try in that situation. |
50 |
> |
51 |
> Also... note that grub is 32-bit. It's possible your 32-bit side isn't |
52 |
> set up quite right, while the 64-bit side is still working fine. I've had |
53 |
> that happen a couple times. You may need to get a known-good binary |
54 |
> package glibc, to bootstrap a working 32-bit glibc, again. I had to do |
55 |
> that at one point. Before you do that, however, try merging it with |
56 |
> FEATURES=-sandbox. It's possible your 32-bit sandbox is screwed up, and |
57 |
> it'll work if you merge without that. (If you are worried about security, |
58 |
> try FEATURES=userpriv whenever you turn off sandbox. It doesn't always |
59 |
> work and you have to go without both, but sometimes it does.) |
60 |
> |
61 |
> Shots in the dark and true, I can't explain how they'd fix the problem |
62 |
> you reported, but maybe one of them will have gotten lucky and hit whatever |
63 |
> your problem is. =8^) |
64 |
> |
65 |
> |
66 |
> |
67 |
> -- |
68 |
> Duncan - List replies preferred. No HTML msgs. |
69 |
> "Every nonfree program has a lord, a master -- |
70 |
> and if you use the program, he is your master." Richard Stallman |
71 |
> |
72 |
> -- |
73 |
> gentoo-amd64@g.o mailing list |
74 |
> |
75 |
> |
76 |
|
77 |
-- |
78 |
gentoo-amd64@g.o mailing list |