Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#35850 closed defect (invalid)

Error upgrade python27

Reported by: bhoglund@… Owned by: jyrkiwahlstedt
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

Attachments (2)

main.log (1.5 KB) - added by bhoglund@… 12 years ago.
Install python27 main.log
main.2.log (1.3 MB) - added by bhoglund@… 12 years ago.
Log file of failed upgrade of python27

Download all attachments as: .zip

Change History (10)

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

comment:2 Changed 12 years ago by bhoglund@…

Cc: bhoglund@… added

Cc Me!

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

Cc: bhoglund@… removed

That log was not useful at all. clean python27 and attach the new main.log if it fails.

comment:4 in reply to:  3 Changed 12 years ago by bhoglund@…

Replying to macsforever2000@…:

That log was not useful at all. clean python27 and attach the new main.log if it fails.

Sorry it was not useful.

I cleaned python27 and again typed "sudo port upgrade outdated" and got the first error a few lines down:

--->  Installing python27 @2.7.3_0
Error: org.macports.install for port python27 returned: @name python27-2.7.3_0
@portname python27

There were hundreds of lines after these.

I have attached the new main.log. Hopefully it is useful this time.

Changed 12 years ago by bhoglund@…

Attachment: main.2.log added

Log file of failed upgrade of python27

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

That log is interesting. I don't know what's causing the problem though.

Is your tar command working correctly? What's the following command output:

/usr/bin/tar --version

comment:6 in reply to:  5 Changed 12 years ago by bhoglund@…

Replying to ryandesign@…:

That log is interesting. I don't know what's causing the problem though.

Is your tar command working correctly? What's the following command output:

/usr/bin/tar --version

I've never had a problem compressing or uncompressing files, but I rarely, if ever, use the CLI to do so.

/usr/bin/tar --version
tar (GNU tar) 1.26

And "which tar" says that's the one I'd use.

comment:7 Changed 12 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

Yeah, on Lion you should get:

% /usr/bin/tar --version
bsdtar 2.8.3 - libarchive 2.8.3

We can't offer support if you have modified stuff in /usr/bin.

Last edited 12 years ago by jmroot (Joshua Root) (previous) (diff)

comment:8 in reply to:  7 Changed 12 years ago by bhoglund@…

Replying to jmr@…:

Yeah, on Lion you should get:

% /usr/bin/tar --version
bsdtar 2.8.3 - libarchive 2.8.3

We can't offer support if you have modified stuff in /usr/bin.

I understand. Thanks for finding the root cause of the problem.

I changed my Symbolic Link of usr/bin/tar from MacPorts installed gnutar to usr/bin/bsdtar (version 2.8.3), and was able to update my MacPorts (no more Python27 problems).

Note: See TracTickets for help on using tickets.