| 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.24 2005/08/12 10:29:12 neysx Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-upgrading.xml,v 1.25 2005/09/20 18:24:14 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"> |
| … | |
… | |
| 497 | </p> |
497 | </p> |
| 498 | |
498 | |
| 499 | </body> |
499 | </body> |
| 500 | </section> |
500 | </section> |
| 501 | <section> |
501 | <section> |
|
|
502 | <title>Updating Portage to Support Cascading Profiles</title> |
|
|
503 | <body> |
|
|
504 | |
|
|
505 | <p> |
|
|
506 | Although this section does not seem to integrate well in this upgrading guide, |
|
|
507 | it is quite important. Any profile listed above this section requires a Portage |
|
|
508 | version that supports cascading profiles. However, some obsoleted profiles don't |
|
|
509 | allow the user to upgrade Portage or the user is using a profile that isn't |
|
|
510 | available anymore - any attempt to upgrade Portage will result in a failure. |
|
|
511 | </p> |
|
|
512 | |
|
|
513 | <p> |
|
|
514 | To work around this problem, users can set a temporary symbolic link to the |
|
|
515 | <e>obsolete</e> profile, allowing them to upgrade their Portage after which |
|
|
516 | they can continue with the upgrade procedure set forth in this guide: |
|
|
517 | </p> |
|
|
518 | |
|
|
519 | <pre caption="Updating Portage through the obsolete profile"> |
|
|
520 | # <i>rm /etc/make.profile</i> |
|
|
521 | # <i>cd /etc</i> |
|
|
522 | # <i>ln -sf ../usr/portage/profiles/obsolete make.profile</i> |
|
|
523 | # <i>emerge -n '>=sys-apps/portage-2.0.51'</i> |
|
|
524 | </pre> |
|
|
525 | |
|
|
526 | </body> |
|
|
527 | </section> |
|
|
528 | <section> |
| 502 | <title>Updating to 2004.2</title> |
529 | <title>Updating to 2004.2</title> |
| 503 | <body> |
530 | <body> |
| 504 | |
531 | |
| 505 | <p> |
532 | <p> |
| 506 | To switch to the 2004.2 profile, point the <path>/etc/make.profile</path> |
533 | To switch to the 2004.2 profile, point the <path>/etc/make.profile</path> |