| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoolkit.xml,v 1.10 2004/03/26 12:58:32 cam Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoolkit.xml,v 1.11 2004/06/25 22:28:55 vapier Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/gentoolkit.xml"> |
5 | <guide link="/doc/en/gentoolkit.xml"> |
| 6 | <title>Gentoolkit</title> |
6 | <title>Gentoolkit</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| 9 | <mail link="mbutcher@aleph-null.tv">Matt Butcher</mail> |
9 | <mail link="mbutcher@aleph-null.tv">Matt Butcher</mail> |
| 10 | </author> |
10 | </author> |
| 11 | |
11 | |
| 12 | <author title="Editor"> |
12 | <author title="Editor"> |
| 13 | <!-- zhen@gentoo.org -->John P. Davis |
13 | <!-- zhen@gentoo.org -->John P. Davis |
| 14 | </author> |
14 | </author> |
| 15 | |
15 | |
| 16 | <author title="Editor"> |
16 | <author title="Editor"> |
| 17 | <mail link="erwin@gentoo.org">Erwin</mail> |
17 | <mail link="erwin@gentoo.org">Erwin</mail> |
| 18 | </author> |
18 | </author> |
| 19 | |
19 | |
| 20 | <!-- Licensed under GFDL --> |
20 | <!-- Licensed under GFDL --> |
| 21 | |
21 | |
| 22 | <abstract> |
22 | <abstract> |
| 23 | Gentoolkit is a suite of tools to ease the administration of a Gentoo system. |
23 | Gentoolkit is a suite of tools to ease the administration of a Gentoo system. |
| 24 | This document covers the basics of some of the tools present in Gentoolkit. |
24 | This document covers the basics of some of the tools present in Gentoolkit. |
| 25 | </abstract> |
25 | </abstract> |
| 26 | |
26 | |
| 27 | <version>1.2</version> |
27 | <version>1.3</version> |
| 28 | <date>December 1, 2003</date> |
28 | <date>December 1, 2003</date> |
| 29 | |
29 | |
| 30 | <chapter> |
30 | <chapter> |
| 31 | <title>Introduction</title> |
31 | <title>Introduction</title> |
| 32 | <section> |
32 | <section> |
| 33 | <title>What is Gentoolkit?</title> |
33 | <title>What is Gentoolkit?</title> |
| 34 | <body> |
34 | <body> |
| 35 | |
35 | |
| 36 | <p> |
36 | <p> |
| 37 | Gentoo is a unique distribution, and presents some complexities that simply |
37 | Gentoo is a unique distribution, and presents some complexities that simply |
| 38 | don't exist for other distributions. As Gentoo developers and contributors |
38 | don't exist for other distributions. As Gentoo developers and contributors |
| 39 | discovered some of these complexities, they also wrote tools to help users and |
39 | discovered some of these complexities, they also wrote tools to help users and |
| 40 | administrators work around them. Many of these tools have been contributed to |
40 | administrators work around them. Many of these tools have been contributed to |
| 41 | the Gentoo project, and are included in the package |
41 | the Gentoo project, and are included in the package |
| 42 | <c>app-portage/gentoolkit</c>. |
42 | <c>app-portage/gentoolkit</c>. |
| … | |
… | |
| 197 | </pre> |
197 | </pre> |
| 198 | |
198 | |
| 199 | </body> |
199 | </body> |
| 200 | </section> |
200 | </section> |
| 201 | |
201 | |
| 202 | <section> |
202 | <section> |
| 203 | <title>Finding the Package from Where a File Came</title> |
203 | <title>Finding the Package from Where a File Came</title> |
| 204 | <body> |
204 | <body> |
| 205 | |
205 | |
| 206 | <p> |
206 | <p> |
| 207 | To find the package that a file came from, use the <c>-f</c> or |
207 | To find the package that a file came from, use the <c>-f</c> or |
| 208 | <c>--find-file</c> flag. |
208 | <c>--find-file</c> flag. |
| 209 | </p> |
209 | </p> |
| 210 | |
210 | |
| 211 | <pre> |
211 | <pre> |
| 212 | # <i>qpkg -fnet-www/mozilla * </i> |
212 | # <i>qpkg -f /usr/lib/mozilla</i> |
|
|
213 | net-www/mozilla * |
| 213 | </pre> |
214 | </pre> |
| 214 | |
215 | |
| 215 | </body> |
216 | </body> |
| 216 | </section> |
217 | </section> |
| 217 | |
218 | |
| 218 | <section> |
219 | <section> |
| 219 | <title>Listing Duplicate Packages</title> |
220 | <title>Listing Duplicate Packages</title> |
| 220 | <body> |
221 | <body> |
| 221 | |
222 | |
| 222 | <p> |
223 | <p> |
| 223 | Sometimes multiple versions of the same package may exist. <c>qpkg --dup</c> |
224 | Sometimes multiple versions of the same package may exist. <c>qpkg --dup</c> |
| 224 | will print a list of duplicate packages. The existence of a duplicate package |
225 | will print a list of duplicate packages. The existence of a duplicate package |
| 225 | though may not indicate that the older version may be removed. They may fill |
226 | though may not indicate that the older version may be removed. They may fill |
| 226 | different slots. To look for duplicates in the same slot, use |
227 | different slots. To look for duplicates in the same slot, use |
| 227 | <c>qpkg --dups --slot</c>. I just updated KDE from 3.0 to 3.0.2, so I have some |
228 | <c>qpkg --dups --slot</c>. I just updated KDE from 3.0 to 3.0.2, so I have some |