| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/portage/doc/manually-fixing-portage.xml,v 1.6 2007/04/30 08:48:06 rane Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/portage/doc/manually-fixing-portage.xml,v 1.7 2007/05/30 23:54:07 genone Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/proj/en/portage/doc/manually-fixing-portage.xml"> |
5 | <guide link="/proj/en/portage/doc/manually-fixing-portage.xml"> |
| 6 | |
6 | |
| 7 | <title>Manually fixing broken portage installations</title> |
7 | <title>Manually fixing broken portage installations</title> |
| … | |
… | |
| 17 | |
17 | |
| 18 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
18 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 19 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
19 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 20 | <license/> |
20 | <license/> |
| 21 | |
21 | |
| 22 | <version>0.2</version> |
22 | <version>0.3</version> |
| 23 | <date>2006-02-19</date> |
23 | <date>2007-05-31</date> |
| 24 | |
24 | |
| 25 | <chapter> |
25 | <chapter> |
| 26 | <title>Manually fixing portage</title> |
26 | <title>Manually fixing portage</title> |
| 27 | <section> |
27 | <section> |
| 28 | <title>Purpose</title> |
28 | <title>Purpose</title> |
| … | |
… | |
| 91 | <pre caption="Replacing installed files"> |
91 | <pre caption="Replacing installed files"> |
| 92 | # <i>cd /root/portage-recover/portage-2.1.1</i> |
92 | # <i>cd /root/portage-recover/portage-2.1.1</i> |
| 93 | # <i>cp -R pym bin /usr/lib/portage/</i> |
93 | # <i>cp -R pym bin /usr/lib/portage/</i> |
| 94 | </pre> |
94 | </pre> |
| 95 | |
95 | |
|
|
96 | <note> |
|
|
97 | If you accidently unmerged portage before or lost |
|
|
98 | <path>/etc/make.globals</path> for other reasons you should also copy |
|
|
99 | <path>cnf/make.globals</path> back into <path>/etc</path>, otherwise |
|
|
100 | portage might behave in strange ways. |
|
|
101 | </note> |
|
|
102 | |
| 96 | <p> |
103 | <p> |
| 97 | Now you should have a working portage install again. To ensure a consistent |
104 | Now you should have a working portage install again. To ensure a consistent |
| 98 | system state however you should now run <c>emerge sys-apps/portage</c> again |
105 | system state however you should now run <c>emerge sys-apps/portage</c> again |
| 99 | immediately. |
106 | immediately. |
| 100 | </p> |
107 | </p> |