Opened 12 years ago

Last modified 12 years ago

#35850 closed defect

Error upgrade python27 — at Version 1

Reported by: bhoglund@… Owned by: jwa@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: python27

Description (last modified by mf2k (Frank Schima))

Typing "sudo port upgrade outdated" gave me the error:

--->  Installing python27 @2.7.3_0
Error: org.macports.install for port python27 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot
Please see the log file for port python27 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log

I tried "sudo port clean python27", but got the same error. I went into the log file, as the error message suggested above & found these error lines:

:error:install org.macports.install for port python27 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot
:debug:install Error code: NONE
:debug:install Backtrace: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/

I tried to uninstall python27, but there were dependent files &/or applications, whose purpose I don't know. I abandoned uninstalling python27.

I then tried "sudo port -n upgrade --force python27", but got the same error, but with many lines of text!

Also, "which python" give Apple's python, not MacPorts: /usr/bin/python

Change History (2)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: python27 upgrade outdated destroot removed
Owner: changed from macports-tickets@… to jwa@…

In the future, please use WikiFormatting and Cc the port maintainer(s).

Please attach the entire main.log.

Changed 12 years ago by bhoglund@…

Attachment: main.log added

Install python27 main.log

Note: See TracTickets for help on using tickets.