/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-portage.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-portage.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.76 Revision 1.77
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.76 2011/08/12 19:24:18 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.77 2011/10/13 16:58:14 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12This chapter explains the "simple" steps a user definitely needs to know to 12This chapter explains the "simple" steps a user definitely needs to know to
292<p> 292<p>
293Portage will then search for newer version of the applications you have 293Portage will then search for newer version of the applications you have
294installed. However, it will only verify the versions for the applications you 294installed. However, it will only verify the versions for the applications you
295have <e>explicitly</e> installed (the applications listed in 295have <e>explicitly</e> installed (the applications listed in
296<path>/var/lib/portage/world</path>) - it does not thoroughly check their 296<path>/var/lib/portage/world</path>) - it does not thoroughly check their
297dependencies. If you want to update <e>every single package</e> on your system, 297dependencies. If you want to update the dependencies of those packages as well,
298add the <c>--deep</c> argument: 298add the <c>--deep</c> argument:
299</p> 299</p>
300 300
301<pre caption="Updating your system with dependencies">
302# <i>emerge --update --deep world</i>
303</pre>
304
305<p>
306Still, this doesn't mean <e>all packages</e>: some packages on your system are
307needed during the compile and build process of packages, but once that package
308is installed, these dependencies are no longer required. Portage calls those
309<e>build dependencies</e>. To include those in an update cycle, add
310<c>--with-bdeps=y</c>:
311</p>
312
301<pre caption="Updating your entire system"> 313<pre caption="Updating your entire system">
302# <i>emerge --update --deep world</i> 314# <i>emerge --update --deep --with-bdeps=y world</i>
303</pre> 315</pre>
304 316
305<p> 317<p>
306Since security updates also happen in packages you have not explicitly installed 318Since security updates also happen in packages you have not explicitly installed
307on your system (but that are pulled in as dependencies of other programs), it 319on your system (but that are pulled in as dependencies of other programs), it
314if the change requires the installation of new packages or recompilation of 326if the change requires the installation of new packages or recompilation of
315existing ones: 327existing ones:
316</p> 328</p>
317 329
318<pre caption="Performing a full update"> 330<pre caption="Performing a full update">
319# <i>emerge --update --deep --newuse world</i> 331# <i>emerge --update --deep --with-bdeps=y --newuse world</i>
320</pre> 332</pre>
321 333
322</body> 334</body>
323</subsection> 335</subsection>
324<subsection> 336<subsection>

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77

  ViewVC Help
Powered by ViewVC 1.1.20