[MacPorts] #48447: Can't update ports because of Python

MacPorts noreply at macports.org
Mon Jul 27 18:36:32 PDT 2015


#48447: Can't update ports because of Python
----------------------------+--------------------------------
  Reporter:  rui.pacheco@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:  invalid        |   Keywords:
      Port:  py27-docutils  |
----------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: ryandesign@… (added)
 * resolution:   => invalid


Comment:

 Replying to [ticket:48447 rui.pacheco@…]:
 >
 > {{{
 > Error: org.macports.activate for port py27-docutils returned: Image
 error:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/rst2html.py
 already exists and does not belong to a registered port.  Unable to
 activate port py27-docutils. Use 'port -f activate py27-docutils' to force
 the activation.
 > }}}

 Why does this file already exist but is not registered to a port? How did
 it get there? (This error message is MacPorts' way of telling you it
 didn't put it there.)

 Perhaps you ran a third-party installer, that was itself built using
 MacPorts, that installed its files into your MacPorts prefix without
 MacPorts knowing about it?

 Or perhaps you had this port installed with MacPorts some time ago, then
 you uninstalled MacPorts incompletely, then you reinstalled MacPorts?

 In either case, the safest solution, since we don't know how many other
 files are in your MacPorts prefix that MacPorts did not put there, is to
 [https://guide.macports.org/chunked/installing.macports.uninstalling.html
 uninstall MacPorts completely], then reinstall MacPorts and the ports you
 want.

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


More information about the macports-tickets mailing list