[MacPorts] #54645: Uninstall one Python version removes packages from other Python versions

MacPorts noreply at macports.org
Sun Aug 20 13:39:28 UTC 2017


#54645: Uninstall one Python version removes packages from other Python versions
--------------------+--------------------
 Reporter:  cdeil   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  python
--------------------+--------------------
 I think there might be a bug in Macports (or misunderstanding how it
 works). I had multiple Python versions installed and
 {{{
 sudo port uninstall --follow-dependents python34
 }}}
 didn't remove `python34` and all Python 3.4 packages like I want, it
 started uninstalling Python 2.7, 3.5 and 3.6 packages.
 I asked about this here https://stackoverflow.com/questions/45721014
 /macports-uninstall-only-one-python-version

 Following the advice of https://stackoverflow.com/a/45722973/498873 I
 tried the {{{-y}}} option to do a dry run first. This does list exactly
 what I wanted to uninstall, but then removing the {{{-y}}} Macports
 started to uninstall packages I didn't want to uninstall from other Python
 versions. The comments after that answer contain more details, and
 specifically this example of the bahaviour I get:
 https://gist.github.com/cdeil/dc6dd1029964542c6365c2fdde21e776

 Bug or feature?

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


More information about the macports-tickets mailing list