Changeset 10377 for trunk/doc


Ignore:
Timestamp:
Jan 13, 2005, 4:56:11 PM (14 years ago)
Author:
olegb
Message:

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
mention outdated and upgrade targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/guide/xml/user/user.xml

    r8630 r10377  
    497497                <sect2 id='upgrade_dports'>
    498498                        <title>Upgrading ports</title>
    499                        
    500                         <para>At the moment there is not a 'port upgrade' command so
    501                         to upgrade a port you must uninstall and then install it again.
    502                         <programlisting><![CDATA[% sudo port uninstall vile
    503 % sudo port install vile]]></programlisting></para>
    504 
    505                        
     499                        <para>You can check if a port is outdated with the following command:
     500                        </para>
     501                        <userinput>port outdated gnome</userinput>
     502                        <para>To check if you have any outdated ports:</para>
     503                        <userinput>port outdated</userinput>
     504                        <para>To upgrade a port execute:</para>
     505                        <userinput>sudo port upgrade gnome</userinput>
     506                        <para>This will deactivate the old version and install the new, and
     507                        also install the newer versions of the dependencies of the port.</para>
     508                        <para>If you would like to upgrade the port, but not the dependencies
     509                        of the port, you can:</para>
     510                        <userinput>sudo port -n upgrade gnome</userinput>
     511                        <para>To upgrade all installed ports simply do:.</para>
     512                        <userinput>sudo port -a upgrade</userinput>
     513                        <para>If you dont like that upgrade just deactivates the old version
     514                        of the port, you can get it to uninstall the old version by using
     515                        the -u option:</para>
     516                        <userinput>sudo port -u upgrade gnome</userinput>
    506517                </sect2>
    507518        </sect1>
Note: See TracChangeset for help on using the changeset viewer.