Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#70327 closed defect (invalid)

port inactive reports active ports

Reported by: kulczon Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port:

Description

Running port inactive reports active ports instead of inactive. In result, after these ports are uninstalled, port upgrade outdated installs them again. For example, I have aom port installed, versions 3.9.0 and 3.9.1. Version 3.9.1 is active, but also reported as inactive.

$ port list inactive
aom                            @3.9.1          multimedia/aom
$ port installed | grep aom
  aom @3.9.0_0
  aom @3.9.1_0 (active)

Change History (3)

comment:1 Changed 3 months ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

port list shows the version currently in the ports tree, i.e. the one that would be installed if you ran port install. If you want to see the installed version, use port installed.

comment:2 in reply to:  1 Changed 3 months ago by kulczon

Replying to jmroot:

port list shows the version currently in the ports tree, i.e. the one that would be installed if you ran port install. If you want to see the installed version, use port installed.

port installed claims I have two version installed, 3.9.0 and 3.9.1 (active). So why 3.9.1 is treated as inactive (and it is not the only port with such situation)

$ port installed
The following ports are currently installed:
aom @3.9.0_0
aom @3.9.1_0 (active)
Last edited 3 months ago by kulczon (previous) (diff)

comment:3 Changed 3 months ago by jmroot (Joshua Root)

If you run port echo inactive or port installed inactive, you should see aom @3.9.0_0.

Note: See TracTickets for help on using tickets.