Gentoo Archives: gentoo-amd64

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] System died going from 2005.0 to 2005.1
Date: Mon, 10 Oct 2005 18:32:02
Message-Id: 200510102030.12163.pauldv@gentoo.org
In Reply to: Re: [gentoo-amd64] System died going from 2005.0 to 2005.1 by Tres Melton
1 On Sunday 09 October 2005 05:03, Tres Melton wrote:
2 > On Sat, 2005-10-08 at 16:20 -0600, scotthathcock@×××××××.net wrote:
3 > > My system has developed serious problems related to the emul libs. The
4 > > advice given as a reply to my bug has made the system impossible to
5 > > upgrade using emerge. It is possible the problem dates back to the
6 > > 2004.3->2005.0 upgrade, I don't know.
7 > >
8 > > Is there a way to build a "from scratch" 2005.1 system over the net
9 > > without having to download and boot from a CD? Will it leave my user
10 > > directories alone? The installation docs assume that you don't have a
11 > > runnig gentoo system and start with a boot CD.
12 >
13 > I wouldn't do this without a developer telling you it is going to work
14 > but....
15 >
16 > Get a bootable Linux CD and boot from it and unzip the portage snapshot
17 > and stage tarball onto your system as the manual says. Then sync,
18 > bootstrap, and emerge -e world. That should get you back to where you
19 > are functional. Just use the newest 2005.1 stage on the install.
20
21 It should get you workable. But if you do this, you should backup your /etc
22 directory above all. tar will hapilly overwrite whatever you put there, and
23 you'd like to keep that. What I like to do is the following:
24
25 Create a directory somewhere on a partition with enough space. Unpack the
26 stage3 tarball there. (or stage1 or 2 depending on preference). Chroot into
27 the directory. Find the package that is causing the pain (likely gcc, glibc,
28 binutils) create binary packages of those using "emerge --buildpkg". Then
29 copy those binary packages to the normal location in your system (out of the
30 chroot) and merge them (you can just point to the .tbz2 files even though
31 portage warns you against it, as binary packages know their category). Then
32 you've got a good chance to get your system working again. You could even do
33 this with the whole system.
34
35 Paul
36
37 --
38 Paul de Vrieze
39 Gentoo Developer
40 Mail: pauldv@g.o
41 Homepage: http://www.devrieze.net