/[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.54 Revision 1.57
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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.0 --> 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.54 2005/06/11 12:16:14 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-portage.xml,v 1.57 2005/12/26 16:47:16 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.49</version> 11<version>1.52</version>
12<date>2005-06-11</date> 12<date>2005-12-26</date>
13 13
14<section> 14<section>
15<title>Welcome to Portage</title> 15<title>Welcome to Portage</title>
16<body> 16<body>
17 17
272<p> 272<p>
273To keep your system in perfect shape (and not to mention install the latest 273To keep your system in perfect shape (and not to mention install the latest
274security updates) you need to update your system regularly. Since Portage only 274security updates) you need to update your system regularly. Since Portage only
275checks the ebuilds in your Portage tree you first have to update your Portage 275checks the ebuilds in your Portage tree you first have to update your Portage
276tree. When your Portage tree is updated, you can update your system with 276tree. When your Portage tree is updated, you can update your system with
277<c>emerge --update world</c>: 277<c>emerge --update world</c>. In the next example, we'll also use the
278<c>--ask</c> switch which will tell Portage to display the list of packages it
279wants to upgrade and ask you if you want to continue:
278</p> 280</p>
279 281
280<pre caption="Updating your system"> 282<pre caption="Updating your system">
281# <i>emerge --update world</i> 283# <i>emerge --update --ask world</i>
282</pre> 284</pre>
283 285
284<p> 286<p>
285Portage will then search for newer version of the applications you have 287Portage will then search for newer version of the applications you have
286installed. However, it will only verify the versions for the applications you 288installed. However, it will only verify the versions for the applications you
418<subsection id="blocked"> 420<subsection id="blocked">
419<title>Blocked Packages</title> 421<title>Blocked Packages</title>
420<body> 422<body>
421 423
422<pre caption="Portage warning about blocked packages (with --pretend)"> 424<pre caption="Portage warning about blocked packages (with --pretend)">
423[blocks B ] gnome-base/bonobo-activation (from pkg gnome-base/libbonobo-2.4.0) 425[blocks B ] mail-mta/ssmtp (is blocking mail-mta/postfix-2.2.2-r1)
424</pre> 426</pre>
425 427
426<pre caption="Portage warning about blocked packages (without --pretend)"> 428<pre caption="Portage warning about blocked packages (without --pretend)">
427!!! Error: the gnome-base/bonobo-activation package conflicts with another package. 429!!! Error: the mail-mta/postfix package conflicts with another package.
428!!! both can't be installed on the same system together. 430!!! both can't be installed on the same system together.
429!!! Please use 'emerge --pretend' to determine blockers. 431!!! Please use 'emerge --pretend' to determine blockers.
430</pre> 432</pre>
431 433
432<p> 434<p>
438</p> 440</p>
439 441
440<p> 442<p>
441To fix a blockage, you can choose to not install the package or unmerge the 443To fix a blockage, you can choose to not install the package or unmerge the
442conflicting package first. In the given example, you can opt not to install 444conflicting package first. In the given example, you can opt not to install
443<c>libbonobo</c> or to remove <c>bonobo-activation</c> first. 445<c>postfix</c> or to remove <c>ssmtp</c> first.
446</p>
447
448<p>
449It is also possible that two packages that are yet to be installed are blocking
450each other. In this rare case, you should find out why you need to install both.
451In most cases you can do with one of the packages alone. If not, please file a
452bug on <uri link="http://bugs.gentoo.org">Gentoo's bugtracking system</uri>.
444</p> 453</p>
445 454
446</body> 455</body>
447</subsection> 456</subsection>
448<subsection id="masked"> 457<subsection id="masked">

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20