Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] smoothest way to jump from 2006 to 2008
Date: Tue, 29 Apr 2008 15:47:51
Message-Id: 200804291747.39171.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] smoothest way to jump from 2006 to 2008 by reader@newsguy.com
1 On Tuesday 29 April 2008, reader@×××××××.com wrote:
2 > I'd like to jump an 2006 install up to 2008. I've never made that
3 > big an update without a fresh install.
4
5 There's no such thing as a "2006 install". What does exist, is the
6 collection of packages that were on the LiveCDs released in 2006. It's
7 a vital difference as Gentoo doesn't care about versions, just the
8 current collection of packages you might happen to have. You
9 don't "upgrade" as such, thinking in those terms will get you in deep
10 trouble real quick. What you do do is emerge whatever later version of
11 packages you feel like having (within some technical constraints)
12
13 > What is the smoothest way to do it?
14
15 change profile
16 emerge --sync
17 emerge -avuND world
18
19 > How might I manage to change the current profile from x86/2006 to
20 > x86/2008
21
22 ln -s /var/portage/profiles/default-linux/2008.0/desktop /etc/make.profile
23
24 adjust the profile path to suit what you have on your machine, mine is
25 in a non-standard place
26
27 If you --sync regularly and keep the box up to date you are likely to be
28 severely underwhelmed by what a change in profile will do: usually not
29 very much.
30
31 The profile defines some default USE flags and the collection of
32 packages that make up the system set (about 60 packages or so). It will
33 define things like coreutils, nano etc must be present, sometimes with
34 a minimum version. These are just defaults, if you configured them
35 explicitly, your changes will override the profile. Chances are you
36 already meet most of the minimum requirements for even the latest
37 profile so emerge -avuND world will likely do not much. If it does give
38 output, study it carefully and adjust your USE to suit your
39 requirements better than the profile, then re-run the emerge.
40
41 Of course, if you haven't updated the box since 2006, then you are in
42 for a fun ride. I recently updated a box 6 months out of date and also
43 removed everything resembling gnome at the same time. It took 4 days
44 and many failed builds. It would have been quicker to reinstall from
45 stage 1... I didn't reinstall because I'm a pain loving masochist
46 with a point to prove. You should take note of this error of mine and
47 learn from it ;-)
48
49
50 --
51 Alan McKinnon
52 alan dot mckinnon at gmail dot com
53
54 --
55 gentoo-user@l.g.o mailing list

Replies

Subject Author
[gentoo-user] Re: smoothest way to jump from 2006 to 2008 reader@×××××××.com
Re: [gentoo-user] smoothest way to jump from 2006 to 2008 Dirk Heinrichs <dirk.heinrichs.ext@×××.com>