Opened 12 years ago

Closed 12 years ago

#35800 closed defect (invalid)

python24: /opt/local/bin/idle2.4 already exists and does not belong to a registered port

Reported by: willpadget@… Owned by: jaroel (Roel Bruggink)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: python24

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I initially had issues with Xcode when trying to download python, but found the command tools download under the preferences tab. Now I'm encountering problems with the macports. It shows this error message after running for several minutes:

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
--->  Computing dependencies for py-tkinter
--->  Dependencies to be installed: py24-tkinter python24 tk Xft2 fontconfig freetype bzip2 pkgconfig glib2 libffi perl5 perl5.12 gdbm xz xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto tcl xorg-libXScrnSaver xorg-libXext autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-util-macros xorg-scrnsaverproto
--->  Activating python24 @2.4.6_10
Error: org.macports.activate for port python24 returned: Image error: /opt/local/bin/idle2.4 already exists and does not belong to a registered port.  Unable to activate port python24. Use 'port -f activate python24' to force the activation.
Error: Failed to install python24
Please see the log file for port python24 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python24/python24/main.log
Error: The following dependencies were not installed: py24-tkinter python24 tk Xft2 fontconfig freetype bzip2 pkgconfig glib2 libffi perl5 perl5.12 gdbm xz xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 libedit sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto tcl xorg-libXScrnSaver xorg-libXext autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-util-macros xorg-scrnsaverproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py-tkinter failed
sudo: python2.4: command not found

Change History (3)

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: python removed
Owner: changed from macports-tickets@… to roel@…
Port: python24 added
Priority: HighNormal
Summary: Unable to activate port python24python24: /opt/local/bin/idle2.4 already exists and does not belong to a registered port

Why does /opt/local/bin/idle2.4 already exist and not belong to a registered port? You can force the activation, as the message says ("sudo port -f activate python24"), but if you cannot explain why parts of python 2.4 were already on your system although MacPorts did not install them, you may have parts of other ports on your system as well, and might encounter the same issue with other ports in the future, so you might be better off correctly uninstalling all of MacPorts, then starting over, installing MacPorts and the ports you want.

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

Could be related to wiki:ProblemHotlist#xmlwf

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

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.