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