how to uninstall macport with OS conflict ?

Chris Jones jonesc at hep.phy.cam.ac.uk
Thu May 18 11:08:49 UTC 2017



On 18/05/17 12:06, fx at talgorn.me wrote:
> Hello guys!
> 
> I want to uninstall macport.
> I'm currently running "darwin 16" (OSX Sierra) but my install of port is 
> "darwin 15" based.
> 
> This means I can not run the port command anymore:
> Error: Current platform "darwin 16" does not match expected platform 
> "darwin 15"
> Error: If you upgraded your OS, please follow the migration 
> instructions: https://trac.macports.org/wiki/Migration
> OS platform mismatch
>      while executing
> "mportinit ui_options global_options global_variations"
> Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform 
> mismatch
> 
> I didn't find usefull instructions for this case at 
> https://guide.macports.org/#installing.macports.uninstalling:
> "If you need to uninstall MacPorts, and port is functioning, first ...."
> 
> But nothing about NOT having port functionning :)
> 
> The question is: How can I totally remove macport in this context ?

(carefully) run the 'rm -rf' command the above guide gives.


More information about the macports-users mailing list