Gentoo Archives: gentoo-user

From: Jeff Cranmer <jcranmer01@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check
Date: Sun, 21 Dec 2008 21:40:50
Message-Id: 200812211641.16259.jcranmer01@earthlink.net
In Reply to: Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check by Justin
1 On Sunday 21 December 2008 03:44:37 pm Justin wrote:
2 > Jeff Cranmer schrieb:
3 > > On Sunday 21 December 2008 03:28:09 pm Justin wrote:
4 > >> Jeff Cranmer schrieb:
5 > >>> I'm afraid you'll need to be a little more specific on the accept
6 > >>> keywords
7 > >>
8 > >> reinstall and never change this variable. Stick to the many guides out
9 > >> there. Your system is broken and fixing takes the same effort than
10 > >> reinstalling.
11 > >
12 > > Except reinstalling raises the specter of losing all my key data. The
13 > > guides are written for a blank system. That is not what I have. The
14 > > problem is with glibc. Why can't I fix glibc and then to an emerge -eav
15 > > from there?
16 > >
17 > > Jeff
18 >
19 > boot livecd, mount the disc as described in the official manuals [1],
20 > extract a propriate tarball, remove all /etc/portage/packages*, review
21 > make.conf, emerge -e system, will bring back your system.
22
23 OK - since I'm no gentoo expert, I need to define the exact procedure here
24 before I'm going to attempt this, so I have a number of questions:
25
26 (1) If I remove /etc/portage/packages*, nothing will be removed, as nothing
27 matches that search string, so what exactly should I be removing? Do you
28 mean remove the entire contents of /etc/portage? If I do this, I'll lose all
29 the package.use, keywords, mask information that I have set up. Why is this
30 necessary? It seems that this will just break my system further.
31
32 (2) In my system, swap is /dev/sda2, boot is /dev/sda5, and root is /dev/sda3
33 I should skip the fdisk commands, then
34 swapon /dev/sda2
35 mount /dev/sda3 /mnt/gentoo
36 mount /dev/sda5 /mnt/gentoo/boot
37 cd /mnt/gentoo
38 Is this correct?
39
40 (3) After extracting the stage3 tarball for an amd64 system, downloaded using
41 links http://www.gentoo.org/main/en/mirrors.xml
42 with the command
43 tar xvjpf stage3-*.tar.bz2, I can then proced with editing make.conf, as I
44 don't need to reinstall a portage snapshot (since I already have one set up
45 from my present install).
46 Is this correct?
47
48 (4) After editing the make.conf file, verifying that it is correct for a 64
49 bit system, I then can run the command
50 emerge -e world, and everything should compile correctly?
51
52 (5) With this method, I will not lose any other key settings such as video,
53 kde etc.
54 Is this correct?
55
56 Jeff

Replies

Subject Author
Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check Justin <justin@×××××××××.net>
Re: [gentoo-user] glibc - C preprocessor "/lib/cpp" fails sanity check Willie Wong <wwong@×××××××××.edu>