[MacPorts] #64038: Unable to Unistall Obsolete Port py39-typed-ast Due to Dependents

MacPorts noreply at macports.org
Tue Nov 23 15:18:26 UTC 2021


#64038: Unable to Unistall Obsolete Port py39-typed-ast Due to Dependents
----------------------------------------+------------------------
  Reporter:  RobK88                     |      Owner:  ryandesign
      Type:  defect                     |     Status:  closed
  Priority:  Normal                     |  Milestone:
 Component:  ports                      |    Version:  2.7.1
Resolution:  fixed                      |   Keywords:
      Port:  py39-typed-ast, py39-mypy  |
----------------------------------------+------------------------

Comment (by RobK88):

 Thanks Ryan for the quick fix.

 P.S.  For those who may be trying to uninstall py39-typed-ast after
 upgrading py39-mypy, please note that you must uninstall the previous
 revision of py39_mypy  first (i.e. revision @0.910_0).  See below.


 {{{
 bash-3.2$ sudo port upgrade py39-mypy
 Password:
 --->  Computing dependencies for py39-mypy
 --->  Fetching distfiles for py39-mypy
 --->  Verifying checksums for py39-mypy
 --->  Extracting py39-mypy
 --->  Configuring py39-mypy
 --->  Building py39-mypy
 --->  Staging py39-mypy into destroot
 --->  Installing py39-mypy @0.910_1
 --->  Cleaning py39-mypy
 --->  Computing dependencies for py39-mypy
 --->  Deactivating py39-mypy @0.910_0
 --->  Cleaning py39-mypy
 --->  Activating py39-mypy @0.910_1
 --->  Cleaning py39-mypy
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.

 bash-3.2$ sudo port uninstall obsolete
 Note: It is not recommended to uninstall/deactivate a port that has
 dependents as it breaks the dependents.
 The following ports will break: py39-mypy @0.910_0
 Continue? [y/N]: n
 --->  Cleaning py39-typed-ast

 sudo port uninstall inactive
 --->  Uninstalling py39-mypy @0.910_0
 --->  Cleaning py39-mypy

 bash-3.2$ sudo port uninstall obsolete
 --->  Deactivating py39-typed-ast @1.4.3_0
 --->  Cleaning py39-typed-ast
 --->  Uninstalling py39-typed-ast @1.4.3_0
 --->  Cleaning py39-typed-ast
 bash-3.2$
 }}}

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


More information about the macports-tickets mailing list