How to list which revisions are available for activation?

Bryan Blackburn blb at macports.org
Wed May 20 21:13:35 PDT 2009


On Wed, May 20, 2009 at 08:55:38PM -0700, Jim DeLaHunt said:
> This may be a stupid question, but I can't find the answer in the help file.
>
> How can I find out which revisions of a particular port are present on my 
> system?
>
> Consider the following.  "port info" tells me which is the highest  
> revision loaded on my system.  However, "port outdated" tells me that  
> what is active is a slightly older revision.  What I want is a command 
> which will tell me, "you have version a.b.c_d and version m.n.o_p, and 
> it's version a.b.c_d which is activated".

That would be the 'installed' command, eg,

$ port installed hs-libcabal
  hs-libcabal @1.6.0.1_0
  hs-libcabal @1.6.0.3_1 (active)


Not specifying a port shows all the ports you currently have installed.

Bryan

[...]
>
> Thanks in advance,
> -- 
>     --Jim DeLaHunt, jdlh at jdlh.com     http://blog.jdlh.com/ (http://jdlh.com/)
>       multilingual websites consultant
>
>       157-2906 West Broadway, Vancouver BC V6K 2G8, Canada
>          Canada mobile +1-604-376-8953


More information about the macports-users mailing list