[MacPorts] #25401: Incorrect error ".../setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port"
#25401: Incorrect error ".../setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port" ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ When trying to upgrade py25-numpy: {{{ ---> Computing dependencies for py25-nose.. ---> Dependencies to be installed: py25-distribute ---> Activating py25-distribute @0.6.13_0 Error: Target org.macports.activate returned: Image error: /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port. Unable to activate port py25-distribute. Use 'port -f activate py25-distribute' to force the activation. Log for py25-distribute is at: /opt/local/var/macports/logs/_Users_vinc17_software_dports_python_py25-distribute/main.log Error: The following dependencies failed to build: py25-distribute Error: Unable to upgrade port: 1 }}} However /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5 .egg-info has files that belong to py25-setuptools: {{{ $ port contents py25-setuptools | grep /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info /PKG-INFO /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/SOURCES.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/dependency_links.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/entry_points.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/top_level.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info /zip-safe }}} and all the files in /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info belong to py25-setuptools. So either there should be no errors or the activation of py25-distribute tries to remove files from py25-setuptools, contrary to what the message says, and using -f as suggested may break the installation! -- Ticket URL: <http://trac.macports.org/ticket/25401> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25401: Incorrect error ".../setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port" ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by vinc17@…): Note: doing {{{ sudo port -v upgrade py25-setuptools }}} first solved the problem (py25-setuptools is replaced by py25-distribute). Still, the MacPorts logic concerning file owner detection is broken. BTW, I wonder why the dependency rules didn't automatically replaced py25-setuptools by py25-distribute. -- Ticket URL: <http://trac.macports.org/ticket/25401#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25401: Incorrect error ".../setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port" ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: and.damore@… Type: defect | Status: assigned Priority: High | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Changes (by and.damore@…): * owner: macports-tickets@… => and.damore@… * status: new => assigned Old description:
When trying to upgrade py25-numpy: {{{ ---> Computing dependencies for py25-nose.. ---> Dependencies to be installed: py25-distribute ---> Activating py25-distribute @0.6.13_0 Error: Target org.macports.activate returned: Image error: /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port. Unable to activate port py25-distribute. Use 'port -f activate py25-distribute' to force the activation. Log for py25-distribute is at: /opt/local/var/macports/logs/_Users_vinc17_software_dports_python_py25-distribute/main.log Error: The following dependencies failed to build: py25-distribute Error: Unable to upgrade port: 1 }}} However /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5 .egg-info has files that belong to py25-setuptools: {{{ $ port contents py25-setuptools | grep /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info /PKG-INFO /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/SOURCES.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/dependency_links.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/entry_points.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/top_level.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info /zip-safe }}} and all the files in /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info belong to py25-setuptools.
So either there should be no errors or the activation of py25-distribute tries to remove files from py25-setuptools, contrary to what the message says, and using -f as suggested may break the installation!
New description: When trying to upgrade py25-numpy: {{{ ---> Computing dependencies for py25-nose.. ---> Dependencies to be installed: py25-distribute ---> Activating py25-distribute @0.6.13_0 Error: Target org.macports.activate returned: Image error: /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port. Unable to activate port py25-distribute. Use 'port -f activate py25-distribute' to force the activation. Log for py25-distribute is at: /opt/local/var/macports/logs/_Users_vinc17_software_dports_python_py25- distribute/main.log Error: The following dependencies failed to build: py25-distribute Error: Unable to upgrade port: 1 }}} However /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5 .egg-info has files that belong to py25-setuptools: {{{ $ port contents py25-setuptools | grep /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/PKG- /INFO /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info/ /SOURCES.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info/ /dependency_links.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info/ /entry_points.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info/ /top_level.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/zip- /safe }}} and all the files in /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info belong to py25-setuptools. So either there should be no errors or the activation of py25-distribute tries to remove files from py25-setuptools, contrary to what the message says, and using -f as suggested may break the installation! -- Comment: It seems that mp thought py25-setuptools was not installed. It has been 5 months since you open the ticket so maybe you've changed your setup, is the tickes still up to date? i.e. can you reproduce the issue? I wrapped description at 80 columns. -- Ticket URL: <https://trac.macports.org/ticket/25401#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25401: Incorrect error ".../setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port" ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Changes (by and.damore@…): * status: assigned => new * owner: and.damore@… => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/25401#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25401: Incorrect error ".../setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port" ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by vinc17@…): Replying to [comment:3 and.damore@…]:
It has been 5 months since you open the ticket so maybe you've changed your setup, is the tickes still up to date? i.e. can you reproduce the issue?
I solved the problem by doing {{{ sudo port -v upgrade py25-setuptools }}} But this is the kind of thing that MacPorts should do automatically via dependencies. -- Ticket URL: <https://trac.macports.org/ticket/25401#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25401: Incorrect error ".../setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port" ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by jmr@…): The error message is actually correct; directories are not registered to any port. -- Ticket URL: <https://trac.macports.org/ticket/25401#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25401: Incorrect error ".../setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port" ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Old description:
When trying to upgrade py25-numpy:
{{{
---> Computing dependencies for py25-nose.. ---> Dependencies to be installed: py25-distribute ---> Activating py25-distribute @0.6.13_0 Error: Target org.macports.activate returned: Image error: /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port. Unable to activate port py25-distribute. Use 'port -f activate py25-distribute' to force the activation. Log for py25-distribute is at: /opt/local/var/macports/logs/_Users_vinc17_software_dports_python_py25- distribute/main.log Error: The following dependencies failed to build: py25-distribute Error: Unable to upgrade port: 1
}}} However /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5 .egg-info has files that belong to py25-setuptools:
{{{
$ port contents py25-setuptools | grep /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/PKG- /INFO /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/ /SOURCES.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/ /dependency_links.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/ /entry_points.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/ /top_level.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/zip- /safe
}}}
and all the files in /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info belong to py25-setuptools.
So either there should be no errors or the activation of py25-distribute tries to remove files from py25-setuptools, contrary to what the message says, and using -f as suggested may break the installation!
New description: When trying to upgrade py25-numpy: {{{ ---> Computing dependencies for py25-nose.. ---> Dependencies to be installed: py25-distribute ---> Activating py25-distribute @0.6.13_0 Error: Target org.macports.activate returned: Image error: /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info already exists and does not belong to a registered port. Unable to activate port py25-distribute. Use 'port -f activate py25-distribute' to force the activation. Log for py25-distribute is at: /opt/local/var/macports/logs/_Users_vinc17_software_dports_python_py25-distribute/main.log Error: The following dependencies failed to build: py25-distribute Error: Unable to upgrade port: 1 }}} However /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5 .egg-info has files that belong to py25-setuptools: {{{ $ port contents py25-setuptools | grep /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/PKG- /INFO /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info/ /SOURCES.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info/ /dependency_links.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info/ /entry_points.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg-info/ /top_level.txt /opt/local/lib/python2.5/site-packages/setuptools-0.6c11-py2.5.egg- info/zip- /safe }}} and all the files in /opt/local/lib/python2.5/site- packages/setuptools-0.6c11-py2.5.egg-info belong to py25-setuptools. So either there should be no errors or the activation of py25-distribute tries to remove files from py25-setuptools, contrary to what the message says, and using -f as suggested may break the installation! -- Comment(by and.damore@…): I broke EOL while reformatting long lines, fixed. -- Ticket URL: <https://trac.macports.org/ticket/25401#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25401: replaced ports are not deactivated automatically when the first conflict detected is with a directory ----------------------------------+----------------------------------------- Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: High | Milestone: Component: base | Version: 1.9.1 Resolution: wontfix | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => wontfix Comment: This is a pretty rare case that would require a highly disruptive fix. Not going to happen unless someone does the work and provides a patch. -- Ticket URL: <https://trac.macports.org/ticket/25401#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts