Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Resurrecting a Gentoo install
Date: Tue, 31 Jan 2012 01:33:54
Message-Id: CAN0CFw0gYSkmBe=KGx5RJtcshmVdZJJrUJr4mX+O9PjZdfct_A@mail.gmail.com
In Reply to: Re: [gentoo-user] Resurrecting a Gentoo install by Alan McKinnon
1 >> >> Ok, looks as though it's time for a manually-installed version of
2 >> >> python to upgrade portage, then a portage-installed python:2.6 to
3 >> >> bootstrap your way towards modernity.
4 >> >>
5 >> >> This is all explained here:
6 >> >> http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
7 >> >>
8 >> >> This may also help
9 >> >> http://forums.gentoo.org/viewtopic-p-5578709.html
10 >> >
11 >> > That last one mentioned --nodeps which gave me an idea.  I did
12 >> > 'emerge -pv python' then emerged all of the packages listed with
13 >> > --nodeps so portage wouldn't complain.  Portage wouldn't work after
14 >> > that until I switched back to python:2.5 with eselect.  Then I
15 >> > emerged portage to the latest version (which switched back to
16 >> > python:2.6) and I'm hoping I can make some good progress before I
17 >> > come crying back to you guys again.
18 >> >
19 >> > - Grant
20 >>
21 >> I just did a 'ls -ltr /var/log/portage' and this thing hasn't been
22 >> updated in over 3 years.  Wow.
23 >>
24 >> - Grant
25 >>
26 >
27 > Honestly, it's not worth trying to update it using portage. Just backup
28 > everything on it and do a re-install.
29 >
30 > Trying to update it will be a recursive process, repeated many times
31 > over, including manually building compatible pythons and dealing with
32 > the inevitable issues that arise. Then you still have the X migration
33 > issues to deal with, you still have to deal with openrc, with massive
34 > pam changes in the last 3 years, and who knows what else.
35 >
36 > So you will slowly and painfully replace many packages outside of
37 > portage to fix this. A reinstall will do the same thing but with much
38 > less personal pain :-)
39 >
40 > If however, you want to do this as a learning exercise then by all means
41 > proceed. You will gain useful knowledge (but I think you already have
42 > that knowledge)
43
44 I'm crazy so I updated the thing. It was my first-ever Gentoo install
45 and I guess I've got a soft spot for it. Thanks to --nodeps I didn't
46 have to resort to installing anything outside of portage. I'm 99%
47 done but I lost my connection to the machine and now I can't
48 reconnect:
49
50 # ssh 1.2.3.4
51 Password:
52 PTY allocation request failed on channel 0
53
54 Thanks to you guys:
55
56 http://www.gossamer-threads.com/lists/gentoo/user/206090
57
58 I'm pretty sure I need to have the following done when someone is
59 onsite tomorrow:
60
61 mount -t devpts none /dev/pts
62
63 If that doesn't work I think I'll try rebooting. Is there anything I
64 should make sure I do before I reboot for the first time since taking
65 this on? It will boot into the same 2.6.25-hardened kernel. I've
66 updated all packages except firefox, mesa, and xorg-server I think,
67 but I don't need X working yet. I've updated /etc/fstab. etc-update
68 is done.
69
70 One thing I'm shaky about is madwifi. I'll still be relying on
71 madwifi-ng and ath0 for network connectivity until I configure a new
72 kernel with ath5k support. I hope it still works after rebooting into
73 all those updated packages.
74
75 - Grant