php5 5.2.5 -> 5.2.6 upgrade fails ?

Bill Hernandez ms at mac-specialist.com
Mon Jul 7 14:27:34 PDT 2008


Ryan and the Group,

SUCCESS...

Upgrading failed using clean, upgrade until finally, I tried  
deactivate manually, followed by clean, install and it worked...

I know my stuff is usually lengthy, and I apologize for that, but its  
meant for the non-experts that might run into similar problems.

THANKS very much to all who took the time to respond.

Bill Hernandez
Plano, Texas
# --------------------------------------------------
# THESE DID NOT WORK FOR ME
# --------------------------------------------------
$ sudo port upgrade sqlite3

$ sudo port clean --work sqlite3
$ sudo port -d install sqlite3
---> DEBUG: Executing org.macports.activate (sqlite3)
--->  Activating sqlite3 3.5.9_0
---> Error: Target org.macports.activate returned: Image error:  
Another version of this port (sqlite3 @3.5.8_0) is already active.
---> Warning: the following items did not execute (for sqlite3):  
org.macports.activate
---> Error: Status 1 encountered during processing.

# --------------------------------------------------
# THESE FINALLY SOLVED THE PROBLEM
# --------------------------------------------------
$ sudo port deactivate sqlite3 @3.5.8_0
$ sudo port clean --work sqlite3
$ sudo port -d install sqlite3
$ sudo port installed | grep sqlite
---> php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy (active)
---> sqlite3 @3.5.8_0
---> sqlite3 @3.5.9_0 (active)


$ sudo port deactivate php5 @5.2.5_3+apache2+fastcgi+ipc+macosx 
+mysql5+pcntl+pear+postgresql83+readline+sockets+sqlite+tidy
$ sudo port clean --work php5
$ sudo port install php5 +apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy
$ sudo port installed | grep apache
---> apache2 @2.2.8_0+darwin_9 (active)
---> php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy
---> php5 @5.2.6_1+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy (active)


$ sudo port deactivate apache2 @2.2.8_0+darwin_9
$ sudo port clean --work apache2
$ sudo port install apache2
$ sudo port installed | grep apache
---> apache2 @2.2.8_0+darwin_9
---> apache2 @2.2.9_1+darwin_9 (active)
---> php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy
---> php5 @5.2.6_1+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy (active)


$ sudo port deactivate postgresql83 @8.3.1_0
$ sudo port clean --work postgresql83
$ sudo port install postgresql83
$ sudo port installed | grep postgres
---> php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy
---> php5 @5.2.6_1+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy (active)
---> postgresql83 @8.3.1_0 (active)
---> postgresql83-doc @8.3.1_0
---> postgresql83-doc @8.3.3_0 (active)
---> postgresql83-server @8.3.1_0
---> postgresql83-server @8.3.3_0 (active)


$ sudo port outdated
---> No installed ports are outdated.

SUCCESS...

Bill Hernandez
Plano, Texas




More information about the macports-users mailing list