1 |
swift 11/10/13 16:58:14 |
2 |
|
3 |
Modified: hb-working-portage.xml |
4 |
Log: |
5 |
Add information on --with-bdeps as per discussion on gentoo-dev |
6 |
|
7 |
Revision Changes Path |
8 |
1.77 xml/htdocs/doc/en/handbook/hb-working-portage.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml?rev=1.77&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml?rev=1.77&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml?r1=1.76&r2=1.77 |
13 |
|
14 |
Index: hb-working-portage.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v |
17 |
retrieving revision 1.76 |
18 |
retrieving revision 1.77 |
19 |
diff -u -r1.76 -r1.77 |
20 |
--- hb-working-portage.xml 12 Aug 2011 19:24:18 -0000 1.76 |
21 |
+++ hb-working-portage.xml 13 Oct 2011 16:58:14 -0000 1.77 |
22 |
@@ -4,7 +4,7 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.76 2011/08/12 19:24:18 swift Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.77 2011/10/13 16:58:14 swift Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
@@ -294,15 +294,27 @@ |
32 |
installed. However, it will only verify the versions for the applications you |
33 |
have <e>explicitly</e> installed (the applications listed in |
34 |
<path>/var/lib/portage/world</path>) - it does not thoroughly check their |
35 |
-dependencies. If you want to update <e>every single package</e> on your system, |
36 |
+dependencies. If you want to update the dependencies of those packages as well, |
37 |
add the <c>--deep</c> argument: |
38 |
</p> |
39 |
|
40 |
-<pre caption="Updating your entire system"> |
41 |
+<pre caption="Updating your system with dependencies"> |
42 |
# <i>emerge --update --deep world</i> |
43 |
</pre> |
44 |
|
45 |
<p> |
46 |
+Still, this doesn't mean <e>all packages</e>: some packages on your system are |
47 |
+needed during the compile and build process of packages, but once that package |
48 |
+is installed, these dependencies are no longer required. Portage calls those |
49 |
+<e>build dependencies</e>. To include those in an update cycle, add |
50 |
+<c>--with-bdeps=y</c>: |
51 |
+</p> |
52 |
+ |
53 |
+<pre caption="Updating your entire system"> |
54 |
+# <i>emerge --update --deep --with-bdeps=y world</i> |
55 |
+</pre> |
56 |
+ |
57 |
+<p> |
58 |
Since security updates also happen in packages you have not explicitly installed |
59 |
on your system (but that are pulled in as dependencies of other programs), it |
60 |
is recommended to run this command once in a while. |
61 |
@@ -316,7 +328,7 @@ |
62 |
</p> |
63 |
|
64 |
<pre caption="Performing a full update"> |
65 |
-# <i>emerge --update --deep --newuse world</i> |
66 |
+# <i>emerge --update --deep --with-bdeps=y --newuse world</i> |
67 |
</pre> |
68 |
|
69 |
</body> |