Changes between Version 96 and Version 97 of FAQ


Ignore:
Timestamp:
Apr 9, 2010, 8:59:48 AM (15 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

overhail explanation of how "port list" works

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v96 v97  
    118118 * [wiki:howto/PortTreeTarball You can download a tarball, built daily, and update with that]
    119119
    120 === When I run `port list installed` I see the identical versions of some ports installed, why? === #portlist
    121 Using `port list installed` will give confusing results as the 'list' command bases its version information only on what is the currently-available version; so if you have port '''foo''' installed at versions 1 and 2 (with 2 being the current version available), `list installed` will only show '''foo''' at version 2, twice.
    122 
    123 Instead, use `port installed` which will show the version which is actually installed.
     120=== `port list` produces unexpected output === #portlist
     121
     122`port list` doesn't work the way you think it does. You probably want `port installed` instead. If you were trying to use `port list installed`, you probably want `port installed` (or, equivalently, `port installed installed`); if you were trying to use `port list someport`, you probably want `port installed someport`.
     123
     124For every given port, `port list` displays the version of that port currently available in the ports tree -- ''not'' the version currently installed. So if for example you have port '''foo''' installed at versions 1 and 2 (with 2 being the current version available), `port list foo` will show '''foo''' at version 2, twice, whereas `port installed foo` will show '''foo''' at version 1 once and '''foo''' at version 2 once.
    124125
    125126=== Why has feature XYZ not been implemented yet, it is important? === #whynotxyz