[MacPorts] #53857: port -N reclaim does not remove any ports

MacPorts noreply at macports.org
Fri Mar 24 14:38:42 UTC 2017


#53857: port -N reclaim does not remove any ports
---------------------+-----------------
  Reporter:  raimue  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+-----------------
Description changed by raimue:

Old description:

> When reclaim is started in non-interactive mode with `sudo port -N
> reclaim`, the command will check for "unnecessary unrequested ports", but
> will not remove any of them.
>
> {{{
> $ sudo port -N reclaim
> --->  Checking for unnecessary unrequested ports
> Found unrequested ports without requested dependents: qt5-qt3d, grep,
> grep, gmake, py27-sphinx, py27-sphinx, [...]
> --->  Checking for inactive ports
> --->  Building list of distfiles still in use
> --->  Searching for unused distfiles
> --->  Scanning binaries for linking errors
> --->  No broken files found.
> }}}
>
> I expected the command to remove all listed ports without asking me for
> confirmation, similar to the behavior of commands like `port -N
> uninstall` that assume 'yes' as answer in non-interactive mode.

New description:

 When reclaim is started in non-interactive mode with `sudo port -N
 reclaim`, the command will check for "unnecessary unrequested ports", but
 will not remove any of them.

 {{{
 $ sudo port -N reclaim
 --->  Checking for unnecessary unrequested ports
 Found unrequested ports without requested dependents: qt5-qt3d, grep,
 grep, gmake, py27-sphinx, py27-sphinx, [...]
 --->  Checking for inactive ports
 --->  Building list of distfiles still in use
 --->  Searching for unused distfiles
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 }}}

 I expected the command to remove all listed ports without asking me for
 confirmation, similar to the behavior of commands like `port -N install`
 that assume 'yes' as answer in non-interactive mode.

--

--
Ticket URL: <https://trac.macports.org/ticket/53857#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list