/[gentoo]/xml/htdocs/doc/en/gentoo-upgrading.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-upgrading.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.31
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-upgrading.xml,v 1.2 2004/05/15 01:02:37 neysx Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-upgrading.xml,v 1.31 2006/09/02 10:04:16 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/gentoo-upgrading.xml"> 5<guide link="/doc/en/gentoo-upgrading.xml">
6<title>Gentoo Upgrading Guide</title> 6<title>Gentoo Upgrading Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="g.guidi@sns.it">Gregorio Guidi</mail> 9 <mail link="greg_g@gentoo.org">Gregorio Guidi</mail>
10</author> 10</author>
11 11
12<abstract> 12<abstract>
13This document explains how to react when a new Gentoo release is announced. 13This document explains how new Gentoo releases affect existing installs.
14</abstract> 14</abstract>
15 15
16<!-- The content of this document is licensed under the CC-BY-SA license --> 16<!-- The content of this document is licensed under the CC-BY-SA license -->
17<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 17<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
18<license/> 18<license/>
19 19
20<version>1.1</version> 20<version>2.4</version>
21<date>May 12, 2004</date> 21<date>2006-08-31</date>
22 22
23<chapter> 23<chapter>
24<title>Gentoo and Upgrades</title> 24<title>Gentoo and Upgrades</title>
25<section> 25<section>
26<title>Philosophy</title> 26<title>Philosophy</title>
27<body> 27<body>
28 28
29<p> 29<p>
30Here in Gentoo land, the concept of upgrade is quite different with respect to 30Here in Gentoo land, the concept of upgrading is quite different compared to
31the rest of the linux world. Probably you already know that we never got in 31the rest of the Linux world. You probably already know that we never got in
32touch with the "classic" way to upgrade software in our distribution to the 32touch with the "classic" way of upgrading software: waiting for a new release,
33latest version: waiting for a new release, downloading it, burning, putting it 33downloading it, burning, putting it in the cdrom drive and then following the
34in the cdrom drive and then following the upgrade instructions. 34upgrade instructions.
35</p>
36
37<p> 35</p>
36
37<p>
38You know (you chose Gentoo, after all) that this process is extremely 38You know (being a Gentoo user after all) that this process is extremely
39frustrating for power users that want to live on the bleeding edge. Even power 39frustrating for power users that want to live on the bleeding edge. Even power
40users from other distributions must share the same feelings, given the 40users from other distributions probably share the same feelings, given the
41popularity and spread among them of tools like apt or apt-rpm, which make it 41popularity and spread of tools like apt or apt-rpm which make it
42possible to have quick and frequent updates. However, no distibution is more 42possible to have quick and frequent updates. However, no distribution is more
43suited than Gentoo to satisfy these kind of demanding users, because Gentoo was 43suited than Gentoo to satisfy these kind of demanding users. From the
44shaped from the beginning around the concept of fast, incremental updates. 44beginning, Gentoo was designed around the concept of fast, incremental
45</p> 45updates.
46
47<p> 46</p>
48Ideally, you install once and then do not bother anymore about releases: 47
49just follow the instructions in 48<p>
49Ideally, you install once and never bother with releases: just follow the
50instructions in <uri
50<uri link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=2">Portage and 51link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">A Portage
51Software</uri> in the 52Introduction</uri> in the <uri link="/doc/en/handbook/">Gentoo Handbook</uri>
52<uri link="/doc/en/handbook/">Gentoo Handbook</uri> that explain how to keep 53that explain how to keep your system up to date. While that's the way things
53your system up to date. While that's the way things go usually, it can 54usually go, sometimes changes are made to the core system which require updates
54happen sometimes that developers push out, together with a new release, an 55to be done manually.
55update that touches the basics of the systems. We will consider these cases
56below, when talking about profiles.
57</p> 56</p>
58 57
59</body> 58</body>
60</section> 59</section>
61<section> 60<section>
68There are various reasons: 67There are various reasons:
69</p> 68</p>
70 69
71<ul> 70<ul>
72 <li> 71 <li>
73 A new release means enhanced and more feature-rich LiveCDs. 72 A new release means new Installation CDs with bugfixes and more features.
74 </li> 73 </li>
75 <li> 74 <li>
76 A new release provides an updated set of GRP packages, so that users that 75 A new release provides an updated set of GRP packages, so that users that
77 choose "the fast way" to install, stage3 + precompiled packages, end up 76 choose "the fast way" to install (stage3 + precompiled packages) end up
78 with a system that is not outdated. 77 with a system that is not outdated.
79 </li> 78 </li>
80 <li> 79 <li>
81 Finally, a new release may (not frequently) implement some features that 80 Finally, a new release may, from time to time, implement some features that
82 are incompatible with previous releases. 81 are incompatible with previous releases.
83 </li> 82 </li>
84</ul> 83</ul>
85 84
86<p> 85<p>
87When a release provides new incompatible features, or provides a set of core 86When a release includes new incompatible features, or provides a set of core
88packages and settings that deeply modify the behavior of the system, or simply 87packages and settings that deeply modify the behavior of the system, we say
89when it makes tricky changes to some default parameters, we say that it
90provides a new <e>profile</e>. 88that it provides a new <e>profile</e>.
91</p> 89</p>
92 90
93<p> 91<p>
94A <e>profile</e> is a set of configuration files, stored in a subdirectory of 92A <e>profile</e> is a set of configuration files, stored in a subdirectory of
95<path>/usr/portage/profiles/</path>, that describe things such as the ebuilds 93<path>/usr/portage/profiles</path>, that describe things such as the ebuilds
96that are considered <e>system</e> packages, the default USE flags, the default 94that are considered <e>system</e> packages, the default USE flags, the default
97mapping for virtual packages. 95mapping for virtual packages, and the architecture on which the system is running.
98</p> 96</p>
99 97
100<p> 98<p>
101The profile in use is determined by the symbolic link 99The profile in use is determined by the symbolic link
102<path>/etc/make.profile</path>, which points to the subdirectory of 100<path>/etc/make.profile</path>, which points to a subdirectory of
103<path>/usr/portage/profiles</path> which holds the profile files, for instance <path>/usr/portage/profiles/default-x86-2004.0</path>. 101<path>/usr/portage/profiles</path> which holds the profile files. For
102instance, the default x86 2006.1 profile can be found
103at <path>/usr/portage/profiles/default-linux/x86/2006.1</path>.
104The files in the parent directories are part of the profile as well (and
105are therefore shared by different subprofiles). This is why we call these
106<e>cascaded profiles</e>.
104</p> 107</p>
105 108
106<p> 109<p>
107Profiles obsoleted by new ones are kept in <path>/usr/portage/profiles</path> 110Profiles obsoleted by new ones are kept in <path>/usr/portage/profiles</path>
108as the current ones, but they are marked as deprecated. When that happens a 111along with the current ones, but they are marked as deprecated. When that
109file named <path>deprecated</path> is put in the profile directory. The content 112happens a file named <path>deprecated</path> is put in the profile directory.
110of this file is the name of the profile that should substitute it; portage uses 113The content of this file is the name of the profile that should be "upgraded
111this information to automatically warn you about the new profile. 114to"; portage uses this information to automatically warn you when you should
112</p> 115update to a new profile.
113
114<p> 116</p>
115There are various reasons that justify the creation of a new profile: the 117
118<p>
119There are various reasons that a new profile may be created: the release of
116release of new versions of core packages (such as <c>baselayout</c>, <c>gcc</c> 120new versions of core packages (such as <c>baselayout</c>, <c>gcc</c>, or
117or <c>glibc</c>) that are incompatible with previous versions, a change in the 121<c>glibc</c>) that are incompatible with previous versions, a change in
118default USE flags, or in the virtual mappings, or maybe a change in system-wide 122the default USE flags or in the virtual mappings, or maybe a change in
119settings (such as defining udev to be the default manager for <path>/dev</path> 123system-wide settings.
120instead of devfs).
121</p> 124</p>
122 125
123</body> 126</body>
124</section> 127</section>
125</chapter> 128</chapter>
129<section> 132<section>
130<title>Releases without profile changes</title> 133<title>Releases without profile changes</title>
131<body> 134<body>
132 135
133<p> 136<p>
134If a new Gentoo release is announced that does not include a new profile (such 137If a new Gentoo release is announced that does not include a new profile
135as the 2004.1 release for x86), then you can safely pretend that it never 138then you can safely pretend that it never happened :).
136happened.
137</p>
138
139<p> 139</p>
140
141<p>
140If you update your installed packages 142If you update your installed packages
141<uri link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=2">as explained in 143<uri link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">as explained in
142the Gentoo Handbook</uri>, then your system will be exactly the same as one 144the Gentoo Handbook</uri>, then your system will be exactly the same as one
143that has been installed using the new release. 145that has been installed using the new release.
144</p> 146</p>
145 147
146</body> 148</body>
148<section> 150<section>
149<title>Releases with profile changes</title> 151<title>Releases with profile changes</title>
150<body> 152<body>
151 153
152<p> 154<p>
153If a release introduces a new profile, you have the choice to migrate to the 155If a release (such as 2006.1 for x86) introduces a new profile or subprofile,
154new profile. 156you have the choice to migrate to the new profile.
155</p>
156
157<p> 157</p>
158
159<p>
158Naturally, you are not forced to do so, you can continue to use the old profile 160Naturally, you are not forced to do so, and you can continue to use the old
159and just update your packages 161profile and just update your packages
160<uri link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=2">as explained in 162<uri link="/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">as explained
161the Gentoo Handbook</uri> (or you may want to not update your system at all). 163in the Gentoo Handbook</uri>.
162</p>
163
164<p> 164</p>
165
166<p>
165However, Gentoo strongly recommends a migration if your profile becomes 167However, Gentoo strongly recommends updating your profile if it becomes
166deprecated and is no more supported by Gentoo developers, that is to say that 168deprecated. When this happens, it means that Gentoo developers no longer
167your profile is not listed anymore in the table below. 169plan on supporting it. Using the table below, you can quickly check to
170see what profiles are currently supported.
168</p> 171</p>
169 172
170<p> 173<p>
171If you decide to migrate to the new profile, then you will have to manually 174If you decide to migrate to the new profile, then you will have to manually
172perform some actions. Those actions may vary a lot from release to release, it 175perform the update. The way you update may vary significantly from release
173depends on how deep the modifications introduced in the new profile are. 176to release; it depends on how deep the modifications introduced in the new
177profile are.
174</p> 178</p>
175 179
176<p> 180<p>
177In the simplest case you only have to change the <path>/etc/make.profile</path> 181In the simplest case you only have to change the <path>/etc/make.profile</path>
178link, in the worst case you may have to recompile your system from scratch 182symlink, in the worst case you may have to recompile your system from scratch
179while doing some voodoo stuff. In every case we will publish the instructions 183while doing a neat voodoo dance. Migration is usually covered in the release
180for the migration as part of the release. You can find these instructions also 184notes. You can also find <uri link="#instructions">instructions</uri> at the
181at the end of this guide. 185end of this guide.
182</p> 186</p>
183 187
184</body> 188</body>
185</section> 189</section>
186<section> 190<section>
192</p> 196</p>
193 197
194<table> 198<table>
195<tr> 199<tr>
196 <th>Architecture</th> 200 <th>Architecture</th>
197 <th>Most recent profile</th> 201 <th>Most recent profiles</th>
198 <th>Other supported profiles</th> 202 <th>Other supported profiles</th>
199</tr> 203</tr>
200<tr> 204<tr>
205 <th>alpha</th>
206 <ti>2006.1</ti>
207 <ti>2006.0</ti>
208 <ti>2005.0, 2005.0/2.4, no-nptl, no-nptl/2.4</ti>
209</tr>
210<tr>
211 <th>arm</th>
212 <ti>2004.3</ti>
213 <ti></ti>
214</tr>
215<tr>
216 <th>amd64</th>
217 <ti>2006.1</ti>
218 <ti>2006.0</ti>
219 <ti>2005.1, 2005.1/no-multilib, 2005.0, 2005.0/no-multilib</ti>
220</tr>
221<tr>
222 <th>hppa</th>
223 <ti>2005.0</ti>
224 <ti>2004.3, 2004.2</ti>
225</tr>
226<tr>
227 <th>ia64</th>
228 <ti>2006.0</ti>
229 <ti>2005.0, 2004.3</ti>
230</tr>
231<tr>
232 <th>ppc</th>
233 <ti>2006.0</ti>
234 <ti>2005.1, 2005.0, 2004.3, 2004.0</ti>
235</tr>
236<tr>
237 <th>mips</th>
238 <ti>2006.0</ti>
239 <ti>2005.0, 2004.2</ti>
240</tr>
241<tr>
242 <th>s390</th>
243 <ti>2006.0</ti>
244 <ti>2004.3</ti>
245</tr>
246<tr>
247 <th>sparc</th>
248 <ti>2006.0, 2006.0/2.4</ti>
249 <ti>2005.1, 2005.0</ti>
250</tr>
251<tr>
201 <th>x86</th> 252 <th>x86</th>
253 <ti>2006.0, no-nptl/2.4</ti>
202 <ti>2004.0</ti> 254 <ti>2005.1, 2005.0</ti>
203 <ti>1.4</ti>
204</tr>
205<tr>
206 <th>hardened-x86</th>
207 <ti>2004.0</ti>
208 <ti></ti>
209</tr>
210<tr>
211 <th>amd64</th>
212 <ti>2004.0</ti>
213 <ti></ti>
214</tr>
215<tr>
216 <th>ppc</th>
217 <ti>2004.0</ti>
218 <ti>1.4</ti>
219</tr>
220<tr>
221 <th>sparc</th>
222 <ti>2004.0</ti>
223 <ti>1.4</ti>
224</tr>
225<tr>
226 <th>mips</th>
227 <ti>2004.0</ti>
228 <ti>1.4</ti>
229</tr>
230<tr>
231 <th>hppa</th>
232 <ti>2004.0</ti>
233 <ti></ti>
234</tr> 255</tr>
235</table> 256</table>
236 257
237</body> 258</body>
238</section> 259</section>
239</chapter> 260</chapter>
240 261
241<chapter> 262<chapter id="instructions">
242<title>Profile updating instructions</title> 263<title>Profile updating instructions</title>
243<section> 264<section>
244<title>Updating from 1.4 to 2004.0 (all archs)</title> 265<title>Updating to 2006.0</title>
245<body> 266<body>
246 267
247<p>
248There are no fundamental changes between 1.4 and 2004.0 profiles. Just point
249the <path>/etc/make.profile</path> link to the new location:
250</p> 268<p>
269To switch to the 2006.0 profile, point the <path>/etc/make.profile</path>
270symlink to the new location. Make sure your Portage is updated before you
271change your profile.
272</p>
251 273
252<pre caption="Updating the /etc/make.profile link"> 274<pre caption="Changing to a 2006.0 profile">
253# <i>rm /etc/make.profile</i> 275# <i>rm /etc/make.profile</i>
254# <i>ln -s ../usr/portage/profiles/default-x86-2004.0 /etc/make.profile</i> 276# <i>ln -s ../usr/portage/profiles/</i>&lt;selected profile&gt;<i> /etc/make.profile</i>
255</pre> 277</pre>
278
279<p>
280<b>alpha</b> - Users that use a 2.4 kernel or don't want to use NPTL should use
281the default-linux/alpha/no-nptl profile. More information is available in <uri
282link="/proj/en/releng/release/2006.0/alpha-release-notes.xml">the alpha release
283notes</uri>.
284</p>
285
286<p>
287<b>ppc</b> - The merge of the ppc32 and ppc64 profiles went forward. The ppc32
288profile has been changed in a way that offers a minimalistic generic profile
289for all purposes, located in default-linux/ppc/ppc32. The release-dependent
290profile is optimized for desktop-usage and located in
291default-linux/ppc/ppc32/2006.0. There are some subprofiles available for G3 and
292G4 processors, and G3/Pegasos and G4/Pegasos for the Pegasos Open Desktop
293Workstation. Make sure you choose the correct subprofile for your system when
294migrating to a 2006.0 profile.
295</p>
296
297<p>
298<b>sparc</b> - Upgrading to the <b>2.4</b>-kernel based 2006.0/2.4 profile
299requires manual user intervention (unmerging java stuff) and an <c>emerge -e
300world</c> because of the <uri link="/doc/en/gcc-upgrading.xml">gcc
301upgrade</uri>.<br/>
302Upgrading to the <b>2.6</b>-kernel based 2006.0 profile which is not considered
303stable also requires an entry in <path>/etc/portage/package.unmask</path> to
304umask a 2.6 version of <c>gentoo-sources</c> and a full rebuild.
305</p>
306
307<p>
308<b>All other archs</b> - There are no fundamental changes in this profile. No
309specific action needs to be performed.
310</p>
311
312</body>
313</section>
314<section>
315<title>Updating to 2005.1</title>
316<body>
317
318<p>
319To switch to the 2005.1 profile, point the <path>/etc/make.profile</path>
320symlink to the new location. Make sure your Portage is updated before you
321change your profile.
322</p>
323
324<pre caption="Changing to a 2005.1 profile">
325# <i>rm /etc/make.profile</i>
326# <i>ln -s ../usr/portage/profiles/</i>&lt;selected profile&gt;<i> /etc/make.profile</i>
327</pre>
328
329<p>
330<b>All archs</b> - There are no fundamental changes in this profile. No
331specific action needs to be performed.
332</p>
333
334<p>
335<b>ppc</b> - With the 2005.1 release, the ppc and ppc64 profiles were merged
336and a number of subprofiles for specific subarchitectures were created. Make
337sure you choose the correct subprofile for your system when migrating to a
3382005.1 profile.
339</p>
340
341</body>
342</section>
343<section>
344<title>Updating to 2005.0</title>
345<body>
346
347<p>
348With the introduction of 2005.0, several architectures have decided to define
349additional profiles. Make sure you read the description of said profiles before
350you decide to migrate to one of them. Most architectures now also default to the
3512.6 kernel tree where 2.4 was chosen previously.
352</p>
353
354<p>
355Some architectures require a bit more actions to be completed in order to
356convert from one profile to another. If that is the case, the step-by-step
357guides are linked from the table.
358</p>
359
360<table>
361<tr>
362 <th>Profile</th>
363 <th>Description</th>
364 <th>Specific Upgrade Guide</th>
365</tr>
366<tr>
367 <ti>default-linux/alpha/2005.0</ti>
368 <ti>Default Alpha 2005.0 profile for 2.6 kernels</ti>
369 <ti></ti>
370</tr>
371<tr>
372 <ti>default-linux/alpha/2005.0/2.4</ti>
373 <ti>Alpha 2005.0 profile for 2.4 kernels</ti>
374 <ti></ti>
375</tr>
376<tr>
377 <ti>default-linux/amd64/2005.0</ti>
378 <ti>Default AMD64 2005.0 profile for 2.6 kernels</ti>
379 <ti></ti>
380</tr>
381<tr>
382 <ti>default-linux/amd64/2005.0/no-multilib</ti>
383 <ti>AMD64 2005.0 profile for multilib-disabled system installations</ti>
384 <ti></ti>
385</tr>
386<tr>
387 <ti>default-linux/arm/2005.0</ti>
388 <ti>Default ARM 2005.0 profile for 2.6 kernels</ti>
389 <ti></ti>
390</tr>
391<tr>
392 <ti>default-linux/hppa/2005.0</ti>
393 <ti>Default HPPA 2005.0 profile for 2.6 kernels</ti>
394 <ti></ti>
395</tr>
396<tr>
397 <ti>default-linux/hppa/2005.0/2.4</ti>
398 <ti>HPPA 2005.0 profile for 2.4 kernels</ti>
399 <ti></ti>
400</tr>
401<tr>
402 <ti>default-linux/mips/2005.0</ti>
403 <ti>Default MIPS 2005.0 profile</ti>
404 <ti></ti>
405</tr>
406<tr>
407 <ti>default-linux/mips/cobalt/2005.0</ti>
408 <ti>Cobalt specific MIPS 2005.0 profile</ti>
409 <ti></ti>
410</tr>
411<tr>
412 <ti>default-linux/mips/mips64/n32/2005.0</ti>
413 <ti>2005.0 profile for n32-supporting MIPS platforms</ti>
414 <ti></ti>
415</tr>
416<tr>
417 <ti>default-linux/mips/mips64/ip28/2005.0</ti>
418 <ti>Indigo2 Impact specific 64-bit 2005.0 profile</ti>
419 <ti></ti>
420</tr>
421<tr>
422 <ti>default-linux/mips/mips64/2005.0</ti>
423 <ti>64-bit MIPS 2005.0 profile</ti>
424 <ti></ti>
425</tr>
426<tr>
427 <ti>default-linux/ppc/2005.0</ti>
428 <ti>Default PPC 2005.0 profile for 2.6 kernels</ti>
429 <ti></ti>
430</tr>
431<tr>
432 <ti>default-linux/ppc64/2005.0</ti>
433 <ti>Default PPC64 2005.0 profile for 2.6 kernels</ti>
434 <ti></ti>
435</tr>
436<tr>
437 <ti>default-linux/s390/2005.0</ti>
438 <ti>Default S390 2005.0 profile</ti>
439 <ti></ti>
440</tr>
441<tr>
442 <ti>default-linux/sparc/sparc32/2005.0</ti>
443 <ti>Default Sparc 32-bit 2005.0 profile</ti>
444 <ti></ti>
445</tr>
446<!-- http://dev.gentoo.org/~dsd/kernel-2.6.htm
447 No subprofiles for sparc
448<tr>
449 <ti>default-linux/sparc/sparc32/2005.0/2.6</ti>
450 <ti>Sparc 32-bit 2005.0 profile for 2.6 kernels</ti>
451 <ti></ti>
452</tr>
453-->
454<tr>
455 <ti>default-linux/sparc/sparc64/2005.0</ti>
456 <ti>Default Sparc 64-bit 2005.0 profile</ti>
457 <ti></ti>
458</tr>
459<!-- http://dev.gentoo.org/~dsd/kernel-2.6.htm
460 No subprofiles for sparc
461<tr>
462 <ti>default-linux/sparc/sparc64/2005.0/2.6</ti>
463 <ti>Sparc 64-bit 2005.0 profile for 2.6 kernels</ti>
464 <ti></ti>
465</tr>
466-->
467<tr>
468 <ti>default-linux/x86/2005.0</ti>
469 <ti>Default x86 2005.0 profile for 2.6 kernels</ti>
470 <ti></ti>
471</tr>
472<tr>
473 <ti>default-linux/x86/2005.0/2.4</ti>
474 <ti>x86 2005.0 profile for 2.4 kernels</ti>
475 <ti></ti>
476</tr>
477</table>
478
479<p>
480To switch to the selected profile, point the <path>/etc/make.profile</path>
481symlink to the new location. Make sure your Portage is updated before you change
482your profile!
483</p>
484
485<pre caption="Changing to a 2005.0 profile">
486# <i>rm /etc/make.profile</i>
487# <i>ln -s ../usr/portage/profiles/</i>&lt;selected profile&gt;<i> /etc/make.profile</i>
488</pre>
489
490<p>
491If you are running a Linux 2.4-based system but want to migrate to a 2.6-based
492kernel, make sure you read our <uri link="/doc/en/migration-to-2.6.xml">Gentoo
493Linux 2.6 Migration Guide</uri>.
494</p>
495
496</body>
497</section>
498<section>
499<title>Updating to 2004.3</title>
500<body>
501
502<p>
503With the introduction of the 2004.3 profiles, users are not going to see huge
504modifications of their systems (see below for details). However, Gentoo
505developers decided to push out this new profile and to deprecate quite a few of
506the old ones to speed up the adoption of <e>stacked profiles</e>, that is, the
507profiles that follow the new layout of the <path>/usr/portage/profiles</path>
508directory, for instance
509<path>/usr/portage/profiles/default-linux/x86/2004.3</path> (supported by
510Portage 2.0.51 or later).
511</p>
512
513<p>
514To switch to the 2004.3 profile, point the <path>/etc/make.profile</path>
515symlink to the new location:
516</p>
517
518<warn>
519Don't forget to upgrade Portage <e>before</e> you change your profile!!!
520</warn>
521
522<pre caption="Updating the /etc/make.profile symlink">
523<comment>substitute &lt;arch&gt; with your arch</comment>
524# <i>rm /etc/make.profile</i>
525# <i>ln -s ../usr/portage/profiles/default-linux/&lt;arch&gt;/2004.3 /etc/make.profile</i>
526</pre>
527
528<p>
529<b>All archs</b> - As said above, there are no big changes introduced in this
530profile. However, it should be noted that <c>sys-apps/slocate</c> and
531<c>net-misc/dhcpcd</c> are no longer considered system packages. This means
532that if you run <c>emerge --depclean</c>, Portage will try to remove them from
533your system. If you need any of those packages, add them to
534<path>/var/lib/portage/world</path> after the profile switch, or manually
535emerge them.
536</p>
537
538<p>
539<b>ppc</b> - <c>sys-fs/udev</c> is now the default instead of
540<c>sys-fs/devfs</c> for newly installed machines. This has no
541effect on already installed machines, though.
542</p>
543
544</body>
545</section>
546<section>
547<title>Updating Portage to Support Cascading Profiles</title>
548<body>
549
550<p>
551Although this section does not seem to integrate well in this upgrading guide,
552it is quite important. Any profile listed above this section requires a Portage
553version that supports cascading profiles. However, some obsoleted profiles don't
554allow the user to upgrade Portage or the user is using a profile that isn't
555available anymore - any attempt to upgrade Portage will result in a failure.
556</p>
557
558<p>
559To work around this problem, users can set a temporary symbolic link to the
560<e>obsolete</e> profile, allowing them to upgrade their Portage after which
561they can continue with the upgrade procedure set forth in this guide. Please
562substitute <c>&lt;arch&gt;</c> with your respective architecture:
563</p>
564
565<pre caption="Updating Portage through the obsolete profile">
566# <i>rm /etc/make.profile</i>
567# <i>cd /etc</i>
568# <i>ln -sf ../usr/portage/profiles/obsolete/&lt;arch&gt; make.profile</i>
569# <i>emerge -n '>=sys-apps/portage-2.0.51'</i>
570</pre>
571
572</body>
573</section>
574<section>
575<title>Updating to 2004.2</title>
576<body>
577
578<p>
579To switch to the 2004.2 profile, point the <path>/etc/make.profile</path>
580symlink to the new location:
581</p>
582
583<warn>
584Don't forget to upgrade Portage <e>before</e> you change your profile!!!
585</warn>
586
587<pre caption="Updating the /etc/make.profile symlink">
588<comment>substitute &lt;arch&gt; with your arch</comment>
589# <i>rm /etc/make.profile</i>
590# <i>ln -s ../usr/portage/profiles/default-linux/&lt;arch&gt;/2004.2 /etc/make.profile</i>
591</pre>
592
593<p>
594<b>x86</b> - This profile changes the default X11 implementation from
595<c>x11-base/xfree</c> to <c>x11-base/xorg-x11</c>. This change only touches
596the <e>default</e> value, and is only relevant for those who have not installed
597an X server yet. If you already have one installed, then it will not affect
598you at all; you are free to switch from one X server to the other exactly as
599before.
600</p>
601
602<p>
603<b>amd64</b> - There are no fundamental changes from previous profiles, no
604specific action needs to be performed.
605</p>
606
607</body>
608</section>
609<section>
610<title>Updating to 2004.0</title>
611<body>
612
613<p>
614To switch to the 2004.0 profile, point the <path>/etc/make.profile</path>
615symlink to the new location:
616</p>
617
618<pre caption="Updating the /etc/make.profile symlink">
619<comment>substitute &lt;arch&gt; with your arch</comment>
620# <i>rm /etc/make.profile</i>
621# <i>ln -s ../usr/portage/profiles/default-&lt;arch&gt;-2004.0 /etc/make.profile</i>
622</pre>
623
624<p>
625<b>All archs</b> - There are no fundamental changes from previous profiles, no
626specific action needs to be performed.
627</p>
256 628
257</body> 629</body>
258</section> 630</section>
259<section> 631<section>
260<title>Updating from profiles older than 1.4 to 1.4</title> 632<title>Updating from profiles older than 1.4 to 1.4</title>
268</body> 640</body>
269</section> 641</section>
270</chapter> 642</chapter>
271 643
272</guide> 644</guide>
273

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20