[MacPorts] #52791: port reclaim: keeps asking for permission to remove dependencies of inactive ports

MacPorts noreply at macports.org
Wed Nov 2 07:52:59 CET 2016


#52791: port reclaim: keeps asking for permission to remove dependencies of
inactive ports
--------------------+--------------------------------
 Reporter:  mojca   |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  base    |    Version:  2.3.99
 Keywords:          |       Port:
--------------------+--------------------------------
 I just decided to run `port reclaim` instead of `port uninstall inactive`.

 The dealbreaker is that I have been asked 323 times the same pointless
 question (after deactivating all the `p5.22-*` ports):
 {{{
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break: foo @x.y_z
 Continue? [y/N]: y
 Warning: Uninstall forced.  Proceeding despite dependencies.
 }}}

 Of course the port `foo @x.y_z` was inactive and scheduled for removal.

 The script should be more clever and not ask for permission to remove
 dependencies of ports that are planned to be removed anyway.

 (On top of that the script needed some 4-5 GB of memory to complete and
 "froze" my old computer (while other programs fought for additional
 gigabytes of swap). That's not something I expect anyone to fix – other
 than me buying new hardware, I just wanted to mention it.)

--
Ticket URL: <https://trac.macports.org/ticket/52791>
MacPorts <https://www.macports.org/>
Ports system for macOS



More information about the macports-tickets mailing list