Ticket #20697 (closed defect: invalid)
"port list" shows the latest version of a package as the version for all installed instances
| Reported by: | n2185x@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 1.7.1 |
| Keywords: | Cc: | snc@… | |
| Port: |
Description
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@kevin-browns-macbook:~# ls /opt/local/var/macports/software/openssl/ 0.9.8g_0 0.9.8k_0 root@kevin-browns-macbook:~# port list inactive | grep openssl openssl @0.9.8k devel/openssl root@kevin-browns-macbook:~# port list active | grep openssl openssl @0.9.8k devel/openssl root@kevin-browns-macbook:~# port deactivate openssl ---> Deactivating openssl root@kevin-browns-macbook:~# port activate openssl@0.9.8g_0 ---> Activating openssl @0.9.8g_0 root@kevin-browns-macbook:~# port list inactive | grep openssl openssl @0.9.8k devel/openssl root@kevin-browns-macbook:~# port list active | grep openssl openssl @0.9.8k devel/openssl root@kevin-browns-macbook:~# port list installed | grep openssl openssl @0.9.8k devel/openssl openssl @0.9.8k devel/openssl root@kevin-browns-macbook:~#
This is with the (as of now) latest version of port available via selfupdate:
root@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@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.
Change History
comment:2 Changed 4 years ago by snc@…
That looks like the epoch of that port was increased (epoch comes before version which comes before revision). 0_0.9.8k_2 versus 1_0.9.8k_0.
comment:3 Changed 4 years ago by snc@…
- Cc snc@… added; n2185x@… removed
- Priority changed from High to Normal
Note: See
TracTickets for help on using
tickets.


Cc Me!