[MacPorts] #35800: python24: /opt/local/bin/idle2.4 already exists and does not belong to a registered port (was: Unable to activate port python24)
MacPorts
noreply at macports.org
Thu Aug 23 18:55:04 PDT 2012
#35800: python24: /opt/local/bin/idle2.4 already exists and does not belong to a
registered port
----------------------------------+-----------------------------------------
Reporter: willpadget@… | Owner: roel@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: python24
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
* priority: High => Normal
* owner: macports-tickets@… => roel@…
* keywords: python =>
* port: => python24
Old description:
> 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
New description:
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
}}}
--
Comment:
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
[http://guide.macports.org/chunked/installing.macports.uninstalling.html
uninstalling all of MacPorts], then starting over, installing MacPorts and
the ports you want.
--
Ticket URL: <https://trac.macports.org/ticket/35800#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list