#25867: Broken OpenSSL... can't deactivate/switch back --------------------------------------------+------------------------------- Reporter: watsonix@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: openssl, uninstall, deactivate | Port: --------------------------------------------+------------------------------- In trying to install Matplotlib (python plotting util)... i ran into trouble with wxWidgets-python failing. Someone posted a workaround involving installing Mesa which I followed here: http://www.mail-archive.com/macports- users@lists.macosforge.org/msg19905.html Apparently, in the process of doing this I screwed up (by upgrading?) OpenSSL, which breaks a lot of things I use including Git. In attempting to resolve this, I tried to follow the advice from this other MacPorts ticket: https://trac.macports.org/ticket/19122 which specifically recommends: sudo port deactivate openssl sudo port activate openssl@0.9.8k_0 running the first command produces the following error for me. ---> Deactivating openssl @1.0.0a_0 ---> Unable to uninstall/deactivate openssl @1.0.0a_0, the following ports depend on it: ---> curl @7.21.0_0+ssl ---> cyrus-sasl2 @2.1.23_1+kerberos ---> git-core @1.7.1.1_0+doc+svn ---> gnome-vfs @2.24.3_0 ---> neon @0.29.3_1 ---> p5-crypt-ssleay @0.57_0 ---> python26 @2.6.5_2 ---> python26 @2.6.5_3 ---> serf @0.6.1_0 Error: Target org.macports.deactivate returned: Please uninstall the ports that depend on openssl first. Log for openssl is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_openssl_1.0.0a_0/main.log Warning: Failed to execute portfile from registry for openssl @1.0.0a_0 ---> Deactivating openssl ---> Unable to uninstall/deactivate openssl @1.0.0a_0, the following ports depend on it: ---> curl @7.21.0_0+ssl ---> cyrus-sasl2 @2.1.23_1+kerberos ---> git-core @1.7.1.1_0+doc+svn ---> gnome-vfs @2.24.3_0 ---> neon @0.29.3_1 ---> p5-crypt-ssleay @0.57_0 ---> python26 @2.6.5_2 ---> python26 @2.6.5_3 ---> serf @0.6.1_0 Error: port deactivate failed: Please uninstall the ports that depend on openssl first. I am unclear how to proceed to break the least amount of stuff. Please don't tell me i have to uninstall each of these things seperately and then reinstall them! -- Ticket URL: <http://trac.macports.org/ticket/25867> MacPorts <http://www.macports.org/> Ports system for Mac OS