Gentoo Archives: gentoo-ppc-user

From: "David Bélanger" <dbelan2@×××××××××.ca>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] Glibc pooched. Borked system.
Date: Sun, 11 Dec 2005 01:50:31
Message-Id: 20051211014950.GA17049@sable.mcgill.ca
In Reply to: Re: [gentoo-ppc-user] Glibc pooched. Borked system. by darren kirby
1 On Sat, Dec 10, 2005 at 01:12:05PM -0800, darren kirby wrote:
2 > quoth the David Bélanger:
3 > > On Wed, Dec 07, 2005 at 09:33:14PM -0800, darren kirby wrote:
4 > >
5 > > Did you try the glibc on the installation/Live CDs?
6 > > If there is no packages, simply copy all the glibc files over and try
7 > > it.
8 >
9 > I have the universal install disk. The glibc package here will just be source
10 > code wont it? I guess I could just re-unpack the stage 3 file, but I am
11 > unsure how this will affect the packages I have already installed/updated,
12 > such as everything you do after unpacking the stage tarball in the install
13 > guide.
14 >
15 > I am unsure of how to separate the glibc files from the rest in the stage
16 > tarball.
17 >
18
19 If you can boot a Live/Installation CD, there will be a glibc on the /
20 filesystem mounted by the kernel. To get a list of files, you can use
21 the database on your disk:
22 /var/db/pkg/sys-libs/glibc-*/CONTENTS
23
24 Basically, you just want to have a valid set of files so that
25 you can rebuild glibc.
26
27 I erased before coreutils (ls, rm, cp, etc.) and I simply copied all of
28 them from my Debian partition. For some weird version the ones on the
29 Gentoo CD were not working... Once, I had valid binaries, I just
30 re-emerged coreutils and everything was fine.
31
32 Anyway, you might want to consider adding "buildpkg" to FEATURES in
33 /etc/make.conf. That way, next time something goes wrong you just
34 re-installed the previous version. buildpkg will do a tarball
35 for everything that gets installed on your system. So, you never
36 get stuck by not have a pre-compiled package.
37
38 In any case, you can always extract the full base tarball from the
39 installation CD. You will get more than what is needed but you
40 wont have to reinstall. It messes a little the system but you
41 can always remove later any files not owned by any installed ebuilds.
42
43
44 David
45
46 ---
47
48 David Bélanger
49 Web page: http://www.cs.mcgill.ca/~dbelan2/
50 Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
51
52 --
53 gentoo-ppc-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-user] Glibc pooched. Borked system. darren kirby <bulliver@×××××××××××.org>