[MacPorts] #20697: "port list" shows the latest version of a package as the version for all installed instances

MacPorts noreply at macports.org
Sun Aug 16 15:43:14 PDT 2009


#20697: "port list" shows the latest version of a package as the version for all
installed instances
------------------------------+---------------------------------------------
 Reporter:  n2185x@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  High              |   Milestone:                                       
Component:  ports             |     Version:  1.7.1                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
 Port in the "list" command shows only the latest version (possibly the
 latest installed version, if the latest repository version is different)
 of any given package as the version associated with all installed
 instances of that package.  See the below transcript for proof:


 {{{
 root at kevin-browns-macbook:~# ls /opt/local/var/macports/software/openssl/
 0.9.8g_0        0.9.8k_0
 root at kevin-browns-macbook:~# port list inactive | grep openssl
 openssl                        @0.9.8k         devel/openssl
 root at kevin-browns-macbook:~# port list active | grep openssl
 openssl                        @0.9.8k         devel/openssl
 root at kevin-browns-macbook:~# port deactivate openssl
 --->  Deactivating openssl
 root at kevin-browns-macbook:~# port activate openssl at 0.9.8g_0
 --->  Activating openssl @0.9.8g_0
 root at kevin-browns-macbook:~# port list inactive | grep openssl
 openssl                        @0.9.8k         devel/openssl
 root at kevin-browns-macbook:~# port list active | grep openssl
 openssl                        @0.9.8k         devel/openssl
 root at kevin-browns-macbook:~# port list installed | grep openssl
 openssl                        @0.9.8k         devel/openssl
 openssl                        @0.9.8k         devel/openssl
 root at kevin-browns-macbook:~#

 }}}


 This is with the (as of now) latest version of port available via
 selfupdate:


 {{{
 root at kevin-browns-macbook:~# port selfupdate

 MacPorts base version 1.710 installed
 Downloaded MacPorts base version 1.710

 The MacPorts installation is not outdated so it was not updated
 root at kevin-browns-macbook:~#
 }}}




 Needless to say, this defect makes it much more difficult to manage active
 versus inactive ports.  Please fix it, or tell me how I can figure out why
 it's busted on my system.

-- 
Ticket URL: <http://trac.macports.org/ticket/20697>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list