David Evans ha scritto:
Fabrizio Bartolomucci wrote:
  
Thanks, but if I do so it asks me for a version; if I specify one at
random it says it is not installed:
$ sudo ./port activate gtk2
--->  The following versions of gtk2 are currently installed:
--->      gtk2 @2.12.9_0+x11
--->      gtk2 @2.14.3_2+x11
--->      gtk2 @2.14.5_0+x11
Error: port activate failed: Registry error: Please specify the full
version as recorded in the port registry.

$ sudo ./port activate "gtk2 @2.14.5_0+x11"
Error: port activate failed: Registry error: gtk2  2.14.5_0+x11 not
registered as installed.

    
This is because you have more than one version installed. 

To activate the latest version:

sudo port activate gtk2 @2.14.5_0+x11

To remove a previous version (if you don't need it anymore)

sudo port uninstall gtk2 @2.12.9_0+x11

Dave

  
I did both but still I am no longer able to execute the upgrade outdate:

macbook-di-fabrizio-bartolomucci:bin fbartolom$ !529
sudo ./port activate gtk2 @2.14.5_0+x11
--->  Activating gtk2 @2.14.5_0+x11
Error: port activate failed: Image error: gtk2 @2.14.5_0+x11 is already active.
macbook-di-fabrizio-bartolomucci:bin fbartolom$ !531
sudo ./port upgrade outdate
Error: No port outdate found.

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to