/[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.14 Revision 1.15
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.14 2004/11/08 10:03:14 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-upgrading.xml,v 1.15 2004/11/08 10:04:42 swift 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="g.guidi@sns.it">Gregorio Guidi</mail>
10</author> 10</author>
11 11
12<abstract> 12<abstract>
13This document explains how new Gentoo releases affect existing installs. 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/2.0 --> 17<!-- See http://creativecommons.org/licenses/by-sa/2.0 -->
18<license/> 18<license/>
19 19
20<version>2.6</version> 20<version>2.7</version>
21<date>November 08, 2004</date> 21<date>November 08, 2004</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 upgrading is quite different compared to 30Here in Gentoo land, the concept of upgrading is quite different compared to
31the rest of the Linux world. You probably 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 of upgrading software: waiting for a new release, 32touch with the "classic" way of upgrading software: waiting for a new release,
33downloading it, burning, putting it in the cdrom drive and then following the 33downloading it, burning, putting it in the cdrom drive and then following the
34upgrade instructions. 34upgrade instructions.
35</p> 35</p>
270profiles that follow the new layout of the <path>/usr/portage/profiles</path> 270profiles that follow the new layout of the <path>/usr/portage/profiles</path>
271directory, for instance 271directory, for instance
272<path>/usr/portage/profiles/default-linux/x86/2004.3</path> (supported by 272<path>/usr/portage/profiles/default-linux/x86/2004.3</path> (supported by
273Portage 2.0.51 or later). 273Portage 2.0.51 or later).
274</p> 274</p>
275 275
276<p> 276<p>
277To switch to the 2004.3 profile, point the <path>/etc/make.profile</path> 277To switch to the 2004.3 profile, point the <path>/etc/make.profile</path>
278symlink to the new location: 278symlink to the new location:
279</p> 279</p>
280 280
281<warn> 281<warn>
282Don't forget to upgrade Portage <e>before</e> you change your profile!!! 282Don't forget to upgrade Portage <e>before</e> you change your profile!!!
283</warn> 283</warn>
284 284
285
286<pre caption="Updating the /etc/make.profile symlink"> 285<pre caption="Updating the /etc/make.profile symlink">
287<comment>substitute &lt;arch&gt; with your arch</comment> 286<comment>substitute &lt;arch&gt; with your arch</comment>
288# <i>rm /etc/make.profile</i> 287# <i>rm /etc/make.profile</i>
289# <i>ln -s ../usr/portage/profiles/default-linux/&lt;arch&gt;/2004.3 /etc/make.profile</i> 288# <i>ln -s ../usr/portage/profiles/default-linux/&lt;arch&gt;/2004.3 /etc/make.profile</i>
290</pre> 289</pre>
291 290
292<p> 291<p>
293<b>All archs</b> - As said above, there are no big changes introduced in this 292<b>All archs</b> - As said above, there are no big changes introduced in this
294profile. However, it should be noted that <c>sys-apps/slocate</c> and 293profile. However, it should be noted that <c>sys-apps/slocate</c> and
295<c>net-misc/dhcpcd</c> are no longer considered system packages. This means 294<c>net-misc/dhcpcd</c> are no longer considered system packages. This means
296that if you run <c>emerge depclean</c>, Portage will try to remove them from 295that if you run <c>emerge depclean</c>, Portage will try to remove them from
297your system. If you need any of those packages, add them to 296your system. If you need any of those packages, add them to
298<path>/var/lib/portage/world</path> after the profile switch, or manually 297<path>/var/lib/portage/world</path> after the profile switch, or manually
299emerge them. 298emerge them.
300</p> 299</p>
304for newly installed machines. This has no effect on already installed machines, 303for newly installed machines. This has no effect on already installed machines,
305though. 304though.
306</p> 305</p>
307 306
308</body> 307</body>
309</section> 308</section>
310<section> 309<section>
311<title>Updating to 2004.2</title> 310<title>Updating to 2004.2</title>
312<body> 311<body>
313 312
314<p> 313<p>
315To switch to the 2004.2 profile, point the <path>/etc/make.profile</path> symlink 314To switch to the 2004.2 profile, point the <path>/etc/make.profile</path> symlink
316to the new location: 315to the new location:
317</p> 316</p>
318 317
318<warn>
319Don't forget to upgrade Portage <e>before</e> you change your profile!!!
320</warn>
321
319<pre caption="Updating the /etc/make.profile symlink"> 322<pre caption="Updating the /etc/make.profile symlink">
320<comment>substitute &lt;arch&gt; with your arch</comment> 323<comment>substitute &lt;arch&gt; with your arch</comment>
321# <i>rm /etc/make.profile</i> 324# <i>rm /etc/make.profile</i>
322# <i>ln -s ../usr/portage/profiles/default-linux/&lt;arch&gt;/2004.2 /etc/make.profile</i> 325# <i>ln -s ../usr/portage/profiles/default-linux/&lt;arch&gt;/2004.2 /etc/make.profile</i>
323</pre> 326</pre>
324 327
325<p> 328<p>
326<b>x86</b> - This profile changes the default X11 implementation from 329<b>x86</b> - This profile changes the default X11 implementation from
327<c>x11-base/xfree</c> to <c>x11-base/xorg-x11</c>. This change only touches 330<c>x11-base/xfree</c> to <c>x11-base/xorg-x11</c>. This change only touches
328the <e>default</e> value, and is only relevant for those who have not installed 331the <e>default</e> value, and is only relevant for those who have not installed
329an X server yet. If you already have one installed, then it will not affect 332an X server yet. If you already have one installed, then it will not affect
330you at all; you are free to switch from one X server to the other exactly as 333you at all; you are free to switch from one X server to the other exactly as
331before. 334before.
332</p> 335</p>
333 336

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20