-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 11:14:33 ~$ sudo port -v install python24 - ---> Installing python24 2.4.4_0+darwin_8 - ---> Activating python24 2.4.4_0+darwin_8 Error: Target com.apple.activate returned: Image error: /Applications/Macports/MacPython 2.4/PythonLauncher.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python24. Warning: the following items did not execute (for python24): com.apple.activate Error: Status 1 encountered during processing. 11:15:09 ~$ sudo port -v uninstall python24 - ---> Uninstalling python24 2.4.4_0+darwin_8 - ---> Uninstall is removing python24 from the port registry. 11:15:28 ~$ sudo port -v clean python24 - ---> Cleaning python24 - ---> Removing workpath for python24 11:15:38 ~$ sudo port -v install python24 - ---> Fetching python24 - ---> Verifying checksum(s) for python24 - ---> Checksumming Python-2.4.4.tar.bz2 - ---> Extracting python24 - ---> Extracting Python-2.4.4.tar.bz2 - ---> Applying patches to python24 [...compile messages snipped...] - ---> Compressing man pages for python24 man1/python.1: 61.0% -- replaced with man1/python.1.gz man1/python.1.gz: changing permissions from 00644 to 00444 - ---> Installing python24 2.4.4_0+darwin_8 - ---> Activating python24 2.4.4_0+darwin_8 Error: Target com.apple.activate returned: Image error: /Applications/Macports/MacPython 2.4/BuildApplet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python24. Warning: the following items did not execute (for python24): com.apple.activate Error: Status 1 encountered during processing. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iEYEARECAAYFAkZEuXYACgkQqMQkOg5fmcs+SACeL5EsOAVWdsdR+XaCvmzJKVYa 2HsAoIhTyz3HPtfW2SDs1e3RxM9KVLV7 =UVmY -----END PGP SIGNATURE-----
On May 11, 2007, at 13:44, Ludwig wrote:
11:14:33 ~$ sudo port -v install python24 - ---> Installing python24 2.4.4_0+darwin_8 - ---> Activating python24 2.4.4_0+darwin_8 Error: Target com.apple.activate returned: Image error: / Applications/Macports/MacPython 2.4/PythonLauncher.app/Contents/ Info.plist already exists and does not belong to a registered port. Unable to activate port python24.
Ok. So you already have an /Applications/Macports/MacPython 2.4/ PythonLauncher.app and MacPorts doesn't know where it came from. Remove it, then try again. Alternately, you can use "sudo port -f install python24" which will force MacPorts to move existing conflicting items out of the way (but then you'll have to clean up those moved items later). Curious that it says "/Applications/Macports"; the correct capitalization of that directory is "MacPorts". Which is actually on your hard drive?
I also encountered this problem, just I have to remove /usr/loca/bin/idle24 and /usr/local/bin/smtpd.py (I installed MacPorts to /usr/local). It's also the case for python25. I guess uninstalling and deactivating old version do not clean things cleanly.
participants (3)
-
CHENG Gao
-
Ludwig
-
Ryan Schmidt